| ... | @@ -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 | Cancel | 3429 | <span className="[text-box:trim-both_cap_alphabetic]">Cancel</span> |
| 3430 | </AlertDialogClose> | 3430 | </AlertDialogClose> |
| 3431 | <Button | 3431 | <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 || isUpdatingDesktopServerExposure | 3435 | 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> |