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

A signed-out reader of the toolbar page is offered sign-in that brings them back to it #4090

shipped production is serving it opened this has it
opened this

P6 Lost test: signed out, the pill's page today offers only Home.

Done:

  • [ ] When there is no user, toolbarPage shows 'Sign in to comment' as a btn to /signin?next= this toolbar page's path and query (env and page kept), next to Home.
  • [ ] After signing in, the person lands back on the same toolbar page with the comment form; safeNext refuses any other origin.
  • [ ] Tests: the signed-out page carries the link with the right next; a crafted next to another host is refused; bun x tsc --noEmit passes.

Files: src/web/studio/toolbar.ts, a test.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs