Repository navigation
Trace Generation Dialog: Add clear button for multi-select dropdown controls - #1344
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The review reports no active issues with the multi-select clear-all changes.
No open issues 🎉
What changed in this PR
Adds clear-all buttons to multi-select controls in the Trace Generation dialog, addressing the selection-reset usability request in #1292.
Changes:
- Clears all selections in one action, returns focus to the dropdown, and disables clearing when nothing is selected.
- Updates control layout and focus styling while preserving dropdown state across host refreshes.
- Adds tests for clearing interactions, host synchronization, and saving cleared selections without removing unrelated configuration.
| File | Description |
|---|---|
src/webviews/trace-configuration/src/trace-configuration.ts |
Adds clear buttons and updates selection, focus, and interaction handling. |
src/webviews/trace-configuration/src/trace-configuration.test.ts |
Extends DOM fixtures and tests clear-button behavior. |
src/webviews/trace-configuration/src/trace-configuration.css |
Styles clear buttons, focus indicators, and truncated selection labels. |
src/views/trace-configuration/trace-configuration-model.test.ts |
Tests persistence of cleared event counters, ITM channels, and privilege ranges. |
Review effort: Balanced
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|

Fixes
Changes
Screenshots
Checklist