Redesign query result summary and settings#21467
Conversation
…ed performance and clarity
… better visibility
…ummary # Conflicts: # extensions/mssql/package.json # extensions/mssql/src/controllers/mainController.ts # extensions/mssql/src/queryResult/queryResultWebViewController.ts # localization/xliff/vscode-mssql.xlf
PR Changes
|
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (56.98%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #21467 +/- ##
==========================================
+ Coverage 72.67% 72.80% +0.12%
==========================================
Files 331 331
Lines 98489 98424 -65
Branches 5462 5475 +13
==========================================
+ Hits 71580 71660 +80
+ Misses 26909 26764 -145
🚀 New features to boost your workflow:
|
…n configuration changes and add unit tests for the new behavior
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 19 out of 22 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
extensions/mssql/src/reactviews/pages/QueryResult/queryResultSettingsControl.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 20 out of 23 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <trans-unit id="++CODE++2ada9c77ff43c3a64eb670413987d527359f366fe2ddc314dfdfd6102df8ba07"> | ||
| <source xml:lang="en">Results Settings</source> | ||
| </trans-unit> |
There was a problem hiding this comment.
New trans-units were added/removed in the source vscode-mssql.xlf, but the corresponding localized XLIFF files (e.g. localization/xliff/vscode-mssql.de.xlf, etc.) still contain removed entries (like “Average: {0}”) and don’t include the new ones (like “Results Settings”). Please run yarn localization and commit the updated localization/xliff/*.xlf outputs so the repo’s localization files stay in sync.
| <trans-unit id="++CODE++2ada9c77ff43c3a64eb670413987d527359f366fe2ddc314dfdfd6102df8ba07"> | |
| <source xml:lang="en">Results Settings</source> | |
| </trans-unit> |
| <Switch | ||
| checked={openResultsInEditorTabByDefault} | ||
| onChange={(_event, data) => { | ||
| void setDefaultResultLocation(data.checked); | ||
| }} | ||
| /> |
There was a problem hiding this comment.
The Switch control has no accessible label. In other React views (e.g. SchemaDesigner) the Switch uses the label prop so screen readers announce what the toggle does. Please add a label (or an equivalent aria-label association) describing the setting being toggled.
Description
Before:
Before: (with cell selection)


Now: (With cell selection)
Code Changes Checklist
npm run test)Reviewers: Please read our reviewer guidelines