You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored and
murphy
committed
fix(settings): warn when a server share link is generated for loopback
The address picker under "Share this Orca server" defaults to 127.0.0.1,
and its hint rendered as static muted copy that read the same whichever
address was selected. Nothing distinguished the one selection that
produces a link no other device can open, so pairing a second machine
tended to fail only after the link had been copied and pasted.
Make the hint track the selection: loopback gets warning emphasis, any
other address states which host the peer has to reach. Generated links
carry their own warning, keyed to the address the link was actually
minted for rather than the current picker value, so moving the picker
afterwards cannot make the warning lie.
Loopback detection lives in shared/network so the picker and the link
row agree; it covers 127.x, localhost, ::1, and ws(s):// forms. The
warning uses typography and an icon rather than a new color, since a
loopback address is a valid choice and the palette reserves color for
selection, destructive, and git decorations.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
'These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device.',
Copy file name to clipboardExpand all lines: src/renderer/src/i18n/locales/en.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6718,7 +6718,9 @@
6718
6718
"custom-description": "Advertise an address another device can reach — a LAN or Tailscale host, or a full ws(s):// URL.",
6719
6719
"custom-hint": "Enter a host, host:port, or a ws(s):// URL.",
6720
6720
"custom-cancel": "Cancel",
6721
-
"custom-use": "Use address"
6721
+
"custom-use": "Use address",
6722
+
"reachable-address-hint": "The other device must be able to reach {{address}}.",
6723
+
"generated-loopback-warning": "These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device."
Copy file name to clipboardExpand all lines: src/renderer/src/i18n/locales/es.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6658,7 +6658,9 @@
6658
6658
"custom-description": "Anuncia una dirección que otro dispositivo pueda alcanzar: un host de LAN o Tailscale, o una URL ws(s):// completa.",
6659
6659
"custom-hint": "Introduce un host, host:puerto o una URL ws(s)://.",
6660
6660
"custom-cancel": "Cancelar",
6661
-
"custom-use": "Usar dirección"
6661
+
"custom-use": "Usar dirección",
6662
+
"reachable-address-hint": "The other device must be able to reach {{address}}.",
6663
+
"generated-loopback-warning": "These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device."
6662
6664
},
6663
6665
"Settings": {
6664
6666
"3bf149e873": "Configuración del proyecto > {{value0}}",
"reachable-address-hint": "The other device must be able to reach {{address}}.",
6685
+
"generated-loopback-warning": "These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device."
Copy file name to clipboardExpand all lines: src/renderer/src/i18n/locales/ko.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6643,7 +6643,9 @@
6643
6643
"custom-description": "다른 기기가 연결할 수 있는 주소를 알립니다. LAN 또는 Tailscale 호스트, 또는 전체 ws(s):// URL입니다.",
6644
6644
"custom-hint": "호스트, host:port 또는 ws(s):// URL을 입력하세요.",
6645
6645
"custom-cancel": "취소",
6646
-
"custom-use": "주소 사용"
6646
+
"custom-use": "주소 사용",
6647
+
"reachable-address-hint": "The other device must be able to reach {{address}}.",
6648
+
"generated-loopback-warning": "These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device."
"reachable-address-hint": "The other device must be able to reach {{address}}.",
6648
+
"generated-loopback-warning": "These links were generated for {{address}}, so only this computer can open them. Pick a reachable address above and generate again to pair another device."
0 commit comments