Skip to content

Ask for a pen name at the first step into public - #517

Merged
mtaanquist merged 2 commits into
developfrom
feat/pen-name-prompt
Jul 30, 2026
Merged

Ask for a pen name at the first step into public#517
mtaanquist merged 2 commits into
developfrom
feat/pen-name-prompt

Conversation

@mtaanquist

Copy link
Copy Markdown
Owner

Backlog item from the design pass click-throughs: the reading pages fall back to the display name, so a pseudonymous author could be named publicly without realising. Claiming a handle or publishing an edition with no pen name set now opens a prompt asking what name goes on the page, offering the display name to keep.

  • The choice is stored via setPenNameIfUnset (never overwrites), so the byline is always one the author chose and the prompt never returns - keeping the display name records it as the pen name.
  • New PenNamePrompt on the modal primitive, wired into the account claim-handle form and the story settings publish form; both actions accept the ridden penName field.
  • core-flow handles the prompt conditionally (whether it appears depends on database state); integration test covers the set-once semantics; publishing doc updated.

Verified locally: lint, check, account integration tests green.

🤖 Generated with Claude Code

Claiming a handle or publishing an edition with no pen name set opens
a prompt asking what name goes on the page, offering the display name
to keep. The choice is stored as the pen name (setPenNameIfUnset, which
never overwrites), so the public byline is always one the author chose
and the prompt never returns.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mtaanquist
mtaanquist marked this pull request as ready for review July 30, 2026 18:46
@mtaanquist
mtaanquist merged commit cd01a5d into develop Jul 30, 2026
3 checks passed
@mtaanquist
mtaanquist deleted the feat/pen-name-prompt branch July 30, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant