authorgravatar for 56691628+Mnigos@users.noreply.github.comIgor Makowski <56691628+Mnigos@users.noreply.github.com> 2026-09-20 22:04:46+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-21 01:34:46+05:30
logead1dee22916b414906eafdae5f5a1293f16e637
tree7a878d25d0e7ccbbf9838707c0406e86aebf2452
parentfa1e1715538f6f8ac076761f7821f68479f616ab
signature Signed by PGP key B5690EEEBB952194

fix(web): explain what enabling network access means in its confirmation (#10098)

Co-authored-by: shivamhwp <91240327+shivamhwp@users.noreply.github.com>

1 files changed, 12 insertions(+), 16 deletions(-)

apps/web/src/components/settings/ConnectionsSettings.tsx+12-16
......@@ -3417,8 +3417,8 @@ export function ConnectionsSettings() {
34173417 </AlertDialogTitle>
34183418 <AlertDialogDescription>
34193419 {pendingDesktopServerExposureMode === "network-accessible"
3420 ? "T3 Code will restart to expose this environment over the network."
3421 : "T3 Code will restart and limit this environment back to this machine."}
3420 ? "Let your other devices connect to T3 Code over the network. Pair devices to give them access. T3 Code will restart."
3421 : "Devices connected over your local network will disconnect. Existing tunnels, such as T3 Connect or Tailscale HTTPS, keep working. T3 Code will restart."}
34223422 </AlertDialogDescription>
34233423 </AlertDialogHeader>
34243424 <AlertDialogFooter>
......@@ -3426,27 +3426,23 @@ export function ConnectionsSettings() {
34263426 disabled={isUpdatingDesktopServerExposure}
34273427 render={<Button variant="outline" disabled={isUpdatingDesktopServerExposure} />}
34283428 >
3429 Cancel
3429 <span className="[text-box:trim-both_cap_alphabetic]">Cancel</span>
34303430 </AlertDialogClose>
34313431 <Button
3432 variant={
3433 pendingDesktopServerExposureMode === "local-only" ? "destructive" : "default"
3434 }
3432 variant="default"
34353433 onClick={handleConfirmDesktopServerExposureChange}
34363434 disabled={
34373435 pendingDesktopServerExposureMode === null || isUpdatingDesktopServerExposure
34383436 }
34393437 >
3440 {isUpdatingDesktopServerExposure ? (
3441 <>
3442 <Spinner className="size-3.5" />
3443 Restarting…
3444 </>
3445 ) : pendingDesktopServerExposureMode === "network-accessible" ? (
3446 "Restart and enable"
3447 ) : (
3448 "Restart and disable"
3449 )}
3438 {isUpdatingDesktopServerExposure && <Spinner className="size-3.5" />}
3439 <span className="[text-box:trim-both_cap_alphabetic]">
3440 {isUpdatingDesktopServerExposure
3441 ? "Restarting…"
3442 : pendingDesktopServerExposureMode === "network-accessible"
3443 ? "Restart and enable"
3444 : "Restart and disable"}
3445 </span>
34503446 </Button>
34513447 </AlertDialogFooter>
34523448 </AlertDialogPopup>