Skip to content

Revert "ensure rendering of questions can happen while askQuestions tool call is in flight and chat is moved"#297801

Merged
meganrogge merged 1 commit intomainfrom
revert-297768-merogge/ask-in-flight
Feb 25, 2026
Merged

Revert "ensure rendering of questions can happen while askQuestions tool call is in flight and chat is moved"#297801
meganrogge merged 1 commit intomainfrom
revert-297768-merogge/ask-in-flight

Conversation

@meganrogge
Copy link
Collaborator

Reverts #297768

Turns out this didn't fix it - there's just a timing based repro

Copilot AI review requested due to automatic review settings February 25, 2026 21:42
@meganrogge meganrogge self-assigned this Feb 25, 2026
@meganrogge meganrogge added this to the February 2026 milestone Feb 25, 2026
@meganrogge meganrogge enabled auto-merge (squash) February 25, 2026 21:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts PR #297768, which attempted to fix an issue where question carousels from the askQuestions tool wouldn't render properly when the chat widget was moved while the tool call was in flight. The original fix introduced two changes: (1) a DOM connection check to prevent refresh operations when the container is disconnected, and (2) tracking response parts length to trigger re-renders when new content parts (like question carousels) are added. However, the original fix did not actually solve the problem, which turned out to be timing-based rather than related to DOM connection or content part tracking.

Changes:

  • Removes the isConnected check that prevented refresh when the chat list widget container is disconnected from the DOM
  • Removes the response parts length tracking (element.response.value.length) from the tree element ID generation logic

@meganrogge meganrogge merged commit 82256ab into main Feb 25, 2026
24 checks passed
@meganrogge meganrogge deleted the revert-297768-merogge/ask-in-flight branch February 25, 2026 22:15
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.

3 participants