app: let the settings hide limit windows and give the app an icon (#18)

The developer asked for an option to hide Claude's Fable week and for an
app icon that Windows can use (2026-11-04).

- Core: each provider's settings hold hidden limit windows by window
  series, so a hidden Codex week stays hidden across slot moves (D7, D8).
  Older settings files load with nothing hidden. Hidden windows give no
  pace popups.
- App: Settings → Providers lists each provider's limit windows with a
  Show checkbox, including hidden windows that are absent right now. The
  panel drops hidden windows in one place before it renders and queries
  history; the snapshot and history keep every window (D9).
- App: a usage gauge in the provider colours is the executable's icon,
  the window icon and the tray icon. tools/icon/make_icon.py renders it
  with Pillow, a development-only dependency, into a multi-size ICO and a
  PNG.

Closes #17
This commit was merged in pull request #18.
This commit is contained in:
2026-11-04 19:41:44 +01:00
parent 82fece85f5
commit c02829e2e1
17 changed files with 384 additions and 19 deletions
+2
View File
@@ -120,6 +120,8 @@ a screenshot of each changed view: compiling is not working.
## Tools
- `tools/icon/make_icon.py`: renders the shared app icon with development-only Pillow 11.3.0.
Run `python -B tools/icon/make_icon.py`; test with `python -B tools/icon/test_make_icon.py`.
- `tools/docs/check_docs.py`: the documentation check; its tests are
`python -B tools/docs/test_check_docs.py`.
- `tools/gitea.sh`: calls the Gitea API with the stored git credential or `GITEA_TOKEN`.