Skip to content

Phase 9: Statistiky per period with apps, daily limit in colour (v0.2.0) - #12

Merged
hupcus merged 5 commits into
mainfrom
phase-9-ux-limit
Sep 25, 2026
Merged

hupcus merged 5 commits into
mainfrom
phase-9-ux-limit

Conversation

@hupcus

@hupcus hupcus commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Phase 9 — Statistiky per day / week / month with the app breakdown, and a daily limit in colour instead of a goal (ADR-036, v0.2.0).

What changes

  • Přehled (no bottom bar, Nastavení behind a gear): Dnes card green / orange (from 70 %) / red against the daily limit, always also in words; Tento týden / Tento měsíc with average per day; the three apps scrolled most today.
  • Statistiky replaces Historie + Aplikace: Den / Týden / Měsíc with ‹ ›, a bar per day in its limit colour with a dashed limit line (tap → that day), every app by distance with its time in app on the same row — "888 m (4 h 2 min)".
  • App detail per period (+ share of the distance). Limit presets, custom, or Bez limitu; the record notice is gone ("not a competition"). Durations roll over to days.
  • Same DataStore key → a goal set in 0.1.0 carries over as the limit. versionCode 2, versionName 0.2.0.

DoD

  • Statistiky replace Historie and Aplikace; per-app breakdown with time on the same row
  • Limit with colour and words, Bez limitu; record notice removed
  • Update from 0.1.0 keeps data and the goal as the limit (emulator: 0.1.0 debug with 1 km + 32 seeded days → 0.2.0)
  • Screenshots cs/en, light/dark, UNDER/NEAR/OVER/none, 360 dp — reviewed by a subagent, no defects
  • ADR-036, README, architecture, PLAN, handoff (exit report, V10)
  • /topshit over the cumulative diff (3 fixes in 4b355dc), Stage 2 functional + security (no findings)

Gates (clean checkout of 4b355dc — Actions still blocked by billing)

  • ./gradlew testDebugUnitTest lintDebug assembleDebug assembleRelease — 278 tests, 0 failures; lint 0 errors (6 known warnings in debug TestListScreen)
  • tools/check_manifest_policy.py debug + release — ok; tools/check_release_apk.py — clean
  • python3 -m unittest discover -s tools -p 'test_*.py' — 44 OK

Not verified here: behaviour on the two phones over days → handoff V10.

🤖 Generated with Claude Code

hupcus and others added 4 commits September 25, 2026 21:02
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…it in colour

Přehled shows today against a daily limit (green / orange from 70 % / red), this week and this
month with their average per day, and the three apps scrolled most today. Tapping a period opens
Statistiky: Den / Týden / Měsíc with ‹ ›, a bar per day in its limit colour with the limit as a
dashed line, and every app sorted by distance with its time in app on the same row. It replaces
the Historie and Aplikace tabs; the bottom bar is gone and Nastavení sits behind a gear.

The goal becomes a limit (same DataStore key, 0 = no limit); the record notice is removed.
Durations roll over to days (1 d 1 h 1 min). versionCode 2, versionName 0.2.0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… without a limit

Review of the Phase 9 diff: English showed Czech-style dates ("21.–27. 9."), the dashboard
flashed "no scrolling yet" and a limit sentence for "—" before the data loaded, and the limit
notification switch did nothing without a limit and did not say so.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@hupcus
hupcus merged commit 5660351 into main Sep 25, 2026
1 check failed
@hupcus
hupcus deleted the phase-9-ux-limit branch September 25, 2026 19:21
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.

1 participant