Skip to content

Wrap long handles, simplify delete account dialog copy - #5420

Open
bigmoves wants to merge 1 commit into
bluesky-social:mainfrom
bigmoves:bigmoves/handle-ellipsis-mobile
Open

Wrap long handles, simplify delete account dialog copy#5420
bigmoves wants to merge 1 commit into
bluesky-social:mainfrom
bigmoves:bigmoves/handle-ellipsis-mobile

Conversation

@bigmoves

@bigmoves bigmoves commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

What & why

  • Handle forced whitespace-nowrap, so a long custom-domain username ran past the right edge of every dialog that quotes it — delete account, consent, About. This is the username half of Show current account values on narrow viewports #5377, which fixed the same thing for email addresses.
  • It now uses break-words, so a username still sits on one line whenever it fits and only breaks when it would otherwise overflow.
  • Single-line contexts (settings rows, AccountSummary, AccountCard, account menu) pass truncate and still ellipsize — unchanged.
  • The delete-account dialog's title is now just "Delete account". A long handle wrapped to three bold lines and pushed the copy below the fold; the account is still named on the final confirmation. Drops one msgid (Delete account <0/>), adds none.

Delete-account dialog at 320px

Before After
before-delete-dialog after-title-plain

Checklist

  • pnpm build --force && pnpm verify passes
  • Tests pass (94 in oauth-provider-ui). No new test — the change is CSS classes and one static string.
  • A changeset is included for every package this touches
  • Written with the help of an LLM or coding agent? Say so here, and name the tooling. — Yes, Claude Code (Opus 5).

@bigmoves
bigmoves force-pushed the bigmoves/handle-ellipsis-mobile branch from 952aec4 to 9fc50f6 Compare August 17, 2026 17:47
@bigmoves bigmoves changed the title Wrap long usernames instead of overflowing the copy that quotes them Wrap long handles, simplify delete account dialog copy Aug 17, 2026
`Handle` forced `whitespace-nowrap`, so a custom-domain username had no
break opportunity anywhere and ran past the right edge of every dialog
that names it — the delete-account dialog, the consent screens, the
About page. This is the username half of the fix bluesky-social#5377 made for email
addresses.

It now sets `break-words` instead: a username has no space to break at,
so it still occupies one line whenever it fits, and only breaks when it
would otherwise overflow. The contexts that want a single line — the
settings rows, `AccountSummary`, `AccountCard`, the account menu —
already pass `truncate`, which brings its own `whitespace-nowrap` and
still ellipsizes.

The delete-account dialog's title is also just "Delete account" now. A
title is the worst place for a long variable string: a custom domain
wrapped to three bold lines and pushed the copy below the fold on a
phone. The account is still named on the final confirmation, where it
reads as prose and is the last gate before an irreversible action. The
plain msgid already existed as the no-handle fallback, so this drops one
msgid and adds none.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bigmoves
bigmoves force-pushed the bigmoves/handle-ellipsis-mobile branch from 9fc50f6 to f25c0f0 Compare August 17, 2026 17:57
@bigmoves
bigmoves marked this pull request as ready for review August 17, 2026 17:58
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