Skip to content

fix(flow-chat): reorganize composer context controls - #2625

Merged
bobleer merged 1 commit into
GCWing:1.0.0-explorefrom
bobleer:bob/reorder-composer-context-controls
Aug 29, 2026
Merged

fix(flow-chat): reorganize composer context controls#2625
bobleer merged 1 commit into
GCWing:1.0.0-explorefrom
bobleer:bob/reorder-composer-context-controls

Conversation

@bobleer

@bobleer bobleer commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • reorder the composer context rail to show workspace and branch before the execution target
  • move worktree isolation into the local target menu as New Worktree, reflecting the selected local mode on the trigger
  • remove the down chevrons from the workspace and execution-target controls while preserving their menus
  • keep the standalone worktree switch only as a fallback for embedded surfaces without the target picker

Verification

  • pnpm --dir src/web-ui run test:run src/features/dispatch/DispatchTargetPicker.test.tsx src/flow_chat/components/ChatInputWorkspaceStrip.test.tsx src/flow_chat/components/ChatInputWorkspaceStripLayout.test.ts (54 tests)
  • pnpm run check:web
  • pnpm run i18n:audit
  • targeted ESLint for changed TypeScript files (0 errors; test files are ignored by repository config)
  • browser visual/interaction QA in dark zh-CN state: workspace menu, local menu, New Worktree selection, local restoration, and icon counts

Remote scenarios

This is a Web UI presentation and local session-mode wiring change. It was exercised in a local browser harness. Remote workspace, remote control, Peer Device Mode, and Detached Dispatch behavior are unchanged and were not separately exercised.

AI assistance

Implemented and verified with AI assistance.

@bobleer
bobleer force-pushed the bob/reorder-composer-context-controls branch from 6ac376c to 706ae5b Compare August 29, 2026 02:50
@bobleer
bobleer merged commit a502079 into GCWing:1.0.0-explore Aug 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant