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 ? (