Skip to content

fix(web-ui): smooth FlowChat auto-collapse without pane flash - #1836

Merged
bobleer merged 2 commits into
GCWing:mainfrom
bobleer:fix/flowchat-collapse-smoothness
Jul 28, 2026
Merged

fix(web-ui): smooth FlowChat auto-collapse without pane flash#1836
bobleer merged 2 commits into
GCWing:mainfrom
bobleer:fix/flowchat-collapse-smoothness

Conversation

@bobleer

@bobleer bobleer commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Animate FlowChat auto-collapse with a shared 300ms height/opacity/transform contract instead of instant hide, covering thinking, explore groups, file ops, terminal/exec/git, and subagent panels.
  • Keep collapse-intent scroll protection for the full animation window and coalesce overlapping intents so the virtualized list does not drop-then-snap or flash during streaming.
  • Stabilize explore-group projection identity (no mid-stream model-roundexplore-group remount) and stop BaseToolCard ↔ CompactToolCard hard shell swaps on expand/collapse.

Test plan

  • pnpm run type-check:web
  • Focused vitest: SmoothHeightCollapse, flowChatCollapseMotion, modernFlowChatStore, modelRoundItemGrouping, useToolCardHeightContract, VirtualMessageList.session-boundary
  • Manual: stream a turn with thinking → explore tools → write/edit → task/subagent → terminal; confirm smooth auto-collapse and no whole-pane jump/flash

bobleer added 2 commits July 28, 2026 22:45
Animate shared collapse motion for thinking/explore/tool/terminal cards,
keep collapse-intent protection for the full animation window, and stop
explore projection key swaps that remount the virtualized list.
Align ExecProcess/Git/FileOperation tests with the stable BaseToolCard
shell and SmoothHeightCollapse auto-collapse timing.
@bobleer
bobleer merged commit a48606d into GCWing:main Jul 28, 2026
13 of 14 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