Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client): show reconnecting instead of stale working status #25471

Mergedsaphid(GitHub profile, opens in a new tab)merged 14 commits intomain fromrefs/pull/25471/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Showing 15 changed files with 108 additions and 0 deletions (loading 12).

x
0 of 15 viewed, 15 left
18 additions and 0 deletionsapps/mobile/src/features/threads/thread-list-v2-items.tsxModified
View file
@@ -100,6 +100,24 @@
readonly iconTintClassName: string;
const STATUS_LABEL_BY_STATUS: Partial<Record<ThreadListV2Status, StatusLabel>> = {
+ connecting: {
+ label: msg("Connecting", { $context: "connection status" }),
+ icon: "wifi.slash",
+ className: "text-foreground-muted",
+ iconTintClassName: "accent-foreground-muted",
+ },
+ reconnecting: {
+ label: msg("Reconnecting", { $context: "connection status" }),
+ icon: "wifi.slash",
+ className: "text-foreground-muted",
+ iconTintClassName: "accent-foreground-muted",
+ },
+ offline: {
+ label: msg("Offline", { $context: "connection status" }),
+ icon: "wifi.slash",
+ className: "text-foreground-muted",
+ iconTintClassName: "accent-foreground-muted",
+ },
approval: {
label: msg("Approval", { $context: "thread status, waiting for approval" }),
icon: "exclamationmark.shield",
82 additions and 0 deletionsapps/mobile/src/features/threads/threadListV2.test.tsModified
View file
@@ -153,6 +153,74 @@