Skip to content

feat: dashboard paper filter box + read trend - #47

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/dashboard-filter-trend
Aug 21, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/dashboard-filter-trend

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Two of the four approved dashboard follow-ups (#46):

  • Filter box — a self-contained JS input above the reading queue that live-filters the 231 papers across sections as you type, auto-expanding sections (and the reading history) holding matches and restoring the collapsed state when cleared. No network, no libraries.
  • Read trend — computed from the DONE <date> history against the snapshot's generated stamp (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 emits Title — <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_trend helper; 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)
  • --html rendered on the live checkout and filter behaviour checked by hand

Generated by the PyAutoLabs agent workflow.

- 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
@Jammy2211 Jammy2211 added the pending-release Awaiting coordinated release label Aug 21, 2026
@Jammy2211
Jammy2211 merged commit 04bd047 into main Aug 21, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/dashboard-filter-trend branch August 21, 2026 21:27
@Jammy2211 Jammy2211 removed the pending-release Awaiting coordinated release label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant