Skip to content

fix(flowchat): fit tool groups to the resized reading column - #3785

Merged
bobleer merged 1 commit into
openBitFun:mainfrom
bobleer:bob/fix-flowchat-group-width
Nov 6, 2026
Merged

bobleer merged 1 commit into
openBitFun:mainfrom
bobleer:bob/fix-flowchat-group-width

Conversation

@bobleer

@bobleer bobleer commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Dragging the FlowChat reading column beyond 900px left file revision summaries, exploration/execution groups, context-load groups, their search toolbars, and separately virtualized members narrower than ordinary tool cards. Remove the shared group's independent 900px cap so each group fills its containing column, retaining the existing content insets and compact controls.

Update the owning layout documentation and the outdated fixed-width comment.

Type and Areas

Type: bug fix

Areas: shared FlowChat design-system presentation, Web UI

Motivation / Impact

In the native reproduction, a 1096px reading column produced a 1072px ordinary write card, while group containers remained 900px wide. Groups now follow the same column during drag previews and after release, including shrinking into a narrow pane and restoring the preferred width.

Verification

  • pnpm run check:web — passed, including type checking and appearance/theme audits.
  • pnpm run build:web — passed, including production asset and WebKit compatibility checks.
  • pnpm --dir src/web-ui run test:run src/flow_chat/components/FlowChatWidthBoundary.test.tsx src/infrastructure/appearance/preferences/flowChatWidthStore.test.ts src/app/scenes/settings/pages/application/FlowChatWidthSettingsSection.test.tsx src/flow_chat/components/modern/FlowChatColumnAxis.test.ts src/flow_chat/components/modern/FlowChatCollapseAlignment.test.ts src/flow_chat/components/modern/FlowGroupLifecycle.test.tsx src/flow_chat/components/modern/VirtualMessageList.resize.test.tsx — 7 files, 58 tests passed.
  • Isolated macOS native WKWebView, built Web UI with bundled web fonts and generated persisted history: 16 geometry cases passed across 516, 600, 720, 900 and 1096px. Covered both resize handles, intermediate drag previews, collapsed/expanded file and work groups, virtualized members, context groups, ordinary and agent cards, narrow-pane fitting and width restoration. The native harness dispatches production PointerEvent handlers; this is layout evidence, not OS input-device coverage.
  • git diff --check — passed.

Reviewer Notes

AI-assisted change; locally validated with focused tests, production builds and native geometry checks. The fix is in shared group anatomy rather than per-card overrides. Existing capsule, search-field and popup sizing remains owned by those components.

Presentation only: no persisted or wire shapes change. Live remote workspace, Remote Control, Peer Device and Detached Dispatch scenarios were not exercised.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

@bobleer
bobleer merged commit a1cbd96 into openBitFun:main Nov 6, 2026
9 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