Skip to content

Extend hover-highlight opt-out across extension-owned rows - #1167

Open
Tomasz Naumowicz (tnaum-ms) wants to merge 9 commits into
mainfrom
copilot/grid-extend-hover-highlight-opt-out
Open

Tomasz Naumowicz (tnaum-ms) wants to merge 9 commits into
mainfrom
copilot/grid-extend-hover-highlight-opt-out

Conversation

@tnaum-ms

@tnaum-ms Tomasz Naumowicz (tnaum-ms) commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Extends documentDB.accessibility.disableHighlightOnHover beyond Results Table and Tree to extension-owned row and item surfaces. Effective reduced motion remains an independent override and applies live through VS Code's body.vscode-reduce-motion class.

  • Policy rollout

    • Collection View Indexes
    • Cluster Dashboard database and collection rows
    • Connection Diagnostics check rows
    • Local Quick Start progress, completed-step, and setup-setting rows
  • Interaction preservation

    • Keeps focus, selection, selected-row foreground, pressed states, and actionable controls visible.
    • Suppresses only hover-only row feedback; links, tooltips, buttons, menus, form controls, and workbench-rendered surfaces remain unchanged.
  • Configuration

    • Reads the shared setting when each affected panel opens.
    • Existing panels retain their configuration snapshot; reduced-motion changes still apply live.
  • Documentation

    • Records the extension-owned surface inventory, four-state behavior matrix, and VS Code ownership exclusions.
    • Clarifies that affected panels must close and reopen to apply setting changes.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@tnaum-ms Tomasz Naumowicz (tnaum-ms) changed the title [WIP] Extend hover-highlight opt-out in results grids Extend hover-highlight opt-out across extension-owned rows Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

✅ CI passed: standard tier (ready PR)

Commit 2e3f647, workflow run.

Layer Result Ran or skipped because
Static checks ✅ passed every push
Unit tests ✅ passed every push
npm packages: verify tarballs ✅ passed packages/**, package-lock.json or the CI workflow changed
VSIX: inspect contents ✅ passed ready PR
VSIX: self-test of the checks ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
VSIX: activate in VS Code ✅ passed ready PR
VSIX: self-test of the activation check ✅ passed build/verification/**, build/vite/**, the Vite configs, package-lock.json or the CI workflow changed
Webview host in unbundled extensions ✅ passed packages/vscode-ext-webview/**, package-lock.json or the CI workflow changed
E2E ⏭️ not available yet arrives with the E2E iteration (full tier)

Full run: add the ci:full-requested label to run every layer once on the current commit.
No full run yet.

Code quality

Check Status How to fix
Localization (l10n) ✅ Passed Nothing to fix
ESLint ✅ Passed Nothing to fix
Prettier formatting ✅ Passed Nothing to fix

PR change stats

Area Files changed Lines added Lines removed Net lines
Production code 17 115 26 +89
Tests and fixtures 6 186 12 +174
Other Markdown 4 62 13 +49
Planning and review notes 7 101 11 +90
Generated files and lockfiles 1 1 1 0
Other files 1 1 1 0

Whole PR since the merge base. Net is added minus removed. Moves between areas count in both.

Review hotspots: most changed code and test files
  • packages/vscode-ext-webview-fluentui/src/components/StatusList/StatusList.test.tsx: +46 / -12
  • src/webviews/documentdb/localQuickStart/localQuickStartController.test.ts: +58 / -0
  • src/webviews/documentdb/collectionView/CollectionView.test.tsx: +32 / -0
  • packages/vscode-ext-webview-fluentui/src/components/StatusList/StatusList.tsx: +16 / -5
  • src/webviews/documentdb/clusterDashboard/clusterDashboardController.test.ts: +20 / -0

Build size

No page, activation, VSIX or other bundle size changed by 5% or 50 KiB or more against main. VSIX: 8.8 MiB.

Artifacts: VSIX | Bundle-reports-46994358976 | L1-manifest-report-46994358976

All graphs (exact bytes)
Graph PR bytes Base bytes Delta bytes Delta %
Collection View page (collectionView) 5,015,028 5,013,757 ⬆️ +1,271 +0.0%
Document View page (documentView) 4,464,893 4,463,685 ⬆️ +1,208 +0.0%
Local Quick Start page (localQuickStart) 1,236,520 1,234,748 ⬆️ +1,772 +0.1%
Atlas Credentials page (atlasCredentials) 1,165,005 1,163,419 ⬆️ +1,586 +0.1%
Cluster Dashboard page (clusterDashboard) 1,208,908 1,207,633 ⬆️ +1,275 +0.1%
Diagnose Connection page (connectionDiagnostics) 1,187,969 1,186,337 ⬆️ +1,632 +0.1%
Activation (mainStartup) 3,800,362 3,800,152 ⬆️ +210 +0.0%
Extension host (main) 10,476,382 10,476,172 ⬆️ +210 +0.0%
Playground worker (playgroundWorker) 5,410,436 5,410,436 ✅ 0 0.0%
VSIX (vsix) 9,222,445 9,222,023 ⬆️ +422 +0.0%
playgroundTsPlugin 6,175 6,175 ✅ 0 0.0%
viewsEntry 1,112,065 1,110,857 ⬆️ +1,208 +0.1%
viewsAssets 80,340 80,340 ✅ 0 0.0%
editorWorker 259,570 259,570 ✅ 0 0.0%
jsonWorker 389,427 389,427 ✅ 0 0.0%

Packaged bytes. Shared chunks count in every graph that loads them, so rows do not add up.

Updated in place on every run.

@tnaum-ms

Copy link
Copy Markdown
Collaborator Author

Copilot we have this in the codebase of the shareable component:

  • StatusList pointer colours and transition now read --documentdb-status-list-hover-background, --documentdb-status-list-hover-outline, and --documentdb-status-list-hover-transition. Consumers can suppress pointer-only feedback live while retaining the same keyboard-focus fill.

use neutral variable names that match the actual package name and name convention.
consider adding a new setting that carries over 'reduce motion' instruction.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Copilot we have this in the codebase of the shareable component:

  • StatusList pointer colours and transition now read --documentdb-status-list-hover-background, `--documentdb-status-list-hover-o...

Addressed in 49ebeb4. StatusList now has an explicit disableHighlightOnHover prop that preserves layout and keyboard-focus feedback, and its CSS variables use the component-neutral --status-list-row-hover-* namespace. Consumers still use those variables to apply VS Code reduced-motion changes live.

@tnaum-ms

Copy link
Copy Markdown
Collaborator Author

Copilot the affected package needs a version bump and the entry in the change log of the package needs to be associated with the new version, not with the existing one.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Copilot the affected package needs a version bump and the entry in the change log of the package needs to be associated with the new version, not with the existing one.

Addressed in 09b8380. @microsoft/vscode-ext-webview-fluentui is now 1.4.0 in the package manifest and lockfile, and the StatusList.disableHighlightOnHover changelog entry is under 1.4.0 rather than 1.3.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

#grid Extend the hover-highlight opt-out beyond the Results grids #rdg

2 participants