Skip to content

Customizations: Mark Copilot Connector search results as verified - #343373

Merged
Jessie Houghton (houghj16) merged 3 commits into
mainfrom
agents/customizations-mark-first-party-items
Oct 22, 2026
Merged

Jessie Houghton (houghj16) merged 3 commits into
mainfrom
agents/customizations-mark-first-party-items

Conversation

@houghj16

@houghj16 Jessie Houghton (houghj16) commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Copilot Connector search results did not expose their verified source without opening the item. Search results now show the existing verified-publisher icon immediately after the Copilot Connectors source name, while Browse cards remain badge-free.

  • Marks only resources from the Copilot Connectors source as verified.
  • Adds localized hover, list ARIA, and accessible-view verification text.
  • Keeps title, type, source, and badge vertically centered with compact spacing.
  • Adds regression coverage for verified search results, unverified alternatives, recycled rows, accessibility, and Browse-card scope.
  • Adds High Contrast variants to the connector fixture.

Fixes #342110

Validation

  • Passed npm run build-fast -- --client-only.
  • Passed .\scripts\test.bat --run src\vs\workbench\contrib\chat\test\browser\aiCustomization\aiCustomizationDiscoveryPage.test.ts with 99 tests.
  • Passed npm run typecheck-client before the latest main update. The current rerun reaches the unrelated autoModelFusion fixture type error tracked by Fix compile break in tabbed model picker fixture #343376.
  • Passed npm run eslint -- src\vs\workbench\contrib\chat\browser\aiCustomization\aiCustomizationDiscoveryPage.ts src\vs\workbench\contrib\chat\test\browser\aiCustomization\aiCustomizationDiscoveryPage.test.ts src\vs\workbench\test\browser\componentFixtures\sessions\aiCustomizationManagementEditor.fixture.ts.
  • Passed npm run stylelint -- src\vs\workbench\contrib\chat\browser\aiCustomization\media\aiCustomizationDiscovery.css.
  • Passed Component Explorer renders for DiscoverCopilotConnector in Dark, Light, High Contrast Dark, and High Contrast Light.

Screenshots

Dark

Dark theme comparison

Light

Light theme comparison

High Contrast Dark

High Contrast Dark theme comparison

High Contrast Light

High Contrast Light theme comparison

Copilot AI balanced review requested due to automatic review settings October 21, 2026 22:22
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: d6e526a8 Current: 3d65dca4

Changed (8)

chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverSearchResults/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverSearchResultsNarrow/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverCopilotConnector/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverInfiniteScroll/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverPluginsLoadingMore/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverInstalledFilter/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverMissingInstallation/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverInstallError/Light
Before After
before after

@houghj16
Jessie Houghton (houghj16) force-pushed the agents/customizations-mark-first-party-items branch from 4f145d9 to 6b636ee Compare October 21, 2026 22:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

5 open issues
What changed in this PR

Updates the AI Customizations discovery UI so Copilot Connector search results display a “verified by GitHub” indicator next to the source, along with supporting accessibility strings and regression tests.

Changes:

  • Adds a verified icon + hover/ARIA label for Copilot Connectors search results (not Browse cards).
  • Adjusts discovery heading layout/CSS to keep title, metadata, and verified icon aligned with compact spacing.
  • Expands fixtures/tests to cover high-contrast themes and verified/unverified/recycled-row scenarios.
File Description
src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​aiCustomizationDiscoveryPage.ts Adds verified rendering + ARIA/accessible-view text limited to Copilot Connectors search results.
src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​media/​aiCustomizationDiscovery.css Updates flex layouts and introduces styles for the verified indicator.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​aiCustomization/​aiCustomizationDiscoveryPage.test.ts Adds regression tests for verified/unverified results and accessibility output.
src/​vs/​workbench/​test/​browser/​componentFixtures/​sessions/​aiCustomizationManagementEditor.fixture.ts Adds high-contrast variants for the DiscoverCopilotConnector fixture.
src/​vs/​workbench/​test/​browser/​componentFixtures/​chat/​tabbedModelPicker.fixture.ts Updates model metadata shape for autoModelFusion (appears unrelated to this PR’s goal).

Review effort: Lite

@houghj16
Jessie Houghton (houghj16) force-pushed the agents/customizations-mark-first-party-items branch from 6b636ee to d36fb1c Compare October 21, 2026 22:48
@houghj16
Jessie Houghton (houghj16) marked this pull request as ready for review October 21, 2026 22:50
@houghj16
Jessie Houghton (houghj16) marked this pull request as draft October 21, 2026 22:54
auto-merge was automatically disabled October 21, 2026 22:54

Pull request was converted to draft

@houghj16
Jessie Houghton (houghj16) force-pushed the agents/customizations-mark-first-party-items branch from a035d61 to d36fb1c Compare October 21, 2026 22:59
Exercise the recycled result template with sequential connector and public searches instead of asserting on non-rendered collapsed and loading rows.\n\nCo-authored-by: Copilot <[email protected]>
@houghj16
Jessie Houghton (houghj16) force-pushed the agents/customizations-mark-first-party-items branch from d36fb1c to 236a1ed Compare October 22, 2026 04:27
@houghj16
Jessie Houghton (houghj16) marked this pull request as ready for review October 22, 2026 15:13
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.

Customizations: mark first-party (Microsoft/GitHub) items and show publisher without drilling in

4 participants