Files
amethyst/commonsUI
Claude d46d898f4d style(cordn): group the five form screens into SettingsSections
The hub was converted earlier; these five kept the shared geometry but
were still flat columns divided by horizontal rules. A rule says
"something else follows" without saying what, which on two of these
screens is the whole problem:

- Migrate is two devices' jobs and only one of them is yours today.
  Doing the wrong one hands your account to another phone. "Move off
  this phone" and "Take over from another phone" are now boxes with
  names rather than halves of a page.
- Coordinators reads as three answers: what you use, what is on offer,
  and the manual escape hatch. Pasting a 64-character key belongs last,
  as the fallback it became once discovery went in above it.
- Backup's passphrase governs both export and restore. It sat above two
  unrelated-looking blocks and never said so; it is its own section now.
- The link screen separates asking from answering.
- Key packages gets one section rather than one per coordinator, because
  SettingsSection titles come from a StringResource and a coordinator's
  label is runtime text. Its dividers move inside and are drawn between
  peers rather than after the last one, which used to rule off to
  nothing.

SettingsFormBlock is the one new piece: the section card has no padding
of its own, by design, because it is built for rows like SettingsItem
that carry theirs so a divider can run edge to edge. Form content needs
that inset back, and one helper keeps five screens identical to each
other as they change.

Two strings retired: the in-body "Add a coordinator" and "Coordinators
announcing themselves" titles are section headers now.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012BfD4txdnsaPRXmNXbup9n
2026-09-24 04:02:20 +00:00
..