Issue 943
Hide the squares of a breakdown chart, and show where an average home's tax goes
Back to our planDone
enhancementfrontendcmspriority: medium
Problem
In plain words: on the budget post, the day-to-day chart shows a grid of squares and a key that repeat what the ranked bars under them already say, and a neighbor has to scroll past both. The "Your share" tab shows only one bar, with no view of where an average home's tax goes.
Proposed fix
- A breakdown chart gets a setting to hide the square grid and its key, leaving the ranked bars. It is off by default, so no existing chart changes.
- On the budget post (a content edit in Admin, after this deploys): hide the grid on the day-to-day chart, drop the repeated source line, date and "Confirmed" mark under the first chart there, and add a bars-only breakdown to the "Your share" tab.
- The "Your share" bars are an estimate: an average home's City tax for the year, shared out in the same proportions as the Mayor's day-to-day budget. The page says so in plain words, because the City does not publish that split (the owner chose this approach, 2026-11-09, Claude Code session, text).
Acceptance criteria
- Not done: A breakdown chart has a "hide the squares" setting; when set, neither the grid nor its key shows, the bars, the numbers table and the text version still do, and the squares amount is no longer required.
- Not done: With the setting off (the default), every existing breakdown looks and reads exactly as before.
- Not done: Tests first: the spec, the mapper from the editor's fields, the drawing with and without the grid, and axe.
- Not done: The note for rich text and the UI kit, and the generated references, describe the setting.
- Not done: The budget post is edited as above and checked live at phone width in light and dark.
Files likely touched
src/platform/lib/chart/ (spec, breakdown model, table), src/platform/ui/chart/adapters/breakdown/, src/platform/richtext/editorial/ (chart fields, mapper, markdown, validation), src/platform/ui/README.md, src/platform/richtext/README.md, docs/reference/ (generated).
Must not touch
Other chart kinds, the theme, and any other post's content.
Area
frontend, cms
Priority
medium
Epic: #911.
Generated by Claude Code, opens in a new tab