|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to TimeLens are documented here. |
| 4 | +Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## [0.1.0][0.1.0] |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +#### Screen Time Tracking |
| 13 | + |
| 14 | +- Automatic foreground window monitoring (Windows via Win32 API; macOS via AppleScript) |
| 15 | +- Per-app daily usage totals stored in SQLite |
| 16 | +- Hourly distribution breakdown (0–23 h area chart) |
| 17 | +- 7-day usage trend |
| 18 | +- 500 ms debounce to suppress noise from rapid app switches |
| 19 | +- Pause / resume tracking from tray menu or Settings |
| 20 | + |
| 21 | +#### Dashboard |
| 22 | + |
| 23 | +- Today overview cards: total time, current app, most-used app |
| 24 | +- Top-8 apps horizontal bar chart (Recharts) |
| 25 | +- 24-hour area chart with current-hour highlight |
| 26 | +- Full ranked app list with progress bars |
| 27 | +- Date navigator (prev / next day) |
| 28 | + |
| 29 | +#### Floating Widgets |
| 30 | + |
| 31 | +- **Clock Widget** — digital (12/24 h toggle) and analog display; draggable; frameless transparent window |
| 32 | +- **Todo Widget** — quick-add input, checkbox toggle, @dnd-kit drag-reorder, per-item delete, clear completed |
| 33 | +- **Timer Widget** — Pomodoro (25 min work / 5 min break with auto-phase switch), custom countdown, stopwatch; animated SVG progress ring |
| 34 | +- Widget position/size persisted to DB; restored on next launch |
| 35 | +- Focus-based always-on-top: widget rises to front on focus, recedes on blur |
| 36 | + |
| 37 | +#### App Infrastructure |
| 38 | + |
| 39 | +- Tauri 2.x multi-window with capability manifests |
| 40 | +- System tray with Show, New Clock / Todo / Timer, Pause, Quit actions |
| 41 | +- Main window hides to tray on close (no accidental data loss) |
| 42 | +- Zustand stores with localStorage persistence for settings |
| 43 | +- i18next with `en` and `zh-CN` locale files; runtime language switching |
| 44 | +- GitHub Actions CI (lint + typecheck + `cargo check`) on push/PR |
| 45 | +- GitHub Actions release workflow: builds Windows `.msi`/`.exe` + macOS universal `.dmg` on `v*` tags |
| 46 | + |
| 47 | +[0.1.0]: https://github.com/PythonSmall-Q/TimeLens/releases/tag/v0.1.0 |
0 commit comments