Repository navigation
Phase 4: dashboard - #6
Merged
Merged
Conversation
- Přehled replaces the POC home (spec §21): today in a ring against the goal, week / month / total, top apps today with labels and icons (4 + "Ostatní"), one comparison, accuracy row; all numbers live. - Service off: red banner with "Zapnout měření" first (§32); the "Měří se" chip only while the service runs. - Time in app (D19): rows show time in app + m/min with Usage access, scroll time without; a dismissible card leads to a disclosure screen before Android's Usage-access settings. - Pure Kotlin: DistanceFormatter, TimeFormatter (unknown is "—", never "0 min"), DistanceComparisonProvider (spec §22), TopApps; numbers formatted in the strings' locale; Czech plurals in resources. - App labels/icons via PackageManager with one launcher <queries> (ADR-008), pinned by PolicyGuardTest; format/ and insights/ guarded as pure packages. Theme follows Settings.theme. - ADR-028; docs and handoff updated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…-checkout gate Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Phase 4 — Dashboard (PLAN.md Phase 4)
What changed
ui/dashboard/DashboardScreen) replaces the POC home: "Dnes" as the main number inside a progress ring to the daily goal, "z cíle 500 m" / "Cíl … splněn"; this week / month / total; top apps today with label + icon (4 rows + "Ostatní"); at most one comparison card; accuracy row; debug tools in debug builds. All values are live (stored + unflushed).ui/usage/UsageAccessScreen: what is read, stored, not read; works without) → Android settings; returning with access closes it.DistanceFormatter(m/km boundaries decided on rounded values, locale of the strings),TimeFormatter(unknown "—", never "0 min"; pace only ≥ 1 min),DistanceComparisonProvider(spec §22 references; almost / about / more than / N×),TopApps.PackageManagerwith one<queries>launcher intent (ADR-008) — noQUERY_ALL_PACKAGES;PolicyGuardTestallows exactly that query and guardsformat/+insights/as pure packages.Settings.theme.Definition of Done
Gates
GitHub Actions could not start ("recent account payments have failed or your spending limit needs to be increased" — account billing, not code). The CI-equivalent gate ran instead in a clean checkout of
858a985:./gradlew testDebugUnitTest lintDebug assembleDebug processReleaseManifest→ 183 tests, 0 failed; manifest policy ok (debug + release); tools tests OK; wrapper unchanged in this PR. Recorded in handoff.md../gradlew testDebugUnitTest lintDebug assembleDebug assembleRelease(183 tests; lint: 6 pre-existing debug warnings) · tools tests (24) ·check_manifest_policy.pyok for debug and release.Review
<queries>= launcher intent only (pinned by test);AppInfoProviderreads only packages already stored, catches everything, logs nothing; settings open only after the explicit "Povolit"; no network, no export. No findings.🤖 Generated with Claude Code