app: show the reset history of each long limit window
A Resets section after the window charts gives, per provider, totals for the listed instances, a timeline with each burn-up and the skipped time, early resets by local hour and weekday, and a sortable instance table with a detailed tooltip per row (D8, D12). The breakdown and reset tables share their sorting, header and expander code. Refs #14
This commit is contained in:
@@ -13,7 +13,8 @@ Run `dotnet test --project tests/FinalToken.App.Tests -c Release` from the root.
|
||||
## Panel and visual rules
|
||||
|
||||
- Keep this order: fixed 56 px header; Limits; Week use per day; Tokens (totals, hourly and daily
|
||||
charts); Window charts (current-instance burn-up and past peaks); Breakdown by model and project; collapsed Diagnostics, hidden when empty.
|
||||
charts); Window charts (current-instance burn-up and past peaks); Resets (one full-width card per
|
||||
provider); Breakdown by model and project; collapsed Diagnostics, hidden when empty.
|
||||
Preserve scroll offset on snapshots. Sections have two columns from 1200 px content width;
|
||||
limit tiles have three from 1400 px. Cards align at the top and size to their content.
|
||||
- Follow the OS light/dark theme through `Ui.Theme` and `Ui.NeutralTheme`. Selection never uses
|
||||
@@ -50,7 +51,8 @@ Run `dotnet test --project tests/FinalToken.App.Tests -c Release` from the root.
|
||||
have a 2 px surface gap; below 6 px width remove gaps and snap shared edges to physical pixels.
|
||||
Breakdowns show eight rows plus expandable Other; keep every detail column sortable and right-aligned.
|
||||
- Estimated day bars use provider outlines and 45-degree hatching; measured days stay solid. Align past
|
||||
days by index and burn-ups by elapsed time. Never join different resets on one time axis.
|
||||
days by index and burn-ups by elapsed time. The Resets timeline puts real instances side by side
|
||||
on one time axis without joining their lines; hatch skipped time and mark observed resets (D12).
|
||||
Burn-ups use solid measured and lighter dashed estimated lines, with no point markers.
|
||||
- Use DataTooltip for every data hover: bold title, two-column label/value grid, exact and compact
|
||||
counts, optional series swatches. Future days have no cumulative value. Share one date formatter
|
||||
@@ -62,3 +64,6 @@ Run `dotnet test --project tests/FinalToken.App.Tests -c Release` from the root.
|
||||
Instances start at reset minus length and end at reset or the next start. Keep gaps unassigned;
|
||||
never infer short windows or overlap a sampled window with an inferred one (D7). Label real dates.
|
||||
Page wheel events must never change a selection: WindowSelector bubbles them to the scroll view.
|
||||
- Resets use the shared detail-table sorting, headers, row placement and expansion. Preserve
|
||||
the selected window, sort and expansion on renders. Money is invariant USD at API list prices;
|
||||
unknown models stay unpriced, and percent-derived values and token estimates carry `≈` (D13).
|
||||
|
||||
Reference in New Issue
Block a user