Skip to content

Redesign passkey sign-in UI flow#58

Open
xdamman-bot wants to merge 1 commit intocitizenspring:masterfrom
xdamman-bot:fix/passkey-ui-redesign
Open

Redesign passkey sign-in UI flow#58
xdamman-bot wants to merge 1 commit intocitizenspring:masterfrom
xdamman-bot:fix/passkey-ui-redesign

Conversation

@xdamman-bot
Copy link
Copy Markdown
Contributor

Summary

Redesigned passkey sign-in UI to be clearer and more user-friendly.

New flow when ?passkey=true and passkey is available

Initial state (passkey-first):

  • Email field: optional, with subtext "to receive updates about this letter"
  • Primary button: "Sign with Passkey"
  • Link below: "sign with your email instead"

After clicking "sign with your email instead":

  • Email field: required
  • Checkbox: opt-in for updates (same as current interface)
  • Primary button: stays "Sign with Passkey"
  • Link: "sign with passkey instead" (to go back)

When passkey is NOT available:

  • Falls back to standard interface (email required + checkbox for updates)

New translation keys

  • sign.email.optional.subtext - "to receive updates about this letter"
  • sign.email.instead - "sign with your email instead"
  • sign.passkey.instead - "sign with passkey instead"

Added to en, fr, nl, de locales.

When ?passkey=true and passkey is available:
- Initial: email optional + subtext 'to receive updates about this letter'
  + primary button 'Sign with Passkey'
  + link 'sign with your email instead'
- After clicking link: email required + checkbox opt-in
  + same button + link 'sign with passkey instead'

When passkey NOT available: falls back to standard interface
(email required + checkbox for updates)

New i18n keys: sign.email.optional.subtext, sign.email.instead,
sign.passkey.instead
@coolify-github-citizenspring
Copy link
Copy Markdown

coolify-github-citizenspring Bot commented Apr 6, 2026

The preview deployment for openletter is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-04-06 12:41:00 CET

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