diff --git a/docs/split-groups-rollout-pr6.md b/docs/split-groups-rollout-pr6.md new file mode 100644 index 00000000..4abd45f7 --- /dev/null +++ b/docs/split-groups-rollout-pr6.md @@ -0,0 +1,14 @@ +# Split Groups PR 6: Enable Split Groups + +This branch turns split groups on after the earlier model, lifecycle, restore, +and renderer-ownership branches are in place. + +Scope: +- remove the temporary rollout gate from `Terminal.tsx` +- make the split-group ownership path the active renderer path +- keep only the small bootstrap fallback for cases where no layout exists yet + +What Is Actually Hooked Up In This PR: +- split groups are live +- `Terminal.tsx` always resolves through the split-group path when layout/group state exists +- the temporary gate introduced in the dark-launch PR is removed instead of left behind as dead config diff --git a/package.json b/package.json index a6030900..b696c281 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orca", - "version": "1.1.33-rc.3", + "version": "1.1.33-rc.4", "description": "An Electron application with React and TypeScript", "homepage": "https://github.com/stablyai/orca", "author": "stablyai", diff --git a/src/renderer/src/components/Terminal.tsx b/src/renderer/src/components/Terminal.tsx index 4c6049bb..d0318cb9 100644 --- a/src/renderer/src/components/Terminal.tsx +++ b/src/renderer/src/components/Terminal.tsx @@ -31,10 +31,6 @@ import { shouldAutoCreateInitialTerminal } from './terminal/initial-terminal' import CodexRestartChip from './CodexRestartChip' const EditorPanel = lazy(() => import('./editor/EditorPanel')) -// Why: keep the split-group renderer path dark until dedicated Playwright -// coverage lands. This branch keeps the implementation and correctness fixes, -// but the user-visible rollout stays on the legacy workspace path by default. -const ENABLE_SPLIT_GROUPS = false function Terminal(): React.JSX.Element | null { const activeWorktreeId = useAppStore((s) => s.activeWorktreeId) @@ -123,9 +119,7 @@ function Terminal(): React.JSX.Element | null { [activeGroupIdByWorktree, groupsByWorktree, layoutByWorktree] ) const effectiveActiveLayout = activeWorktreeId - ? ENABLE_SPLIT_GROUPS - ? getEffectiveLayoutForWorktree(activeWorktreeId) - : undefined + ? getEffectiveLayoutForWorktree(activeWorktreeId) : undefined const activeWorktree = activeWorktreeId ? (allWorktrees.find((worktree) => worktree.id === activeWorktreeId) ?? null)