Skip to content

refactor(chat ui): optimize thinking block expand/collapse logic and … - #1994

Merged
limityan merged 1 commit into
GCWing:mainfrom
lwecei:main
Aug 3, 2026
Merged

refactor(chat ui): optimize thinking block expand/collapse logic and …#1994
limityan merged 1 commit into
GCWing:mainfrom
lwecei:main

Conversation

@lwecei

@lwecei lwecei commented Aug 3, 2026

Copy link
Copy Markdown

…interaction UX

Refactor the thinking_disclosures comments and logic to support global expand/collapse modes.

Ensure that mouse hover tracking and click event handling are only active when the thinking mode is set to Hide.

Preserve the state of manually expanded blocks when toggling the global thinking display mode.

Add test cases to verify that manually expanded states persist across back-and-forth mode switches.

Summary

Fixes #

Type and Areas

Type:

Areas:

Motivation / Impact

Verification

Reviewer Notes

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

…interaction UX

Refactor the thinking_disclosures comments and logic to support global expand/collapse modes.

Ensure that mouse hover tracking and click event handling are only active when the thinking mode is set to Hide.

Preserve the state of manually expanded blocks when toggling the global thinking display mode.

Add test cases to verify that manually expanded states persist across back-and-forth mode switches.
@limityan
limityan merged commit 68d1a12 into GCWing:main Aug 3, 2026
7 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.

2 participants