app: follow-ups from the PR #6 review #7

Closed
opened 2026-10-14 23:05:04 +02:00 by schmidt.florian · 2 comments
Owner

Non-blocking notes from the agent review of PR #6 (#6 (comment)), to fix after it merges:

  • Forecast times show only weekday and time; one 6–7 days out reads as today. Use one shared formatter with the date when it is not today (Display.Projection is now only used by tests).
  • "Last 24 h" also labels 5 h windows whose data may span only 3 h; name the real span.
  • In the 24 h range, limit history stretches to a reset up to 7 days ahead; week samples fill an eighth of the width.
  • The day chart's tooltip prints "cumulative %" without a number for future days.
  • The previous week's outline bars pair by position, not by date; a window that starts later compares different weekdays.
  • Settings reuses control names (Enabled, PopupsEnabled, Ahead, Behind) for Claude and Codex.
  • The custom toggle and checkbox styles show no keyboard focus; the checkbox style adds an event handler each time it is applied.
  • Tests for the new duration format, the refresh-in-progress guard, settings Cancel/Quit/Open folder, and the status chip labels.
  • Core AGENTS.md should say that a reset moving within 15 minutes counts as unchanged when samples are stored.
  • With no limit samples at all, hide the empty "Limit history" heading (seen on Linux).
Non-blocking notes from the agent review of PR #6 (https://git.finalfactory.de/FinalFactory/FinalToken/pulls/6#issuecomment-17843), to fix after it merges: - [x] Forecast times show only weekday and time; one 6–7 days out reads as today. Use one shared formatter with the date when it is not today (`Display.Projection` is now only used by tests). - [x] "Last 24 h" also labels 5 h windows whose data may span only 3 h; name the real span. - [x] In the 24 h range, limit history stretches to a reset up to 7 days ahead; week samples fill an eighth of the width. - [x] The day chart's tooltip prints "cumulative %" without a number for future days. - [x] The previous week's outline bars pair by position, not by date; a window that starts later compares different weekdays. - [x] Settings reuses control names (`Enabled`, `PopupsEnabled`, `Ahead`, `Behind`) for Claude and Codex. - [x] The custom toggle and checkbox styles show no keyboard focus; the checkbox style adds an event handler each time it is applied. - [x] Tests for the new duration format, the refresh-in-progress guard, settings Cancel/Quit/Open folder, and the status chip labels. - [x] Core `AGENTS.md` should say that a reset moving within 15 minutes counts as unchanged when samples are stored. - [x] With no limit samples at all, hide the empty "Limit history" heading (seen on Linux).
schmidt.florian added the type/feature label 2026-10-14 23:05:04 +02:00
schmidt.florian self-assigned this 2026-10-14 23:05:04 +02:00
Author
Owner

Item 5 (previous-week bars paired by position): PR #6 keeps pairing by day of the window (day 1 with day 1), not by weekday. The previous window was used up over its own 7 days, so comparing the same day of the window is the useful view when windows start at different times, as with early Codex resets. The chart legend says so ("faint: previous window, same day of the window"). The other items are fixed in PR #6.

Item 5 (previous-week bars paired by position): PR #6 keeps pairing by **day of the window** (day 1 with day 1), not by weekday. The previous window was used up over its own 7 days, so comparing the same day of the window is the useful view when windows start at different times, as with early Codex resets. The chart legend says so ("faint: previous window, same day of the window"). The other items are fixed in PR #6.
Author
Owner

All items are addressed in PR #6 (merges as d477321). Item 5 keeps the day-of-window pairing, as explained above; the empty "Limit history" heading item became the hidden "Window charts" heading.

All items are addressed in PR #6 (merges as `d477321`). Item 5 keeps the day-of-window pairing, as explained above; the empty "Limit history" heading item became the hidden "Window charts" heading.
Sign in to join this conversation.