Skip to content
SprecherEast
Issue 1022

enhancement: Whole-bill picture becomes a Rough Estimator card and a pie

Back to our plan
Done
enhancementfrontendpriority: high

Problem

The whole-bill picture mixes the home value box, the year switch and a long note in one loose block, a flat bar carries the slices, a key of colored squares repeats them, and the "not set 2027 rates yet" line makes the page jump when it appears and disappears.

Proposed fix

Decisions (owner, 2026-11-10, voice and text):

  • One orange card titled "Rough Estimator": the home value box, the two rate buttons side by side along the bottom (centered, filling the width), and a notes area. The first note always says this is a rough estimate and that every owner's bill differs; choosing 2027 adds a note that those rates are not confirmed (it replaces the old "not set yet" line).
  • A pie card titled "Your rough property tax" replaces the bar and the key of squares: the City's slice stays the same green, the other three bodies are three clearly different grays (schools lightest, County in the middle, Madison College darkest). Each slice shows its percent and dollars and follows the home value and the year. The 3% slice shows its label inside on a wide screen and is pulled out on a phone; a legend under the pie lists any slice whose label does not fit.
  • Side by side on desktop, estimator first and stacked on a phone. Both cards are the same height, and that height fits the tallest state (all notes shown), so nothing moves when a note appears.
  • The City panel (City bar, short line, breakdown) sits under both cards as its own full-width card; the folder-tab join to the bar goes away.

Acceptance criteria

  • Not done: Failing tests first (pie geometry and label fit, estimator card, pie card, reserved note space).
  • Not done: Switching year or typing a value changes slices, percents and dollars at once, and never changes the page height.
  • Not done: Phone and desktop checked at six widths, light and dark; no horizontal scroll; every slice's label readable, with a legend for any that cannot fit.
  • Not done: The unused bar code is removed, not left behind.
  • Not done: Notes, docs and the gallery updated in the same PR.

Files likely touched

src/platform/richtext/editorial/BillShare.client.tsx, a new pie in src/platform/ui/, Card and Button variants, gallery, docs.

Must not touch

The tax math in src/platform/lib/billShare.ts.

Area

frontend

Priority

priority: high


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab