Skip to content

chore: chat and related fixes - #927

Merged
ussaama merged 1 commit into
mainfrom
chore/chat-fixes
Jul 30, 2026
Merged

chore: chat and related fixes#927
ussaama merged 1 commit into
mainfrom
chore/chat-fixes

Conversation

@ussaama

@ussaama ussaama commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

implementation instead of three drifting copies

  • Fix classic Specific Details to show "Context added" instantly on send, replacing a fragile history-refetch race with a local stand-in that's swapped for the real message once history reconciles
  • Fix scroll-to-bottom detection for chats that render their thread after an initial loading/mode-picker screen; the anchor-wait path now uses a scoped MutationObserver (via a new data-app-scroll-root marker) instead of a busy per-frame poll
  • Give agentic template pills their mode-accent border and fix long labels overflowing instead of truncating
  • Add a count-only mode to ConversationFocusChips and use it on the New Chat picker screen, removing a duplicated hand-rolled chips block
  • Add a disabled prop to ConversationFocusChips, separate from isClearing, so blocking the control for unrelated reasons doesn't misuse the clear-action's own loading state
  • Revert the agentic error-message masking added earlier in this branch (agentic_worker.py) to redo it together with a related prompt fix, rather than ship a half-finished whitelist
  • Add test coverage for the previously untested ConversationFocusChips precedence rules and the useStickToBottom hook's container resolution, scroll-target selection, and resize/mutation-driven remeasurement

…kerButton, and ChatTemplatesMenuConnected so classic, agentic, and Ask home chat share one composer, chips, and templates-menu

  implementation instead of three drifting copies
  - Fix classic Specific Details to show "Context added" instantly on send, replacing a fragile history-refetch race with a local stand-in that's swapped for the real message once history reconciles
  - Fix scroll-to-bottom detection for chats that render their thread after an initial loading/mode-picker screen; the anchor-wait path now uses a scoped MutationObserver (via a new data-app-scroll-root
  marker) instead of a busy per-frame poll
  - Give agentic template pills their mode-accent border and fix long labels overflowing instead of truncating
  - Add a count-only mode to ConversationFocusChips and use it on the New Chat picker screen, removing a duplicated hand-rolled chips block
  - Add a disabled prop to ConversationFocusChips, separate from isClearing, so blocking the control for unrelated reasons doesn't misuse the clear-action's own loading state
  - Revert the agentic error-message masking added earlier in this branch (agentic_worker.py) to redo it together with a related prompt fix, rather than ship a half-finished whitelist
  - Add test coverage for the previously untested ConversationFocusChips precedence rules and the useStickToBottom hook's container resolution, scroll-target selection, and resize/mutation-driven remeasurement
@ussaama
ussaama merged commit 025d11f into main Jul 30, 2026
10 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