Skip to content

Commit f71e6a2

Browse files
fix(web): restore the branch's slim chat header
The round-3 reconciliation took main's ChatHeader wholesale and wired its full prop set, resurrecting the scripts/open-in/git-actions cluster the branch had deliberately relocated into the thread panel. Restore the 79-line slim header (project favicon + name + thread title) and its minimal ChatView call. pingdotgg#5592's header actions stay a documented v2 follow-up, as decided in round 2. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 7d4f97b commit f71e6a2

2 files changed

Lines changed: 37 additions & 319 deletions

File tree

‎apps/web/src/components/ChatView.tsx‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6530,32 +6530,12 @@ function ChatViewContent(props: ChatViewProps) {
65306530
? panelLayoutControls
65316531
: null}
65326532
<ChatHeader
6533-
{...(!supportsPullRequests || threadRepository === null
6534-
? {}
6535-
: { onOpenPullRequest: openThreadPullRequest })}
65366533
activeThreadEnvironmentId={activeThread.environmentId}
6537-
activeThreadId={activeThread.id}
6538-
{...(routeKind === "draft" && draftId ? { draftId } : {})}
65396534
activeThreadTitle={activeThread.title}
6540-
isServerThread={isServerThread}
6541-
changeRequestState={activeThreadPr?.state ?? null}
65426535
activeProjectName={activeProject?.title}
65436536
activeProjectCwd={activeProject?.workspaceRoot ?? null}
6544-
activeProjectFaviconPath={activeProject?.faviconPath ?? null}
6545-
openInCwd={gitCwd}
6546-
activeProjectScripts={activeProject?.scripts}
6547-
preferredScriptId={
6548-
activeProject ? (lastInvokedScriptByProjectId[activeProject.id] ?? null) : null
6549-
}
6550-
keybindings={keybindings}
6551-
availableEditors={availableEditors}
65526537
rightPanelOpen={inlineRightPanelOwnsTitleBar}
6553-
gitCwd={gitCwd}
65546538
onNewThreadInProject={handleNewThreadInActiveProject}
6555-
onRunProjectScript={runProjectScript}
6556-
onAddProjectScript={saveProjectScript}
6557-
onUpdateProjectScript={updateProjectScript}
6558-
onDeleteProjectScript={deleteProjectScript}
65596539
/>
65606540
</header>
65616541

0 commit comments

Comments
 (0)