Show the cycle-length history as a chart, not a column of numbers #59
Labels
No Label
P0
P1
P2
release-blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Privacy-Period-Tracker#59
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is true now.
RecentCyclesCardinInsightsScreen.ktprintsCycleInsights.recentCycleLengthsas a text column. The Insights screen's whole job is to show what the app has learned, and a list of numbers is the least legible form of the one pattern the user actually wants to see.What to do. A horizontal bar per cycle, drawn in Compose with no chart library, with the typical range shaded behind them so 'this one was unusual for me' is visible at a glance. The bars annotate the numbers rather than replacing them.
Traps. §43 applies: a value label on every bar, nothing conveyed by colour alone, and each bar exposing its own content description — a chart that reads to a screen reader as an unlabelled row of shapes carries none of its information. Render nothing below
CycleInsights.MINIMUM_FOR_AVERAGE; a chart of one bar overstates what is known, which is the same mistake the accuracy card already refuses to make.Verify: a UI test asserting each bar exposes an 'N days' content description and that the card renders nothing below the minimum cycle count, plus previews in both themes per docs/design/README.md.