Commit 56c74cd
committed
tui,dashboard: simplify Stats to single Total tokens row
v0.21.8 was about to ship with a three-row Stats section (New work,
Reprocessed, Total input). User feedback before release: the three-way
split needs more user-facing explanation than the value it delivers and
would generate support questions.
Hide New work and Reprocessed rows for now. Rename Total input ->
Total tokens. Keep the underlying snapshot fields (newWorkTokens,
totalInputTokens) and session_meta columns populated by the runtime
so a later release can re-introduce the categorization once we have a
cleaner UX for it.
UI-only change. No runtime, schema, or RPC contract changes.
- packages/plugin/src/tui/slots/sidebar-content.tsx: collapse three
StatRows into one Total tokens row; guard switched from
newWorkTokens != null to totalInputTokens != null
- packages/dashboard/src/components/SessionViewer/SessionViewer.tsx:
collapse three Meta-tab rows into one Total tokens row1 parent fc96631 commit 56c74cd
2 files changed
Lines changed: 15 additions & 26 deletions
File tree
- packages
- dashboard/src/components/SessionViewer
- plugin/src/tui/slots
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1645 | 1651 | | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
| 1652 | + | |
1655 | 1653 | | |
1656 | 1654 | | |
1657 | 1655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
450 | 455 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 456 | + | |
466 | 457 | | |
467 | 458 | | |
468 | 459 | | |
| |||
0 commit comments