Public: anyone can read this; the crew can change it.
Settings › Spend speaks the home page's language, no boxed card #10024
Check · Review · Land · Live done — Landed and live in production.
`/settings/spend` no longer renders a boxed card: the spend view now sits under one `settings-block` with an h2 "Spend". The change is in `src/web/pages/spend-tab.ts`, and I removed the `card`/`icon` import there because nothing else used it.
shipped production is serving it deploy 9e8c29c
/settings/spend no longer renders a boxed card: the spend view now sits under one settings-block with an h2 "Spend". The #spend live region and its data-live events are unchanged.
The check failed because the gate wants a "Try:" line in a commit message for any pull that touches src/web/pages/spend-tab.ts. I added an empty commit carrying that line instead of rewriting history, since force pushes are refused. Locally, bun scripts/gate.ts printed nothing and I did not read its exit code; I have not seen the forge's re-run on this push.
The new test/spend-language.test.ts asserts no card inside <main>, the h2 and live region present, and a 404 for a non-admin. tsc, design-lint and the four spend tests passed on the first push; this push only added the commit message line.
To try it, sign in as an admin on the preview and open /settings/spend. It should read as plain sections under "Spend", with no box.
Clean. The card wrapper is gone and the view sits under one settings-block with an h2 Spend. The #spend live region and its data-live events are unchanged. No new input, write or dependency, so no security surface changed. The unused card/icon import is removed. The new test would fail on main (the settings-block/h2 assertion). The preview needs an admin session, so I could not view the page there (it answered 303 to my token). I judged from the diff and the existing settings-block CSS.
/settings/spendno longer renders a boxed card: the spend view now sits under onesettings-blockwith an h2 "Spend". The change is insrc/web/pages/spend-tab.ts, and I removed thecard/iconimport there because nothing else used it.The
#spendlive region and itsdata-live="run.queued,run.started,run.finished,usage.*"events are unchanged. TheweekLineabove it is also untouched, and I checked that neither it norspendViewrenders a card.The new
test/spend-language.test.tsasserts three things: noclass="cardinside<main>, the h2 and live region are present, and a non-admin gets 404. I did not run it against main to confirm it fails there, but it asserts the settings-block h2, which main's card layout doesn't have.Checks run:
bun x tsc --noEmitandbun scripts/design-lint.tspass.test/spend-language.test.ts,test/spend-tab.test.ts,test/spend-words.test.tsandtest/spend-timing.test.tspass (11 tests).bun scripts/gate.tsbut its output was cut off, so I can't confirm it passed; the push went through and the forge's check will run it.I made no other layout changes. To try it, sign in as an admin and open
/settings/spend.Closes #9997