Repository navigation
Recommend connectors below the new chat composer #341844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Hawk Ticehurst (hawkticehurst)
merged 4 commits into
main
from
hawkticehurst/issue-341452-connector-recommendations
Oct 15, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
dbba565
Agents window: recommend connectors below new chat composer
hawkticehurst b4c825f
test: update connector recommendation screenshot hashes
hawkticehurst a31b816
sessions: address connector recommendation feedback
hawkticehurst 1482aa7
test: cover constrained connector recommendations
hawkticehurst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 130 additions & 0 deletions
130
src/vs/sessions/contrib/chat/browser/media/newChatConnectorRecommendations.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,130 @@ | ||
| /*--------------------------------------------------------------------------------------------- | ||
| * Copyright (c) Microsoft Corporation. All rights reserved. | ||
| * Licensed under the MIT License. See License.txt in the project root for license information. | ||
| *--------------------------------------------------------------------------------------------*/ | ||
|
|
||
| .new-session-connector-recommendations { | ||
| width: 100%; | ||
| color: var(--vscode-foreground); | ||
| } | ||
|
|
||
| .new-session-connector-recommendations[hidden], | ||
| .new-chat-widget-content.no-agent-host .new-session-connector-recommendations { | ||
| display: none; | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-cards { | ||
| display: flex; | ||
| gap: var(--vscode-spacing-size80); | ||
| width: 100%; | ||
| padding: var(--vscode-spacing-size20); | ||
| box-sizing: border-box; | ||
| overflow-x: auto; | ||
| scrollbar-width: thin; | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-card { | ||
| position: relative; | ||
| flex: 1 0 0; | ||
| min-width: 180px; | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-card-primary { | ||
| display: grid; | ||
| grid-template-columns: var(--vscode-spacing-size320) minmax(0, 1fr); | ||
| column-gap: var(--vscode-spacing-size100); | ||
| align-items: start; | ||
| width: 100%; | ||
| min-height: 100%; | ||
| padding: var(--vscode-spacing-size60); | ||
| padding-right: var(--vscode-spacing-size320); | ||
| box-sizing: border-box; | ||
| border: var(--vscode-strokeThickness) solid var(--vscode-contrastBorder, color-mix(in srgb, var(--vscode-foreground) 10%, transparent)); | ||
| border-radius: var(--vscode-cornerRadius-medium); | ||
| background-color: color-mix(in srgb, var(--vscode-foreground) 3%, var(--session-view-background, var(--vscode-editor-background))); | ||
| color: var(--vscode-foreground); | ||
| text-align: left; | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-card-primary:hover { | ||
| border-color: var(--vscode-focusBorder); | ||
| background-color: color-mix(in srgb, var(--vscode-focusBorder) 8%, var(--vscode-editorWidget-background)); | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-card-primary:focus-visible { | ||
| outline: var(--vscode-strokeThickness) solid var(--vscode-focusBorder); | ||
| outline-offset: calc(-1 * var(--vscode-strokeThickness)); | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-icon { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: var(--vscode-spacing-size320); | ||
| height: var(--vscode-spacing-size320); | ||
| border-radius: var(--vscode-cornerRadius-medium); | ||
| overflow: hidden; | ||
| background-color: var(--vscode-editor-background); | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-icon img { | ||
| display: block; | ||
| width: 100%; | ||
| height: 100%; | ||
| object-fit: contain; | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-icon > .codicon { | ||
| font-size: var(--vscode-codiconFontSize); | ||
| color: var(--vscode-descriptionForeground); | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-content { | ||
| min-width: 0; | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-name { | ||
| overflow: hidden; | ||
| color: var(--vscode-foreground); | ||
| font-size: var(--vscode-fontSize-label1); | ||
| font-weight: var(--vscode-fontWeight-semiBold); | ||
| text-overflow: ellipsis; | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| .new-session-connector-recommendation-description { | ||
| margin-top: var(--vscode-spacing-size20); | ||
| color: var(--vscode-descriptionForeground); | ||
| font-size: var(--vscode-fontSize-label2); | ||
| line-height: 1.2; | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-dismiss { | ||
| position: absolute; | ||
| top: var(--vscode-spacing-size60); | ||
| right: var(--vscode-spacing-size60); | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| width: var(--vscode-spacing-size240); | ||
| height: var(--vscode-spacing-size240); | ||
| padding: 0; | ||
| border: 0; | ||
| border-radius: var(--vscode-cornerRadius-small); | ||
| background: transparent; | ||
| color: var(--vscode-icon-foreground); | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-dismiss:hover { | ||
| background-color: var(--vscode-toolbar-hoverBackground); | ||
| } | ||
|
|
||
| .monaco-button.new-session-connector-recommendation-dismiss:focus-visible { | ||
| outline: var(--vscode-strokeThickness) solid var(--vscode-focusBorder); | ||
| outline-offset: calc(-1 * var(--vscode-strokeThickness)); | ||
| } | ||
|
|
||
| :is(.hc-black, .hc-light) .monaco-button.new-session-connector-recommendation-card-primary { | ||
| border-color: var(--vscode-contrastBorder); | ||
| background-color: var(--vscode-editor-background); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.