Skip to content

Commit c0075de

Browse files
shivamhwpclaude
andcommitted
refactor(web,mobile): drop code left dead by hiding subagent threads
Removing the "Open subagent thread" affordance left the mobile work log subscribing to item support it no longer reads, and the web sidebar importing a predicate it no longer calls. Both tripped the lint rule the CI Check job enforces. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 9db1b0e commit c0075de

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

apps/mobile/src/features/threads/thread-work-log.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { T3_CODE_BRAND_MARK_SOURCE } from "../../components/brandAssets";
1010
import { cn } from "../../lib/cn";
1111
import type { ThreadFeedActivity } from "../../lib/threadActivity";
1212
import Animated, { FadeIn } from "react-native-reanimated";
13-
import { useV2ItemSupport } from "../../state/v2-item-support";
1413
import { ThreadActivityInspector } from "./ThreadActivityInspector";
1514

1615
const MAX_VISIBLE_WORK_LOG_ENTRIES = 1;
@@ -112,11 +111,6 @@ function ThreadActivityThreadLink(props: {
112111
readonly iconColor: import("react-native").ColorValue;
113112
}) {
114113
const row = props.activity.projectedItem;
115-
const support = useV2ItemSupport({
116-
environmentId: props.environmentId,
117-
sourceThreadId: row.sourceThreadId,
118-
sourceItemId: row.sourceItemId,
119-
});
120114
const navigation = useNavigation();
121115
const item = row.item;
122116
let targetThreadId: ThreadId | null = null;

apps/web/src/components/SidebarV2.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ import {
109109
filterSidebarV2VisibleThreads,
110110
firstValidTimestampMs,
111111
hasUnseenCompletion,
112-
isSidebarSubagentThread,
113112
isTrailingDoubleClick,
114113
orderItemsByPreferredIds,
115114
resolveAdjacentThreadId,

0 commit comments

Comments
 (0)