Re-land Stats chart-first redesign (dropped from #118)#123
Merged
Conversation
mapgie
pushed a commit
that referenced
this pull request
Jun 6, 2026
…collapsible categories
- Move the chart (with its time range controls) to the top of the page so
the data is the headline, not the last thing on screen.
- Replace the large Dashboard enable/disable card with an icon toggle in
the top app bar. State is shown via a filled vs outlined icon and an
accessible contentDescription, freeing vertical space on the page.
- Make the Categories panel collapsible: tap the header to fold it away;
collapsed it shows a one-line summary of the selected categories. Starts
expanded. The chart-type and view controls now sit below it so collapsing
the panel brings them up toward the chart.
- Update the empty-state copy ("below" instead of "above") to match the new
ordering.
Bump to 0.42.0-beta.1.
31b8f81 to
8b819b1
Compare
This was referenced Jun 10, 2026
Closed
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.
Re-lands the Stats chart-first redesign
The redesign was originally dropped from #118 (its first commit, the "View" switcher overlap fix, merged before the redesign commit reached the branch). This PR brings it onto current
main, rebased past #119/#120/#121/#125 and the day-sheet grouping (#124).What changes
contentDescription, satisfying the "state via shape/label, not colour alone" rule.New layout order: chart card → Categories (collapsible) → chart type → view switcher.
Design choices (confirmed earlier): dashboard control as a top-bar icon toggle; categories panel manual-collapse, default expanded.
Versioning
MINOR bump →
0.45.0-beta.1(versionCode 97), rebased on top of0.44.1. CHANGELOG entry added on top; all existing entries preserved.a11y_check.pypasses (the new collapsible header carriesrole = Role.Button+stateDescription).https://claude.ai/code/session_01NYSd5Yw37hbzYkFFJb3HjH