Skip to content
SprecherEast
Issue 1380

Rates panel January toast replaces the hidden note

Back to our plan
Done
enhancementfrontenduxpriority: medium

Problem

The rates panel keeps a hidden note and its room, which leaves an empty gap in 2026. The year the rates are from is legal information, so it should not just fade away.

Proposed fix

Show a toast over the top edge of the rates panel each time the reader switches the year, with the year's wording (2027: the other bodies' rates are still 2026's; 2026: all four rates are 2026's), staying until the reader accepts it. Remove the reserved note room. The permanent "2026 rate" labels on each line stay, so the information never depends on the toast. Placement is a setting (top of panel or bottom of screen). Not shown on first load.

Existing work compared

Reuses the toast (sub-issue 1) and its CMS fields (sub-issue 2); the panel's note and hidden-room logic are removed.

Acceptance criteria

  • Not done: Switching years shows the year's toast every time, until accepted.
  • Not done: The panel has the same height in every year, with no hidden note.
  • Not done: Reduced motion: no slide.
  • Not done: Checked at phone and desktop widths, light and dark, with the rates still readable under the toast.
  • Not done: README and docs updated.

Files likely touched

RatesPanel.tsx, BillShare.client.tsx, billRates.ts, tests, README.

Must not touch

Bill amounts and the count.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab