Repository navigation
fix(flowchat): fit tool groups to the resized reading column - #3785
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.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