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

An archived origin's missing-scope warning is one plain line with its action, not a boxed alert card #10000

shipped production is serving it opened this has it
opened this

For: calm by default. A token that cannot restore says so in one line where it belongs, not in an attention-toned box.

Done when:

  • [x] In src/web/pages/origin-archived.ts, the !canWrite block is a plain <p> naming the missing scope, followed by the "Replace the token" link. No card(, no role="alert", no attn tone.
  • [x] test/web-origin-archived.test.ts asserts that the missing-scope sentence and the link are present and that there is no class="card inside <main>. It fails on main.
  • [x] bun scripts/design-lint.ts passes.

Files: src/web/pages/origin-archived.ts, test/web-origin-archived.test.ts.

commented

Reviewed pull #10031 at its head: ticked In src/web/pages/origin-archived.ts, the !canWrite block is a plain <p> naming the missing scope, followed by the "Replace the token" link. No card(, no role="alert", no attn tone.; test/web-origin-archived.test.ts asserts that the missing-scope sentence and the link are present and that there is no class="card inside <main>. It fails on main.; bun scripts/design-lint.ts passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs