diff --git a/frontend/src/components/Flow/NodePanel.tsx b/frontend/src/components/Flow/NodePanel.tsx index 546a17d..8b432c9 100644 --- a/frontend/src/components/Flow/NodePanel.tsx +++ b/frontend/src/components/Flow/NodePanel.tsx @@ -131,7 +131,7 @@ function SuggestInput({ event.preventDefault()} > diff --git a/frontend/src/components/Flow/ValuePreview.tsx b/frontend/src/components/Flow/ValuePreview.tsx index e80721f..50ec2e0 100644 --- a/frontend/src/components/Flow/ValuePreview.tsx +++ b/frontend/src/components/Flow/ValuePreview.tsx @@ -103,7 +103,7 @@ export function ValuePreview({ > diff --git a/frontend/src/components/UserSettings/RemoteAccess.tsx b/frontend/src/components/UserSettings/RemoteAccess.tsx index f767775..3ea946a 100644 --- a/frontend/src/components/UserSettings/RemoteAccess.tsx +++ b/frontend/src/components/UserSettings/RemoteAccess.tsx @@ -205,7 +205,8 @@ export function RemoteAccess() {
-

- - {/* Spelled out, so a reader says the characters rather than trying - to pronounce them as a word. */} - - {(started?.code ?? "").split("").join(" ")} - -

+
+

+ + {/* Spelled out, so a reader says the characters rather than trying + to pronounce them as a word. */} + + {(started?.code ?? "").split("").join(" ")} + +

+ {/* Only where it would work: a panel served over plain http on the + LAN has no clipboard, and a button that silently does nothing is + worse than none. */} + {started?.code && navigator.clipboard ? ( + + ) : null} +

The code lasts ten minutes; this screen replaces it when it runs out.