File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ import {
302302 ChatPaneHeaderControls ,
303303 useHeaderControlsInset ,
304304} from "./chat/ChatPaneHeader" ;
305- import { PaneHeaderActions } from "./chat/PaneHeaderActions" ;
306305import GitActionsControl from "./GitActionsControl" ;
307306import { useOpenFavoriteEditorShortcut } from "./chat/OpenInPickerShortcut" ;
308307import { PanelLayoutControls , type PanelLayoutControlsProps } from "./chat/PanelLayoutControls" ;
@@ -3416,13 +3415,6 @@ export default function ChatView(props: ChatViewProps) {
34163415 ) ;
34173416 const panelLayoutControls = (
34183417 < ChatPaneHeaderControls measureRef = { measureHeaderControls } >
3419- < PaneHeaderActions
3420- environmentId = { activeThread . environmentId }
3421- threadId = { activeThread . id }
3422- { ...( draftId ? { draftId } : { } ) }
3423- activeProjectName = { activeProject ?. title }
3424- projectId = { activeProject ?. id ?? null }
3425- />
34263418 { panelToggleControls }
34273419 </ ChatPaneHeaderControls >
34283420 ) ;
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { useState } from "react";
66import {
77 AuthOrchestrationOperateScope ,
88 type EnvironmentId ,
9- type ProjectId ,
109 type ScheduledTask ,
1110 type ThreadId ,
1211} from "@t3tools/contracts" ;
@@ -237,11 +236,3 @@ export function ThreadAutomationsPanel(props: {
237236 </ ThreadDetailsSection >
238237 ) ;
239238}
240-
241- export function ProjectAutomationsHeaderControl ( _props : {
242- readonly environmentId : EnvironmentId ;
243- readonly projectId : ProjectId ;
244- readonly projectName : string ;
245- } ) {
246- return null ;
247- }
Original file line number Diff line number Diff line change 77 ChatPaneHeaderControls ,
88 useHeaderControlsInset ,
99} from "../components/chat/ChatPaneHeader" ;
10- import { PaneHeaderActions } from "../components/chat/PaneHeaderActions" ;
1110import { PanelLayoutControls } from "../components/chat/PanelLayoutControls" ;
1211import { useComposerDraftStore } from "../composerDraftStore" ;
1312import { shortcutLabelForCommand } from "../keybindings" ;
@@ -52,15 +51,6 @@ export function ChatPaneStandIn({ target }: { target: ThreadRouteTarget }) {
5251 < div className = "flex min-h-0 min-w-0 flex-1 flex-col overflow-x-hidden" >
5352 < ChatPaneHeader reserveNativeControlsInset >
5453 < ChatPaneHeaderControls measureRef = { measureControls } >
55- { threadRef ? (
56- < PaneHeaderActions
57- environmentId = { threadRef . environmentId }
58- threadId = { threadRef . threadId }
59- { ...( target . kind === "draft" ? { draftId : target . draftId } : { } ) }
60- activeProjectName = { project ?. title }
61- projectId = { project ?. id ?? null }
62- />
63- ) : null }
6454 < PanelLayoutControls
6555 threadPanelOpen = { threadPanelOpen }
6656 threadPanelPresentation = "inline"
You can’t perform that action at this time.
0 commit comments