Skip to content

Commit 6a79737

Browse files
authored
fix: improve message (#1813)
1 parent ecfa56b commit 6a79737

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

desktop/src/client/pro/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export class DaemonClient extends ProClient {
254254
details.push("Platform is offline")
255255
}
256256

257-
return Return.Value({ healthy, details, loginRequired: status.loginRequired, online: status.online, daemonState: status.state })
257+
return Return.Value({ healthy, details, loginRequired: status.loginRequired, online: status.online })
258258
}
259259

260260
public watchWorkspaces(

desktop/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ export type TCommunityProvider = Readonly<{
281281
export type TPlatformHealthCheck = Readonly<{
282282
healthy: TMaybe<boolean>
283283
online: TMaybe<boolean>
284-
daemonState: TMaybe<"pending" | "running" | "stopped">
285284
loginRequired: TMaybe<boolean>
286285
details: TMaybe<string[]>
287286
}>

desktop/src/views/Pro/ProInstance.tsx

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,6 @@ export function ProInstance() {
4747
// we are not logged in, so we show the login content
4848
return loginContent
4949
} else if (!connectionStatus.online) {
50-
// if the daemon is starting, we show a different message
51-
if (connectionStatus.daemonState === "pending") {
52-
return (
53-
<Container maxW="container.lg" h="full">
54-
<VStack align="center" justify="center" w="full" h="full">
55-
<Image
56-
src={colorMode == "dark" ? disconnectedDarkImage : disconnectedImage}
57-
w="100%"
58-
h="40vh"
59-
/>
60-
61-
<Heading fontWeight="thin" mb="4" color="gray.600">
62-
DevPod is connecting, please wait...
63-
</Heading>
64-
</VStack>
65-
</Container>
66-
)
67-
}
68-
6950
// if the daemon is running but we are not online, something is wrong with networking
7051
return (
7152
<Container maxW="container.lg" h="full">
@@ -77,7 +58,7 @@ export function ProInstance() {
7758
/>
7859

7960
<Heading fontWeight="thin" mb="4" color="gray.600">
80-
DevPod cannot reach the platform
61+
DevPod is trying to reach the platform...
8162
</Heading>
8263
</VStack>
8364
</Container>

0 commit comments

Comments
 (0)