Skip to content

fix(settings): prevent Subagent model gear click from freezing UI#1624

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/subagent-model-settings-button-freeze
Jul 19, 2026
Merged

fix(settings): prevent Subagent model gear click from freezing UI#1624
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/subagent-model-settings-button-freeze

Conversation

@bobleer

@bobleer bobleer commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix UI freeze when clicking the Subagent default model settings gear by changing ConfigPageRow label/description wrappers from <p> to <div> (invalid button-in-<p> nesting could hang React's event path).
  • Add a one-line description under Subagent default model, matching the default model rows.
  • Stabilize SessionTitleConfig notification callback dependencies to avoid reload loops.

Test plan

  • Open Settings → Models
  • Confirm Subagent default model shows the description subtitle
  • Click the gear next to Subagent default model and confirm BitFun navigates to Agents without freezing
  • Toggle session title enable/model and confirm settings still save normally

ConfigPageRow labels used <p>, so embedding IconButton created invalid
button-in-p nesting that could hang React's event path. Also add the
Subagent default model description and stabilize SessionTitleConfig
notification deps.
@bobleer
bobleer merged commit fe61959 into GCWing:main Jul 19, 2026
2 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