From 67022de4a21179d66684a9101493d16593eab53d Mon Sep 17 00:00:00 2001 From: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com> Date: Wed, 29 Jul 2026 01:55:44 +0530 Subject: [PATCH] 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) --- apps/mobile/src/features/threads/thread-work-log.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/mobile/src/features/threads/thread-work-log.tsx b/apps/mobile/src/features/threads/thread-work-log.tsx index ee822e4e80..1682b12dd3 100644 --- a/apps/mobile/src/features/threads/thread-work-log.tsx +++ b/apps/mobile/src/features/threads/thread-work-log.tsx @@ -12,7 +12,6 @@ import { cn } from "../../lib/cn"; import type { ThreadFeedActivity } from "../../lib/threadActivity"; import { MOBILE_TYPOGRAPHY } from "../../lib/typography"; import Animated, { FadeIn } from "react-native-reanimated"; -import { useV2ItemSupport } from "../../state/v2-item-support"; import { ThreadActivityInspector } from "./ThreadActivityInspector"; import { threadWorkLogOverflowNoun } from "./thread-work-log-labels"; @@ -115,11 +114,6 @@ function ThreadActivityThreadLink(props: { readonly iconColor: import("react-native").ColorValue; }) { const row = props.activity.projectedItem; - const support = useV2ItemSupport({ - environmentId: props.environmentId, - sourceThreadId: row.sourceThreadId, - sourceItemId: row.sourceItemId, - }); const navigation = useNavigation(); const item = row.item; let targetThreadId: ThreadId | null = null;