Skip to content

Flow slider mode for stats + dashboard duplicate pin prevention (v0.18.0-beta.1)#71

Merged
mapgie merged 1 commit into
mainfrom
claude/flow-slider-dashboard-stats-dfAj9
May 31, 2026
Merged

Flow slider mode for stats + dashboard duplicate pin prevention (v0.18.0-beta.1)#71
mapgie merged 1 commit into
mainfrom
claude/flow-slider-dashboard-stats-dfAj9

Conversation

@mapgie
Copy link
Copy Markdown
Owner

@mapgie mapgie commented May 31, 2026

Flow: the system Flow category can now be switched to a 1-4 numeric slider
(Spotting/Light/Medium/Heavy) via Settings > Tracking Categories > Flow.
Toggle appears in both chip-mode and slider-mode category settings screens.
When slider mode is on, each period save writes a numeric value (1-4) to
TrackingLog instead of a display label, enabling Numeric Average, Time Scatter,
and Distribution chart types in Stats. Switching back to chip mode is instant.

Dashboard: pinCurrentView() now uses a deterministic hash ID derived from
categoryId1, categoryId2, chartType, and timeRangeType. Before adding, it
checks existing pins for an identical combination and emits PinResult.DUPLICATE
instead of inserting. StatsScreen surfaces the result via a Snackbar
("Pinned to dashboard" or "Already pinned to dashboard").

https://claude.ai/code/session_01DHn62xot3eTgSMg1J577Ka

…8.0-beta.1)

Flow: the system Flow category can now be switched to a 1-4 numeric slider
(Spotting/Light/Medium/Heavy) via Settings > Tracking Categories > Flow.
Toggle appears in both chip-mode and slider-mode category settings screens.
When slider mode is on, each period save writes a numeric value (1-4) to
TrackingLog instead of a display label, enabling Numeric Average, Time Scatter,
and Distribution chart types in Stats. Switching back to chip mode is instant.

Dashboard: pinCurrentView() now uses a deterministic hash ID derived from
categoryId1, categoryId2, chartType, and timeRangeType. Before adding, it
checks existing pins for an identical combination and emits PinResult.DUPLICATE
instead of inserting. StatsScreen surfaces the result via a Snackbar
("Pinned to dashboard" or "Already pinned to dashboard").

https://claude.ai/code/session_01DHn62xot3eTgSMg1J577Ka
@mapgie mapgie merged commit 310163b into main May 31, 2026
4 checks passed
@mapgie mapgie deleted the claude/flow-slider-dashboard-stats-dfAj9 branch May 31, 2026 17:51
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.

2 participants