Add Dashboard feature, Stats improvements, and bug fixes#63
Merged
Conversation
- Beta banner: update text to "Feedback is encouraged ♥" - Settings: expose Track Against Time for all category types including system categories (Flow, Symptoms) - Settings: replace Add Value button with Save button; add FAB for default categories - Home Day View: show custom-renamed Flow/Symptoms category labels - Stats month picker: inline ← → navigation instead of dialog - Stats over-time: default to day-by-day view for specific months - Stats scatter: force X/Y axes to start at 0 for non-AllTime/YTD ranges - Stats scatter: add Time view (time on X, value on Y) as default for single numeric category - Stats: remember chart type when switching between categories - Stats: add Trends chart (frequency/count bar chart for any category) - Stats: Dashboard toggle card; pin current view to Dashboard - Dashboard: new screen with pinned stats management (add/remove pins, navigate to Stats) - Navigation: Dashboard tab appears as middle bottom-nav item when enabled - Moved Symptom Trends from History to Stats as generic Trends chart type - Preferences: add dashboardEnabled and pinnedStats fields https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2
…ersionCode 46) Main used versionCode 45 for 0.14.0-beta.2; bumped ours to 46. Both changelog entries preserved per versioning policy. https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2
… call - StatsScreen: Icons.filled.Switch does not exist; removed the import (Switch composable import from material3 is retained) - StatsViewModel: first(flow) is not the correct call site; changed to flow.first() https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2
Each pinned card on the Dashboard now renders the actual chart composable (PieChart, BarChart, TrendsChart, etc.) inline at 200 dp height, with a delete button to remove the pin. Introduces ChartDataComputer.kt with shared computation utilities extracted from StatsViewModel, and DashboardViewModel to load chart data for each pin reactively. Adds Screen.Dashboard to navigation and wires a bottom-nav Dashboard tab in MainActivity. https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2
…ersionCode 47) Main used versionCode 46 for 0.14.0-beta.3 (FAB polish); bumped ours to 47. Both changelog entries preserved per versioning policy. https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2
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.
https://claude.ai/code/session_015wkxz9XkYRHt2PRBNQp7V2