mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
The tray app has a settings window of its own, and nobody should have to find it to change how the thing in their notification area behaves. Two panes join the Settings rail: Menu bar and Capacity Dock. Only the settings the desktop app does not already have are there. Currency, the period, the scope and the daily budget are shared through the CLI config and already live in General, and repeating them would be two controls for one value. So Menu bar carries the tray figure's metric and period, the accent, whether today's figure gets its own tray icon, the two refresh cadences, the terminal and launch at login; Capacity Dock carries show, resting provider, size, appearance, gauge shape and the per-provider switches. Each pane appears only while its switch in the sidebar corner is on: there is nothing to configure about a tray app that is not running, and the rail is one of its windows. A pane whose switch has just gone off cannot stay on screen either, so the rail falls back to General. Two things the rail's own rules are worth restating here. The last connected provider cannot be switched off, because the rail must never have nothing to show. And a provider stays in the list after its connection drops, so one that has stopped working can still be taken off. Every control renders what came back rather than what it sent: the main process is what decides the value that lands, and it repairs one it would not be able to read later. |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| sections | ||
| styles | ||
| test | ||
| App.test.tsx | ||
| App.tsx | ||
| index.html | ||
| main.tsx | ||
| vite-env.d.ts | ||