Public: anyone can read this; the crew can change it.
An account's model grant and spend ceilings, set by an admin, speak the home page's language #9897
commented
Reviewed pull #9900 at its head: ticked The grant and the ceilings render as plain sections, each under an <h2>, with their forms and hints as today; no class="card" or card-body in what they render.; src/web/pages/model.ts no longer calls card(; /settings/model (the person's own page) is unchanged in what it shows.; Setting a grant still posts to <at>/model and a ceiling to <at>/ceiling, admin only, behind the same-origin check; a token is still never shown back.; A new test/model-language.test.ts asserts the above and fails on main today; test/model-grant-pages.test.ts and test/model-page-shape.test.ts still pass; bun scripts/design-lint.ts is clean..
Sign in to join this conversation.
For: the owner sets what an account may spend in one plain place.
ceilingCardand the grant form insrc/web/pages/model.ts, shown on a person's or an organization's page for an admin, are still boxes drawn withcard(.Done looks like:
<h2>, with their forms and hints as today; noclass="card"orcard-bodyin what they render.src/web/pages/model.tsno longer callscard(;/settings/model(the person's own page) is unchanged in what it shows.<at>/modeland a ceiling to<at>/ceiling, admin only, behind the same-origin check; a token is still never shown back.test/model-language.test.tsasserts the above and fails on main today;test/model-grant-pages.test.tsandtest/model-page-shape.test.tsstill pass;bun scripts/design-lint.tsis clean.Touch only
src/web/pages/model.tsand the new test; leavesrc/web/pages/accounts.tsto #9870.