Usage meters: reset time, pace, and a Matrix ping at 90% when away #45

Closed
opened 2026-10-11 23:26:50 -04:00 by jared · 1 comment
Owner
  • Footer meters. Each meter shows when its window resets ("↻ 14:30" for 5h, "↻ Thu" for the week). If the pace so far (a straight line from the window's start) would use the window up before it resets, the meter shows "⚠ full ~13:50" in amber instead. The tooltip spells this out.
  • Matrix ping. The status line starts devdesk-notify-matrix --usage when the 5-hour window passes DEVDESK_USAGE_WARN (default 90%). It posts once per window, and only when no client is attached to any session. A browser tab shows its own toast.
- **Footer meters.** Each meter shows when its window resets ("↻ 14:30" for 5h, "↻ Thu" for the week). If the pace so far (a straight line from the window's start) would use the window up before it resets, the meter shows "⚠ full ~13:50" in amber instead. The tooltip spells this out. - **Matrix ping.** The status line starts `devdesk-notify-matrix --usage` when the 5-hour window passes `DEVDESK_USAGE_WARN` (default 90%). It posts once per window, and only when no client is attached to any session. A browser tab shows its own toast.
jared closed this issue 2026-10-11 23:28:13 -04:00
Author
Owner

v0.10.1 change: "away" for the usage ping now means no DevDesk tab has been in view for about 2 minutes (presence markers), the same rule #50 uses. It used to mean no attached client, so a forgotten background tab silenced the ping. v0.10.0 never published because this test failed in CI.

v0.10.1 change: "away" for the usage ping now means no DevDesk tab has been in view for about 2 minutes (presence markers), the same rule #50 uses. It used to mean no attached client, so a forgotten background tab silenced the ping. v0.10.0 never published because this test failed in CI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/devdesk#45