From 783b0b81ae93f1d16d6ccaa23e59a5167c1d280f Mon Sep 17 00:00:00 2001 From: Sawyer Hood Date: Fri, 21 Aug 2026 08:43:51 -0700 Subject: [PATCH] Remove the URL QR toggle from the connect settings card Mobile pairing now owns the phone QR flow. The second QR for the public URL was confusing next to it. Co-Authored-By: Claude --- plugins/connect/app.test.tsx | 2 +- plugins/connect/app.tsx | 24 +----------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/plugins/connect/app.test.tsx b/plugins/connect/app.test.tsx index 40ece7ee52..a1e874c265 100644 --- a/plugins/connect/app.test.tsx +++ b/plugins/connect/app.test.tsx @@ -388,7 +388,7 @@ describe("connect settings section", () => { slot.queryByRole("button", { name: "Add mobile device" }), ).toBeNull(); // The rest of the paired card is unaffected. - slot.getByRole("button", { name: "Show QR for phone" }); + slot.getByRole("button", { name: "Re-pair" }); }); it("add mobile device mints a machine code and shows the QR payload, the code, and a countdown", async () => { diff --git a/plugins/connect/app.tsx b/plugins/connect/app.tsx index d717594a16..987960e38b 100644 --- a/plugins/connect/app.tsx +++ b/plugins/connect/app.tsx @@ -3,7 +3,7 @@ // One settingsSection "Remote access", driven by the `status` rpc and live // `connect` realtime pushes. Four states, each matched to the redesign mock: // not paired (promise + two numbered steps + auto-submitting code field), -// pairing (inline typed-code errors), connected (URL hero chip + QR toggle + +// pairing (inline typed-code errors), connected (URL hero chip + // mobile-app pairing + shared ports + isolated disconnect), reconnecting // (amber wash + dimmed body). Disconnect confirms in a dialog, then lands on // the unpaired card with a transient receipt. @@ -1148,7 +1148,6 @@ function ConnectedContent({ const [disconnecting, setDisconnecting] = useState(false); const [disconnectError, setDisconnectError] = useState(null); const [repairOpen, setRepairOpen] = useState(false); - const [qrOpen, setQrOpen] = useState(false); const disconnect = useCallback(() => { setDisconnecting(true); @@ -1194,27 +1193,6 @@ function ConnectedContent({ {status.url !== null ? : null} - {status.url !== null ? ( -
-
- - - scan to open on another device - -
- {qrOpen ? : null} -
- ) : null} - {repairOpen ? (