Repository navigation
Revamp AppTrackr: tracking, UI, motion and visual identity - #2
Merged
Merged
Conversation
Tracking and data - Commit focus time in 30 s checkpoints so totals are live and a crash loses at most one interval; split time at local midnight. - Close idle and locked sessions at the last input instead of discarding the whole session (v1.0 dropped every session that ended in idle). - Count launches per executable transition instead of per PID and stop counting every focus switch as an "open". - Platform layer with Win32 (typed ctypes, UWP host resolution, tick wrap) plus null and demo implementations so the UI runs anywhere. - Schema migrations via user_version; v1 migration recovers time lost to the idle bug, adds exclusions and daily limits. - Backup and restore through the SQLite backup API with validation. Features - Per-app daily limits with notifications, app exclusion with undo, rename, timed pause, launch-at-login that starts in the tray, single instance, rotating log file, --demo and --data-dir options. - Rewards: wire up building bonuses, resource caps, streak tiers, credits and a market; grouped claiming and milestone progress. UI - New design system (dark, light, system themes and accent presets) with Lucide icons, live theme switching and keyboard shortcuts. - Rebuilt dashboard, calendar heatmap, apps list, app detail with sessions, rewards, village and auto-saving settings. Tooling - pytest suite (data, tracker, rewards, updater, offscreen UI), ruff, CI on Windows and Linux, versioned release build with a bundle self-test, generated icon and screenshot scripts, rewritten README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
- Use absolute imports in __main__ so the PyInstaller entry script runs. - Close the session at the last sample after a sleep or suspend gap instead of crediting the whole gap to the focused app. - End the previous session at the last input when focus changes after 30 s without input (popups while away). - Read the current app without the tracker lock in the mouse hook. - Don't cache an unresolved UWP frame host as the foreground app. - Keep a timed pause timed across a restore. - Merge v1.0 rows for helper executables into their app during the migration. - Escape backup paths when opening them read-only. - Single instance via a lock file in the data folder; the socket is keyed by data folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
- ui/motion.py: Fluent 2 duration and easing tokens, tween/fade/stagger/ collapse/flash helpers and a pulse dot. Follows Windows' Animation effects setting, with an Animations switch in Settings; when off, every helper applies the end state immediately. - Navigation: fade-through page transitions, a gliding sidebar indicator, a sliding segmented-control thumb, window fade-in and a crossfade when the theme changes. - Data: KPI counters, staggered bar growth and morphing between data sets, heatmap entrance wave and gliding selection ring, share, usage, progress and level bars that ease between values. - Feedback: staggered rows after filter changes, collapse when items are removed or claimed, flashes on builds, claims and level-ups, a live pulse while tracking, row hover fades and a sliding toast. - Background refreshes morph values in place instead of replaying entrances. - Tests for the motion helpers and a full UI run with animations on; screenshots render with motion off; scripts/record_demo.py records the README animation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Replace the neon look with one consistent visual system: - Graphite (dark) and Paper (light) warm neutral themes with a single signal accent. Recorded history is drawn in neutral ink, the accent marks only what is live, selected or current. - Bundle Instrument Sans (interface, tabular figures) and Martian Mono (engraved labels), both OFL 1.1. - Numbered panels, page kickers, a graph-paper canvas, hairline rules, 6 px panels and 4 px controls without shadows or glows. - Charts: solid hairline grids, thin bars on tick-mark rulers, compact axis labels, a quantized calendar ramp with a legend, a chronograph session dial and a wrapping category legend. - Validated categorical palette; Tools moves from orange to bronze so no category reads as the signal color. - New dial logo with a simplified mark for 16-32 px, regenerated .ico. - Line-art illustrations for empty states, a painted tracking module in the sidebar and keycap shortcut hints. - Two-column rows stack and the village grid drops columns when the window is too narrow, so no page clips at the minimum size. - README banner (dark and light), social preview, screenshots and demo GIF regenerated; scripts/make_art.py draws the art from theme tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
The path label did not wrap and paths have no break points, so a long data folder (as on the Windows CI runner) set the page's minimum width past the minimum window size. It now elides in the middle with the full path in the tooltip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
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.
Brings the full revamp into main.
Summary
ui/motion.py. It follows Windows Animation effects and has a Settings override.scripts/make_art.py.Testing
ruff check .andruff format --check .are clean.pytestpasses 52 tests, including a new check that every page fits the minimum window width.python -m apptrackr --self-testpasses.Note
docs/social-preview.pngmust be uploaded by hand under repository Settings > Social preview.🤖 Generated with Claude Code
https://claude.ai/code/session_01A59Ve6VGuz6nxXu3QEXpeA
Generated by Claude Code