Skip to content

Palettes, new controls, motion, 'In other terms' and verified upgrades - #3

Merged
H4ch1Net merged 4 commits into
mainfrom
ccr-4819d01f-uizbpv
Oct 5, 2026
Merged

H4ch1Net merged 4 commits into
mainfrom
ccr-4819d01f-uizbpv

Conversation

@H4ch1Net

@H4ch1Net H4ch1Net commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Themes

  • Six palettes: Graphite, Carbon (true black) and Midnight for dark mode; Paper, Porcelain and Sage for light mode.
  • Each mode keeps its own choice, so System switches between your two picks.
  • Settings shows the palettes as painted mini-window previews.
  • Accents are re-stepped per palette. Across all 48 palette × accent pairs, small text reads at ≥ 4.5:1, marks at ≥ 3:1 and accent text at ≥ 4.5:1. tests/test_theme.py checks every pair.
  • Muted text on the existing Graphite and Paper palettes was below 4.5:1 and is fixed.

Controls

  • Animated check box, used for the per-type notification switches (daily limits, streaks, updates).
  • Ruler slider with a fader cap for the idle timeout and the per-app daily limit.
  • The toggle knob springs into place and stretches while pressed.

Motion

  • Odometer readouts: changed digits roll into place on stat tiles, the session dial, rewards and calendar figures.
  • A ring of ticks bursts on claims, level-ups and new buildings.
  • Bars and calendar days fade in and out of hover; bars also get a cursor column.

In other terms

  • A dashboard card retells today, this week or all time as Everest summit days, Apollo 11 trips, ISS laps, marathons, novels, Voyager kilometres and more.
  • Each comparison shows the basis for its number. A Shuffle button shows others.
  • App pages retell their all-time total.

Upgrades from older versions

  • Backup: before migrating, the database is copied to data-backup-schema<N>-<date>.sqlite next to it.
  • Atomic migration: all migrations run in one transaction, so an upgrade either completes or changes nothing. A failed upgrade shows a message instead of crashing.
  • Newer databases: a database written by a newer version opens untouched.
  • Startup entries: entries left by v1.0 (no --minimized, or pointing at an old copy) are moved to the current build on first start.
  • Shutdown: the tracker commits the live session when Windows or an installer asks the app to close.
  • Installer: removes the previous build's runtime before installing, so libraries from different versions never mix. Data in %APPDATA% is untouched. AppId and install folder still match v1.0.
  • Fixture: tests/fixtures/v1_0_2.sql is a database written by v1.0.2's own code, regenerated with tests/fixtures/make_v1_fixture.py.
  • Upgrade tests: tests/test_upgrade.py upgrades that fixture and verifies:
    • apps, finished sessions, opens, clicks, rewards, the village and settings all survive;
    • daily totals keep everything v1.0 counted, and recover time v1.0 dropped (idle-ended and cross-midnight sessions);
    • a running streak carries over;
    • tracking continues on the same app rows, and every page opens;
    • a second start changes nothing, and a failed migration rolls back;
    • v1.0's own updater logic accepts this release's tag and installer;
    • the installer upgrades in place.
  • README: a new "Upgrading" section covers moving from 1.0.x (including the feed URL v1.0 needs in order to find updates), from 1.1+ and from portable builds.

Fixes found along the way

  • "Claim all" could silently do nothing if a background refresh landed mid-animation. Claims and removals now change the data before animating, and a collapse always reports back.
  • Long pending-reward amounts widened the Rewards page past the minimum window. They now wrap.

Docs

  • New screenshots: the palette gallery, In other terms, and a montage of all six palettes.
  • New demo GIF.
  • README updated to match.

Testing

  • ruff check . and ruff format --check . are clean.
  • pytest passes 126 tests, including the upgrade suite above.
  • python -m apptrackr --self-test passes.
  • Every palette was rendered across the dashboard, calendar, rewards, village, settings and app pages, and inspected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA

claude added 3 commits October 5, 2026 22:44
…robust

- Six palettes (Graphite, Carbon, Midnight, Paper, Porcelain, Sage), one per
  mode, picked from painted previews in Settings. Accents are re-stepped per
  palette; small text, marks and accent text meet contrast on every combination
  (tests/test_theme.py checks all 48).
- Muted text raised to 4.5:1 on the existing palettes.
- Animated CheckBox (per-type notifications) and TickSlider (idle timeout,
  daily limit). The toggle knob springs and stretches while pressed.
- Claims and earning-app removal change data before animating, and collapse
  always reports back, so a background refresh can no longer swallow a claim.
- Pending reward amounts wrap instead of widening the Rewards page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
…rms'

- Odometer readouts: changed digits roll into place on stat tiles, the
  session dial, rewards and calendar figures.
- A ring of ticks bursts from claims, level-ups and new buildings.
- Bars and calendar days ease in and out of hover; bars get a cursor column.
- 'In other terms' on the dashboard retells today, this week or all time as
  Everest summit days, Apollo 11 trips, ISS laps, marathons, novels and more,
  each with the basis for its number. App pages retell their all-time total.
- New line icons for the comparisons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
- Screenshots add the palette gallery, 'In other terms' and a montage of all
  six palettes; the demo GIF tours the shuffle, the limit fader, a claim
  burst and palette switches (20 fps, 112 colours, 5.9 MB).
- README covers palettes, contrast guarantees, new motion and comparisons.
- Settings shows the real animation preference, not a test override.
- The dashboard caches the all-time total before today instead of summing
  history every second.
- Tests for the slider's commit rules, per-type notifications, palette
  tiles and the comparisons card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Copilot AI balanced review requested due to automatic review settings October 5, 2026 23:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

- Before migrating, the database is copied to data-backup-schema<N>-<date>.sqlite,
  and all migrations run in one transaction, so an upgrade completes or changes
  nothing. A failed upgrade shows a message instead of a crash.
- A database from a newer version opens untouched (no backup, no downgrade).
- Startup entries left by v1.0 (no --minimized, or pointing at an old copy) are
  moved to the current build on start.
- The tracker commits the live session when Windows or an installer asks the
  app to close.
- The installer removes the previous build's runtime before copying the new one,
  so libraries from different versions never mix. Data in %APPDATA% is untouched.
- tests/fixtures/v1_0_2.sql is a database written by v1.0.2's own code
  (regenerate with tests/fixtures/make_v1_fixture.py). tests/test_upgrade.py
  upgrades it and checks apps, sessions, totals, opens, clicks, rewards, the
  village and settings survive, tracking continues, every page opens, a failed
  migration rolls back, v1.0's updater accepts this release and the installer
  upgrades in place.
- README explains upgrading from 1.0.x, 1.1+ and portable builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
@H4ch1Net H4ch1Net changed the title Palettes, new controls, satisfying motion and 'In other terms' Palettes, new controls, motion, 'In other terms' and verified upgrades Oct 5, 2026
@H4ch1Net
H4ch1Net merged commit a764b68 into main Oct 5, 2026
5 checks passed
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.

3 participants