codeburn/windows
Resham Joshi fe901efc02
feat(windows): quota run-out forecast and crossing alerts in the tray (#1880)
* feat(windows): quota run-out forecast and crossing notices

Pace math and crossing state ported from the menubar. Readings stay in
memory per window for six hours; the forecast uses only the current
cycle, drops readings before the last fall, looks back 60 minutes on
short windows and six hours on long ones, and speaks only after two
readings ten minutes apart with a rise of two points. Notices fire at
the chosen threshold, at 100%, and once when the pace runs the window
out before it resets, deduped per cycle with the reset bucketed to the
minute.

* feat(windows): show the quota forecast and post crossing toasts

Every fresh quota answer records the readings, writes the forecast into
the windows it watches and posts a toast through the notification
plugin. The hover card shows "out 15:40" in place of the reset
countdown while a forecast exists, the plan rows caption it ("hits 100%
in 3h" or "lasts until reset") instead of the whole-window ETA, and
Settings gets the alert switch, default on, with a 70/80/90 threshold.
2026-11-05 18:02:04 +01:00
..
dist windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Scripts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): quota run-out forecast and crossing alerts in the tray (#1880) 2026-11-05 18:02:04 +01:00
src-tauri feat(windows): quota run-out forecast and crossing alerts in the tray (#1880) 2026-11-05 18:02:04 +01:00
.gitignore windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
DEVELOPMENT.md feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
index.html windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
package-lock.json chore(deps): bump Tauri to 2.12 in /windows and /windows/src-tauri (#1829) 2026-11-02 20:09:12 +01:00
package.json chore(deps): bump Tauri to 2.12 in /windows and /windows/src-tauri (#1829) 2026-11-02 20:09:12 +01:00
tokens.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
tsconfig.json windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
vite.config.ts windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00