Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ai-and-plans/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ treat `status: historical` or `status: superseded` as current.
| [atlas-discovery](./features/atlas-discovery/README.md) | MongoDB Atlas discovery: Admin API auth, discovery tree, credentials | shipped |
| [kubernetes-discovery](./features/kubernetes-discovery/README.md) | Kubernetes service discovery and connect-time reachability providers | shipped |
| [webview-ext-package](./features/webview-ext-package/README.md) | `@microsoft/vscode-ext-webview`: the extracted webview transport package | published preview |
| [webview-fluentui-package](./features/webview-fluentui-package/README.md) | `@microsoft/vscode-ext-webview-fluentui`: Fluent theming and reusable components for webviews | 1.3.0 prepared |
| [webview-fluentui-package](./features/webview-fluentui-package/README.md) | `@microsoft/vscode-ext-webview-fluentui`: Fluent theming and reusable components for webviews | 2.0.0 prepared |
| [connections-tree](./features/connections-tree/README.md) | The Connections view: node item counts, connection load performance | shipped |
| [no-auth](./features/no-auth/README.md) | Credential-free connections and connection-string TLS handling | shipped |
| [managed-identities](./features/managed-identities/README.md) | Explicit managed identity authentication from Azure VMs | PR #886 |
Expand Down
6 changes: 4 additions & 2 deletions docs/ai-and-plans/features/data-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ released extension version or completion of the remaining handover gates.
Table arrays retain `array[N]`. Tree containers show direct field/element counts.
- Native platform Copy copies the active cell's display text, including a preview, without
type decorations. Read-only cells do not offer substring selection; typed copy is future work.
- The hover opt-out setting or effective reduced motion suppresses Table/Tree hover highlights,
retaining focus and selection. A polite Escape hint is frozen once per confirmed grid entry.
- The hover opt-out setting or effective reduced motion suppresses hover-only row/item feedback
in the owned grid, Indexes, dashboard, status-list and Local Quick Start setup-table surfaces,
retaining keyboard feedback and Results selection. A polite Escape hint is frozen once per
confirmed grid entry.

The exact VS Code support declaration is `^1.123.0` in the root `package.json` (minimum
`1.123.0`). A9's isolated VSIX install and activation on VS Code 1.123.0 passed, but did not
Expand Down
6 changes: 4 additions & 2 deletions docs/ai-and-plans/features/data-grid/decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,10 @@ not the earlier migration gates.
- **Item 6 — either preference suppresses hover.** Disable pointer tracking in Table and Tree
when the extension opt-out is true **or** reduced motion is enabled. Preserve keyboard focus
and selection feedback. The setting is `documentDB.accessibility.disableHighlightOnHover`, default
`false`; the setting description must say reduced motion overrides it. Reuse this rule in
the later rollout to other surfaces.
`false`; the setting description must say reduced motion overrides it. The follow-up rollout
reuses this rule for Collection View Indexes, Cluster Dashboard namespace rows, Connection
Diagnostics check rows and Local Quick Start status and setup-setting rows. Workbench-rendered
surfaces and control/link/tool-tip hover states stay outside its scope.
- **Item 7 — keep the Escape hint on entry.** Announce it once per entry to Table or Tree,
not on each cell move. With Table rows selected, Escape clears selection before a second
press exits. NVDA/Narrator checks verify delivery; they do not reopen the feature decision.
Expand Down
28 changes: 25 additions & 3 deletions docs/ai-and-plans/features/data-grid/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,31 @@ scrolling, not selection or expansion.
Per [decision 0006](./decisions.md#0006---ux-review-sizing-gate-previews-copy-and-hover),
either `documentDB.accessibility.disableHighlightOnHover` (default `false`) or effective
reduced motion suppresses hover-only row backgrounds and selected-row hover foregrounds.
Focus and selection remain visible. The extension setting applies when Collection View
reopens; VS Code's `body.vscode-reduce-motion` class takes effect live. Other surfaces
are outside this rollout.
Focus and selection remain visible. The extension setting applies when an affected webview
reopens; VS Code's `body.vscode-reduce-motion` class takes effect live.

### Extension-owned hover inventory

Pointer presence itself comes from the browser's `:hover` or RDG's row rendering. No view
tracks the mouse in React state. The owning extension component controls the visual feedback,
so every surface below applies the same condition: hover is shown only when the setting is
off and VS Code has not added `body.vscode-reduce-motion`.

| Surface | Owning component / pointer tracking | Off + normal | On + normal | Off + reduced | On + reduced |
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| Results Table and Tree | RDG renders rows; `dataGridTheme.scss` owns background and selected-foreground variables | Hover background and selected hover foreground | Base background; selected foreground remains the inactive selection color | Same as setting on | Same as setting on |
| Collection View Indexes rows | Fluent `TableRow` in `IndexTable`; `indexesTab.scss` owns the row-cell `:hover` | Hover background | Alternating base background | Alternating base background | Alternating base background |
| Cluster Dashboard namespace rows | Fluent `TableRow` in `NamespaceTable`; `clusterDashboard.scss` owns the row `:hover` | Hover background | Base background | Base background | Base background |
| Connection Diagnostics check rows and Local Quick Start status rows | Package `StatusList`; Griffel owns the `listitem` `:hover`; each consumer supplies the setting state | Hover background | No pointer background; keyboard-focus background remains | No pointer background; keyboard-focus background remains | No pointer background; keyboard-focus background remains |
| Local Quick Start setup-setting and editor rows | Fluent `TableRow`; `localQuickStart.scss` owns the suppression of Fluent's row `:hover` | Hover background and foreground | Base background and foreground | Base background and foreground | Base background and foreground |

The last two StatusList consumers do not have row selection. Index and namespace rows have
action controls, whose own hover, pressed and focus states are intentionally unchanged.
Links, tooltips, form controls, Fluent buttons/cards/menus/options, expanders and Monaco
widgets are not row/item tracking and are excluded. Dashboard row actions intentionally retain
their own hover and focus feedback. Native VS Code context menus, workbench-owned tree views,
quick picks, notifications and menus are also excluded because the extension does not own
their rendering.

Table and Tree mount a polite Escape hint once per confirmed grid entry. Its message is
chosen from the entry view/selection and stays frozen during cell moves or selection changes,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
kind: ai-review
status: completed
created: 2026-12-02
---

# Hover opt-out rollout pre-review

## Stage 1

The initial review found three medium-severity issues:

1. Fluent Table hover background or foreground could remain visible under the opt-out in
Indexes and Cluster Dashboard.
2. The Indexes hover selector outranked its pressed-state selector.
3. Local Quick Start's setup-settings table was missing from the rollout.

All three were valid and fixed. The validation pass found no remaining code defects. Browser
checks confirmed the setting and live reduced-motion cases for Results, Indexes, Dashboard,
StatusList rows and the Local Quick Start table. No other extension-owned row/item hover
surfaces were found. Native VS Code controls and workbench-rendered trees, menus, quick picks
and notifications remain excluded.

## PR feedback

### C01 — Shareable component API

`StatusList` now exposes `disableHighlightOnHover`, which suppresses pointer-only feedback while
retaining row layout and keyboard focus. Its CSS customization points use component-neutral
`--status-list-*` names. Consumers continue to carry VS Code's live reduced-motion instruction
through those variables, rather than using a DocumentDB-specific class or variable namespace.

The package is bumped from `1.3.0` to `1.4.0`, and the changelog entry for this additive API is
recorded under `1.4.0` rather than modifying the existing `1.3.0` entry.

## Author decisions

- Keep the shared accessibility setting; do not add view-specific settings.
- Keep pointer-only hover disabled only for the combination
`disableHighlightOnHover || body.vscode-reduce-motion`.
- Preserve Table selection, selected foreground, keyboard focus, pressed feedback, action
controls, links and tooltips.
- Preserve the existing read-on-open configuration semantics. The reduced-motion body class
remains live.

## Verification

- Focused hover tests: 68 passed.
- Build and strict test type checks passed.
- Browser-computed styles verified hover, opt-out and reduced-motion behavior.
- Full runtime suite passed after restoring lockfile-pinned dependencies: 10,161 passed,
1 skipped.
- Packaging passed.
11 changes: 8 additions & 3 deletions docs/ai-and-plans/features/webview-fluentui-package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ code:

# `@microsoft/vscode-ext-webview-fluentui`

**Status:** 1.3.0 prepared; 1.2.0 is the latest published version; increments 1-6 implemented and accepted · **Created:** 2026-08-18
**Status:** 2.0.0 prepared; 1.2.0 is the latest published version; increments 1-6 implemented and accepted · **Created:** 2026-08-18

> The React theming layer and a small set of components, extracted so other VS Code extensions can
> make Fluent UI look correct inside a webview without rebuilding it.
Expand Down Expand Up @@ -152,12 +152,17 @@ increment 4 work log; no screen-reader transcript or exact operator test matrix
On 2026-11-24 the operator confirmed a successful extension debug review with Fluent components
9.75.2 and icons 2.0.345.

The package manifest is now `1.3.0`; the latest published version is `1.2.0`.
The package manifest is now `2.0.0`; the latest published version is `1.2.0`.
The prepared `1.3.0` adds the `StatusList` skipped state, expandable disclosures with motion,
details-content components, an aside slot and optional row highlighting. It also adds
`@fluentui/react-motion-components-preview` (`^0.15.6`) as a peer and widens the
`@fluentui/react-components` peer to `~9.74 || ~9.75.1`. See the
[package changelog](../../../../packages/vscode-ext-webview-fluentui/CHANGELOG.md#130).
The prepared `2.0.0` replaces the row-highlight booleans with `StatusList.rowHighlight`: hover and
visible keyboard focus can each be enabled without the other. The mode type is exported as
`StatusListRowHighlight`, and the list and its items own their ARIA roles. It also adds neutral custom properties
for pointer-only row hover colors and transition. See the
[package changelog](../../../../packages/vscode-ext-webview-fluentui/CHANGELOG.md#200).

The earlier `1.1.0` changes include:

Expand All @@ -168,7 +173,7 @@ The earlier `1.1.0` changes include:
changes.

Preview versions were already being published; the absence of `private: true` remains intentional
(0027). The prepared `1.3.0` has not been published to the registry.
(0027). The changes prepared since `1.2.0` have not been published to the registry.

During extraction, the operator confirmed there were no external package consumers. Breaking API
changes were permitted before the `1.0.0` release-version bump (0029); that permission does not
Expand Down
6 changes: 6 additions & 0 deletions docs/ai-and-plans/features/webview-fluentui-package/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ Three entries.

Not in v1: `./tokens` (0008), `./styles.css` (0010), `./testing`.

`StatusList.rowHighlight` selects whole-row highlighting (`none`, `hover`, `focus`, or `hover-and-focus`).
Hover and visible keyboard focus are independent triggers; neither changes the indicators on controls
inside a row. Consumers map their accessibility settings to the appropriate mode. The list and its
items own their `list` and `listitem` roles so forwarded DOM props cannot break the list semantics or
the role-based row highlighting.

`./monaco` is Fluent-free on purpose. It shares the colour source, not the adaptation - see §3 - and
its data is structurally assignable to `monaco.editor.IStandaloneThemeData` so that the consumer
needs no cast and the package needs no Monaco dependency.
Expand Down
9 changes: 6 additions & 3 deletions docs/user-manual/collection-view-querying.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,12 @@ view picker immediately; in Tree View it exits immediately as well. A popup that
A brief polite Escape hint is announced once on entry to Table or Tree, not on each cell move.
Switching windows alone does not repeat the hint.

To suppress row hover highlights in Table and Tree, enable
`documentDB.accessibility.disableHighlightOnHover` and reopen Collection View. Reduced motion
also suppresses these highlights, even when the setting is off. Focus and selection remain visible.
To suppress hover-only row or item highlights in Collection View, enable
`documentDB.accessibility.disableHighlightOnHover` and close and reopen the affected view. The preference
also applies to Indexes, Cluster Dashboard namespace rows, Connection Diagnostics check rows and
Local Quick Start status and setup-setting rows. Reduced motion suppresses these highlights
immediately, even when the setting is off. Focus, selection, actionable controls and keyboard
feedback remain visible.

### Table Column Widths

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion packages/vscode-ext-webview-fluentui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 2.0.0

- **Breaking:** `StatusList` replaces `highlightRowsOnHover` and `disableHighlightOnHover` with [`rowHighlight`](./src/components/StatusList/README.md#rowhighlight). Migrate `highlightRowsOnHover` to `rowHighlight="hover-and-focus"`, or to `"focus"` if both booleans were true. If highlighting was off, omit the prop (the default is `"none"`). Use `"hover"` for pointer-only row highlighting; controls keep their own focus indicators in every mode.
- Pointer colours and transition read `--status-list-row-hover-background`, `--status-list-row-hover-outline`, and `--status-list-row-hover-transition`, allowing consumers to apply a live reduced-motion state.
- **Breaking:** `StatusList` and `StatusListItem` no longer accept a `role` prop. Remove overrides; their roles are always `list` and `listitem`.
- Exported the `StatusListRowHighlight` type from `@microsoft/vscode-ext-webview-fluentui/components` for consumers that expose the same highlight modes.

## 1.3.0

- The `@fluentui/react-components` peer accepts both 9.74.x and 9.75.1 through 9.75.x.
Expand All @@ -11,7 +18,6 @@
- The disclosure region sets its content's base type (`fontSizeBase200`, `lineHeightBase200`, `colorNeutralForeground1`), renders `code` as `fontFamilyMonospace` without the chip VS Code's webview default stylesheet gives it, and adds `spacingVerticalXXS` above and below the content inside the left rule. Plain content renders at base200; pass `<Text size={300}>` for larger text, though the README advises against it.
- Added an optional `aside` to `StatusListItem`: a short value, such as a duration `Badge`, at the end of the label line. It keeps its line while the label wraps, and its box is the label line's height, so a small badge does not make the row taller. The package formats nothing.
- Added `highlightRowsOnHover` to `StatusList`: it shades the row under the pointer, and the row whose control has keyboard focus (`:focus-visible`), with the subtle `colorNeutralBackground2`, and outlines it with `colorTransparentStrokeInteractive` for high contrast. Padding with an equal negative margin keeps the layout unchanged. Off by default.

## 1.2.0

- Added `contentMaxWidth` to `ContainerBody` and `Wizard`, accepting CSS maximum-width values or pixel numbers. Omit the prop or use `"none"` for no width cap.
Expand Down
Loading
Loading