mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The period strip stopped at "All", which the CLI reads as six months, so there was no way to ask for the whole history and no way to ask about one particular day. The mac offers six segments plus a calendar button, and the CLI has taken --day and --days all along. The strip now carries the mac's labels (Today, 7D, 30D, Month, 6M, Life), which are short for a reason: six segments and the button share one 360 px row. The picker collects days into a pending set and only applies them on Done, so choosing five days costs one CLI run rather than five, and the caption reads "2 days (2026-08-31 .. 2026-09-01)" as it does on the mac. A picked day overrides the period without clearing it, so dismissing the picker returns to whatever segment was live. The payload cache is now keyed on the whole selection rather than on period and provider, since two selections that send different arguments to the CLI are different answers. Rust validates the dates itself: is_safe_arg would happily pass "2026" or a bare word to --day. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||