Skip to content
Source
Sign inSign up
pingdotgg/t3code

refactor(web): move proactive right-panel opening out of ChatView #20309

Mergedjuliusmarmingemerged 1 commit intochatview-split/pull-requests fromrefs/pull/20309/headmerged by juliusmarminge View on GitHub

Showing 3 changed files with 15 additions and 143 deletions (loading 2).

x
0 of 3 viewed, 3 left
15 additions and 143 deletionsapps/web/src/components/ChatView.tsxModified
View file
@@ -62,7 +62,6 @@
type ServerProvider,
type ScopedThreadRef,
type ThreadId,
- type ThreadLinkedPullRequest,
type RunId,
type RuntimeRequestId,
type KeybindingCommand,
@@ -225,7 +224,6 @@
} from "../rightPanelLayout";
import { PopoverCreateHandle } from "./ui/popover";
import {
- pullRequestSurface,
selectActiveRightPanel,
selectActiveRightPanelSurface,
selectThreadPanelOpen,
@@ -463,6 +461,7 @@
} from "./chat/ThreadErrorBanner";
import { QueuedRunsControl, type QueuedRunsControlHandle } from "./chat/QueuedRunsControl";
import { useThreadLinkedPullRequest } from "./pullRequest/useThreadLinkedPullRequest";
+import { useProactivePanels } from "../hooks/useProactivePanels";
import type { ComposerBannerStackItem } from "./chat/ComposerBannerStack";
import { ThreadStatusLine } from "./chat/ThreadStatusLine";
import { formatRelativeTimeLabel, formatRelativeTimeUntilLabel } from "../timestampFormat";
@@ -502,9 +501,6 @@
isBranchMismatchDismissedForSession,
shouldShowBranchMismatchBanner,