Skip to content

fix(web-ui): session panel header layout and flow chat stability#275

Merged
GCWing merged 2 commits intomainfrom
fix/btw-session-panel-header-layout
Mar 26, 2026
Merged

fix(web-ui): session panel header layout and flow chat stability#275
GCWing merged 2 commits intomainfrom
fix/btw-session-panel-header-layout

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Mar 26, 2026

Summary

  • BtwSessionPanel header: flex layout and meta ellipsis (earlier commit on this branch).
  • VirtualMessageList: batch MutationObserver callbacks with a microtask to avoid redundant measure/follow work.
  • Flow chat events: initializeEventListeners now returns a cleanup function; FlowChatManager.cleanupEventListeners() removes Tauri and agentic listeners.
  • Resilience: .catch logging on state-machine transitions and SubagentModule dynamic import; try/catch around FlowChatStore subscribers and Tauri event callbacks so one bad listener does not break the rest.

Testing

  • Desktop dev smoke: open flow chat, send a message, confirm streaming and tool events still behave as expected.

GCWing added 2 commits March 26, 2026 18:33
- Coalesce MutationObserver work in VirtualMessageList via microtask batching

- Return cleanup from initializeEventListeners; expose FlowChatManager.cleanupEventListeners

- Log rejected state-machine transitions and SubagentModule load failures

- Isolate listener/callback errors in FlowChatStore and TauriTransportAdapter
@GCWing GCWing merged commit 07849c4 into main Mar 26, 2026
4 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