mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
## What changed Add daily stacked bar rendering in the TUI analytics module, staged for dashboard integration. - Plot three categories plus an Other remainder without renormalizing values, with separate positive and negative bands for signed credits. - Add readable numeric axes, calendar ticks, a selection cursor, and a callout showing the authoritative daily total. Distinguish missing days from zero usage. - Keep the selection visible in narrow viewports and omit labels that cannot fit without truncation. - Use terminal palette colors for series and adapt secondary text to terminal color support and background. ## Testing Add unit and snapshot coverage for axis scaling, signed bars on light and dark terminals, missing and zero values, narrow layouts, tiny segments, authoritative totals, and duplicate-date remainders. GitOrigin-RevId: 2ed58def17abd14e77929016a54fd20e91d45670