feat: dashboard paper filter box + read trend - #47
Merged
Conversation
- A self-contained JS filter input above the reading queue: live-filters paper rows across sections, auto-expands sections (and the reading history) holding matches, restores the collapsed state when cleared. - Read trend from the DONE history, computed against the snapshot's generated stamp (pure, testable): 7/30-day counts in the queue header, an 8-week bar strip when there are reads, and a one-line mirror in the markdown render. Hidden until the history has at least one DONE paper. The digest-side arXiv-ref item from #46 needed no change — the append block already emits 'Title — <arXiv id>' (shipped with #35). Closes #46. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K21CJX9TAgULDo1fFJtonc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two of the four approved dashboard follow-ups (#46):
DONE <date>history against the snapshot'sgeneratedstamp (pure, testable): 7/30-day read counts in the queue header, an 8-week bar strip once reads exist, and a one-line mirror in the markdown render. Hidden until the history has at least one DONE paper, so the header stays clean today.The third item on #46 (digest arXiv refs) needed no change —
arxiv_papers.yml's append block already emitsTitle — <arXiv id>(shipped with #35); current bare-title entries simply predate it. The fourth approved item (claude-action filing of queue-intake/cite issues) is a separate task.API Changes
None — internal changes only (board renderers + a pure
_read_trendhelper; badge and README strip byte-identical).Test Plan
pytest tests/— 27 passed (trend pinned against a fixed generated date incl. week bucketing; filter markup pinned; badge/strip unchanged)--htmlrendered on the live checkout and filter behaviour checked by handGenerated by the PyAutoLabs agent workflow.