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() {...@@ -3417,8 +3417,8 @@ export function ConnectionsSettings() {
3417 </AlertDialogTitle>3417 </AlertDialogTitle>
3418 <AlertDialogDescription>3418 <AlertDialogDescription>
3419 {pendingDesktopServerExposureMode === "network-accessible"3419 {pendingDesktopServerExposureMode === "network-accessible"
3420 ? "T3 Code will restart to expose this environment over the network."3420 ? "Let your other devices connect to T3 Code over the network. Pair devices to give them access. T3 Code will restart."
3421 : "T3 Code will restart and limit this environment back to this machine."}3421 : "Devices connected over your local network will disconnect. Existing tunnels, such as T3 Connect or Tailscale HTTPS, keep working. T3 Code will restart."}
3422 </AlertDialogDescription>3422 </AlertDialogDescription>
3423 </AlertDialogHeader>3423 </AlertDialogHeader>
3424 <AlertDialogFooter>3424 <AlertDialogFooter>
...@@ -3426,27 +3426,23 @@ export function ConnectionsSettings() {...@@ -3426,27 +3426,23 @@ export function ConnectionsSettings() {
3426 disabled={isUpdatingDesktopServerExposure}3426 disabled={isUpdatingDesktopServerExposure}
3427 render={<Button variant="outline" disabled={isUpdatingDesktopServerExposure} />}3427 render={<Button variant="outline" disabled={isUpdatingDesktopServerExposure} />}
3428 >3428 >
3429 Cancel3429 <span className="[text-box:trim-both_cap_alphabetic]">Cancel</span>
3430 </AlertDialogClose>3430 </AlertDialogClose>
3431 <Button3431 <Button
3432 variant={3432 variant="default"
3433 pendingDesktopServerExposureMode === "local-only" ? "destructive" : "default"
3434 }
3435 onClick={handleConfirmDesktopServerExposureChange}3433 onClick={handleConfirmDesktopServerExposureChange}
3436 disabled={3434 disabled={
3437 pendingDesktopServerExposureMode === null || isUpdatingDesktopServerExposure3435 pendingDesktopServerExposureMode === null || isUpdatingDesktopServerExposure
3438 }3436 }
3439 >3437 >
3440 {isUpdatingDesktopServerExposure ? (3438 {isUpdatingDesktopServerExposure && <Spinner className="size-3.5" />}
3441 <>3439 <span className="[text-box:trim-both_cap_alphabetic]">
3442 <Spinner className="size-3.5" />3440 {isUpdatingDesktopServerExposure
3443 Restarting…3441 ? "Restarting…"
3444 </>3442 : pendingDesktopServerExposureMode === "network-accessible"
3445 ) : pendingDesktopServerExposureMode === "network-accessible" ? (3443 ? "Restart and enable"
3446 "Restart and enable"3444 : "Restart and disable"}
3447 ) : (3445 </span>
3448 "Restart and disable"
3449 )}
3450 </Button>3446 </Button>
3451 </AlertDialogFooter>3447 </AlertDialogFooter>
3452 </AlertDialogPopup>3448 </AlertDialogPopup>