feat(android): scroll the Stream tab by date #325

Merged
kfickel merged 3 commits from 324_stream-date-scroller into main 2026-10-24 10:43:56 +02:00
Collaborator

Closes #324.

The Stream handle previously moved by rows, so days with many cards occupied more of its track. It now uses elapsed time from the newest to the oldest visible day and snaps to the nearest day with cards, after search and file filtering.

Port beandroid’s date scroller with an expanding handle, gradient month marks that thin to quarters or years, tappable month jumps, a following date/weekday preview, and month-change haptics. Capture hides while dragging. Conflated targets avoid replaying stale jumps; the handle fades after 1.5 seconds and its narrow edge target remains available, including TalkBack date progress, adjacent-day steps and month actions. Configuration lists retain their row-based scroller.

Add pure date-axis tests and six reviewed light/dark screenshot references for the resting handle, held handle across New Year, and Today preview. Existing screenshot references are unchanged. Update README, R35 and AGENTS.md.

Validation:

  • New date-axis tests failed before implementation and passed afterward.
  • nix build .#streamd-app passed: offline build, native-backed unit tests and screenshot validation.
  • nix flake check passed.
  • Three focused, signed commits; no dependency changes.
Closes #324. The Stream handle previously moved by rows, so days with many cards occupied more of its track. It now uses elapsed time from the newest to the oldest visible day and snaps to the nearest day with cards, after search and file filtering. Port beandroid’s date scroller with an expanding handle, gradient month marks that thin to quarters or years, tappable month jumps, a following date/weekday preview, and month-change haptics. Capture hides while dragging. Conflated targets avoid replaying stale jumps; the handle fades after 1.5 seconds and its narrow edge target remains available, including TalkBack date progress, adjacent-day steps and month actions. Configuration lists retain their row-based scroller. Add pure date-axis tests and six reviewed light/dark screenshot references for the resting handle, held handle across New Year, and Today preview. Existing screenshot references are unchanged. Update README, R35 and AGENTS.md. Validation: - New date-axis tests failed before implementation and passed afterward. - `nix build .#streamd-app` passed: offline build, native-backed unit tests and screenshot validation. - `nix flake check` passed. - Three focused, signed commits; no dependency changes.
docs(android): describe date scrolling in the Stream tab
All checks were successful
Continuous Integration / Conventional Commits (push) Successful in 15s
Continuous Integration / Lint, Check & Test (push) Successful in 1m28s
Continuous Integration / Build Package (push) Successful in 38s
6930684416
kfickel deleted branch 324_stream-date-scroller 2026-10-24 10:43:56 +02:00
Sign in to join this conversation.
No reviewers
No labels
android
cli
epic
planned
tui
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
kfickel/streamd!325
No description provided.