Skip to content

fix(JVNAUTOSCI-1441): thinking card diagnostic details can be collapsed again#238

Merged
witbrock merged 1 commit intomainfrom
workflow-jira-full-reconciliation
Mar 15, 2026
Merged

fix(JVNAUTOSCI-1441): thinking card diagnostic details can be collapsed again#238
witbrock merged 1 commit intomainfrom
workflow-jira-full-reconciliation

Conversation

@witbrock
Copy link
Member

Fixes the cosmetic bug where thinking card diagnostic

Details rows could be expanded but not collapsed.

Root cause: Two interacting issues:

  1. Interactive <button> elements inside <summary> intercepted clicks, preventing native <details> toggle
  2. bindConceptSelectionClicks called event.preventDefault() on concept link clicks, suppressing the <summary> default toggle action

Fix:

  • Collapsible <summary> elements now use plain text instead of <button> HTML
  • bindConceptSelectionClicks skips preventDefault when click originates inside a <summary>

Tests: 2 regression tests added, 2 existing tests updated. All 115 chatTab tests pass.

Resolves JVNAUTOSCI-1441

…ed again

- Use plain text in <summary> for collapsible diagnostic rows instead of
  interactive <button> elements that block native <details> toggle
- Skip event.preventDefault in bindConceptSelectionClicks when click
  target is inside a <summary>/<details> element
- Add two regression tests for the toggle behaviour
- Update two existing tests to match new plain-text summary output
@witbrock witbrock merged commit fee8634 into main Mar 15, 2026
1 check 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