Skip to content

v0.328.0 — UI review release C: chrome + tables, plus Cashflow scroll fixes

Choose a tag to compare

@budgets-au budgets-au released this 13 Aug 11:27
· 43 commits to main since this release

Container

ghcr.io/budgets-au/budgets:0.328.0
ghcr.io/budgets-au/budgets:latest

Third of four UI-consistency releases — page chrome and tables — plus three Cashflow-report fixes reported during review.

Fixed

  • Cashflow's frozen category column was painted over by the data cells. All nine sticky first-column cells had no z-index while the thead cells had z-10/z-30, so during horizontal scroll the unpositioned numeric cells rendered on top of the frozen column. Two of those cells were also semi-transparent (bg-muted/30, bg-muted/40), so content bled through even where paint order was right. All nine now carry z-10 and an opaque background.
  • The 15-tab report strip is now a grouped dropdown at the right of the filter bar. Fifteen triggers in a row overflowed the content width, putting a horizontal scrollbar on the whole page that fought the report tables' own horizontal scroll — two scrollbars competing for the same gesture. Removing the strip also reclaims ~40px of vertical chrome, which brings page height back under the viewport so the tables' bounded scroll is the only vertical scroller. Options are grouped (Overview / By category / Accounts & flow / Detail). REPORT_TABS is now derived from the group definition so URL validation can't drift from what the picker offers. Deep links (/reports?tab=sankey) are unchanged.

Added

  • ui/filter-bar.tsx — the app's one sticky filter strip, extracted from the identical class string in the Cashflow and Category reports and rolled out to Transactions and Reports. Replaces three unrelated families.
    • sticky is opt-out, because two strips at top-14 overlap. On /transactions the bulk-selection bar owns that slot; on /reports the active tab's own filter bar does. Those pages still take the shared chrome without the pinning.
  • ui/table-scroller.tsx — the viewport-bounded scroller from 0.319, extracted and applied to six tables in priority order: accounts-cashflow-report (had a sticky first column but no sticky header and no bound — the half-migration that reads as broken on a long window), transactions-view (longest list in the app, previously no sticky header at all), cashflow-report, category-report, yoy-report, envelope-report. --cashflow-chrome renamed --table-chrome now that it's shared.
  • ui/back-link.tsx — up-navigation for /scheduled/[id] and /accounts/[id], which had no way out except the sidebar since the Topbar shows the record's own name.

Changed

  • Topbar titles consistently Title Case (two outliers fixed).
  • Removed six inert space-y-0 overrides from dashboard CardHeaders — left over from when the primitive was a flex container; it's been a grid since.

Audit notes

One planned item was dropped: normalising the settings panels' raw <h2> onto CardTitle. Those panels don't use the Card primitive at all — they hand-roll rounded-xl border bg-card — and all 19 use an identical heading class, so that surface is internally consistent. Converting it is a refactor of a distinct surface class (dense admin list vs data card), not a consistency fix.

Known issue

monkey: Scheduled in the exploratory crawl times out at 120s. Verified pre-existing by stashing this release and reproducing on 0.327.0 — it's state-dependent (the crawl runs after monkey-goals populates the DB, and the persisted app-map accrues across runs, so that page's control surface grows). Not a regression. The other 24 crawl tests pass.

Verify

  • tsc clean, pnpm build clean, 733/743 unit.
  • pages-smoke 12/12, reports-tabs 15/15.

Upgrade

Pull ghcr.io/budgets-au/budgets:0.328.0 and roll. No migrations. The Reports page now picks its report from a dropdown at the top right instead of a 15-tab strip; Transactions and the report tables keep their headers pinned while you scroll; and detail pages have a back link.