Skip to content

feat(app): polish the Pair a device card - #553

Merged
linroid merged 1 commit into
mainfrom
feat/pair-card-polish
Oct 14, 2026
Merged

linroid merged 1 commit into
mainfrom
feat/pair-card-polish

Conversation

@linroid

@linroid linroid commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Follow-up to #547, which was merged before this was pushed.

Why

On Settings › Sharing, Stop sharing sat in the section header, off the card's grid and in the same weight as any other action, though it cuts off every paired device. The access-code warning and New code shared one line, with New code floating mid-row.

What changed

  • Stop sharing is the last row of the Pair a device card, under the settings it ends: a full-width row in the danger color, laid out like the rows above, so its label lines up with their titles. It has no glyph, since the stop glyph is drawn inset in its box and would break that line.
  • "Anyone with it can control Ketch on this Mac." now sits under the address, next to the details it warns about.
  • New code is a button beside Copy pairing link. It still asks before replacing the code.

Only SharingSettings.kt changes.

Snapshots

SettingsDeviceSnapshots.sharing_offAndOn_showsThePairCard, rendered on main and on this branch:

Before After
before after
before, phone after, phone

Testing

  • :app:shared:jvmTest
  • Compiled :app:desktop, :app:android and the iOS tests

Stop sharing moves from the section header to the last row of the card,
under the settings it ends: a full-width row in the danger color whose
label lines up with the titles above. The warning that anyone with the
link controls Ketch now sits under the address, and New code is a button
beside Copy pairing link instead of trailing that line.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T03:42:10.833497Z e7854e3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@linroid
linroid merged commit 78cfd53 into main Oct 14, 2026
12 checks passed
@linroid
linroid deleted the feat/pair-card-polish branch October 14, 2026 03:41
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