| ... | ... | @@ -3417,8 +3417,8 @@ export function ConnectionsSettings() { |
| 3417 | 3417 | </AlertDialogTitle> |
| 3418 | 3418 | <AlertDialogDescription> |
| 3419 | 3419 | {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."} |
| 3422 | 3422 | </AlertDialogDescription> |
| 3423 | 3423 | </AlertDialogHeader> |
| 3424 | 3424 | <AlertDialogFooter> |
| ... | ... | @@ -3426,27 +3426,23 @@ export function ConnectionsSettings() { |
| 3426 | 3426 | disabled={isUpdatingDesktopServerExposure} |
| 3427 | 3427 | render={<Button variant="outline" disabled={isUpdatingDesktopServerExposure} />} |
| 3428 | 3428 | > |
| 3429 | | Cancel |
| 3429 | <span className="[text-box:trim-both_cap_alphabetic]">Cancel</span> |
| 3430 | 3430 | </AlertDialogClose> |
| 3431 | 3431 | <Button |
| 3432 | | variant={ |
| 3433 | | pendingDesktopServerExposureMode === "local-only" ? "destructive" : "default" |
| 3434 | | } |
| 3432 | variant="default" |
| 3435 | 3433 | onClick={handleConfirmDesktopServerExposureChange} |
| 3436 | 3434 | disabled={ |
| 3437 | 3435 | pendingDesktopServerExposureMode === null || isUpdatingDesktopServerExposure |
| 3438 | 3436 | } |
| 3439 | 3437 | > |
| 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> |
| 3450 | 3446 | </Button> |
| 3451 | 3447 | </AlertDialogFooter> |
| 3452 | 3448 | </AlertDialogPopup> |