Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): add resizable split view between threads #48291

Openmgilank(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/48291/headopened View on GitHub

Showing 25 changed files with 210 additions and 1 deletion (loading 22).

x
0 of 25 viewed, 25 left
3 additions and 1 deletionapps/web/src/components/chat/ChatHeader.tsxModified
View file
@@ -57,6 +57,7 @@
parentThreadLink: { threadId: ThreadId; title: string } | null;
onOpenThread: (threadId: ThreadId) => void;
rightPanelOpen: boolean;
+ inlineControls?: boolean;
onNewThreadInProject: () => void;
onOpenProjectSettings?: (() => void) | undefined;
onFindInThread?: ((threadRef: ScopedThreadRef) => void) | undefined;
@@ -82,6 +83,7 @@
parentThreadLink,
onOpenThread,
rightPanelOpen,
+ inlineControls = false,
onNewThreadInProject,
onOpenProjectSettings,
onFindInThread,
@@ -258,7 +260,7 @@
ref={breadcrumbContainerRef}
className={cn(
"flex min-w-0 flex-1 items-center gap-2 sm:gap-3",
- rightPanelOpen ? "pr-10" : "pr-24",
+ inlineControls ? "pr-2" : rightPanelOpen ? "pr-10" : "pr-24",
onContextMenu={handleHeaderContextMenu}
3 additions and 0 deletionsapps/web/src/components/chat/PanelLayoutControls.tsxModified
View file