Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): outdated T3 Connect servers can be updated from mobile and hosted web #21150

Closedshivamhwp(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/21150/headopened View on GitHub

Showing 6 changed files with 164 additions and 1 deletion (loading 3).

x
0 of 6 viewed, 6 left
6 additions and 0 deletionsapps/mobile/src/features/cloud/cloudEnvironmentPresentation.tsModified
View file
@@ -9,6 +9,7 @@
readonly connectionError: string | null;
readonly connectionErrorTraceId: string | null;
readonly connectionState: EnvironmentConnectionPhase;
+ readonly serverUpdateRequired: boolean;
readonly statusText: string;
​
@@ -27,6 +28,7 @@
connectionError: compatibilityError.message,
connectionErrorTraceId: null,
connectionState: "unsupported",
+ serverUpdateRequired: compatibilityError.serverUpdateRequired === true,
statusText: compatibilityError.message,
};
@@ -35,6 +37,7 @@
connectionError: null,
connectionErrorTraceId: null,
connectionState: "available",
+ serverUpdateRequired: false,
statusText: "Available · Relay online",
};
@@ -46,6 +49,7 @@
connectionError,
connectionErrorTraceId: input.status.traceId ?? null,