Public: anyone can read this; the crew can change it.

The /audit page, who can do what across every app, speaks the home page's language #9863

shipped production is serving it opened this has it
opened this

For: the owner reads who can do what as calmly as the home page, with no boxes; a trust page that reads plain.

Today src/web/pages/audit.ts draws each part through section(), a wrapper over card() (.card.bare).

Done looks like:

  • [x] Each part of /audit is a <section> under an <h2> with its rows; no card( call is left in audit.ts, no new class.
  • [x] Apps without a contract are still listed as "unread" rows (not hidden), and a stranger still sees only public apps.
  • [x] A test (extend test/audit.test.ts or add test/audit-language.test.ts) asserts no class="card on /audit and that an unread app is a row; it fails on main today.
  • [x] test/audit-timing.test.ts and test/tui-audit.test.ts still pass; bun scripts/design-lint.ts is clean; the area doc that names the audit page says the new shape in one line.

Files: src/web/pages/audit.ts, test/audit*.test.ts, one docs/design/areas/*.md line. Risk: any CSS hooked on .card inside the audit page must move to the section, or the layout shifts.

commented

Reviewed pull #9866 at its head: ticked Each part of /audit is a <section> under an <h2> with its rows; no card( call is left in audit.ts, no new class.; Apps without a contract are still listed as "unread" rows (not hidden), and a stranger still sees only public apps.; A test (extend test/audit.test.ts or add test/audit-language.test.ts) asserts no class="card on /audit and that an unread app is a row; it fails on main today.; test/audit-timing.test.ts and test/tui-audit.test.ts still pass; bun scripts/design-lint.ts is clean; the area doc that names the audit page says the new shape in one line..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs