Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(clients): mark threads with an open async question while they keep working #24894

Closedbmjcoding(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/24894/headopened View on GitHub

Showing 9 changed files with 144 additions and 16 deletions (loading 6).

x
0 of 9 viewed, 9 left
53 additions and 15 deletionsapps/mobile/src/features/threads/thread-list-v2-items.tsxModified
View file
@@ -76,7 +76,12 @@
type ThreadListV2Status,
} from "./threadListV2";
import { QueuedMessageIcon } from "./queued-message-icon";
-import { shouldRecedeThreadRow } from "./thread-row-emphasis";
+import {
+ hasThreadRowAsyncQuestion,
+ shouldRecedeThreadRow,
+ threadRowAccessibilityLabel,
+ threadRowStatusText,
+} from "./thread-row-emphasis";
import { ThreadSearchMatchExcerpt } from "./thread-search-match";
import { useScaledTextRole } from "../settings/appearance/useScaledTextRole";
import { PullRequestGlyph } from "../pull-requests/pullRequestGlyphs";
@@ -88,6 +93,12 @@
readonly className: string;
readonly iconTintClassName: string;
+const INPUT_STATUS_LABEL: StatusLabel = {
+ label: "Input",
+ icon: "questionmark.bubble",
+ className: "text-adaptive-indigo-600-300",
+ iconTintClassName: "accent-adaptive-indigo-600-300",
+};
const STATUS_LABEL_BY_STATUS: Partial<Record<ThreadListV2Status, StatusLabel>> = {
approval: {
label: "Approval",
@@ -95,12 +106,7 @@