Repository navigation
Group session artifact images in carousel - #331946
Merged
Benjamin Christopher Simmonds (benibenj) merged 2 commits intoAug 21, 2026
Merged
Benjamin Christopher Simmonds (benibenj) merged 2 commits into
Benjamin Christopher Simmonds (benibenj) merged 2 commits into
Conversation
Co-authored-by: Copilot <[email protected]>
Benjamin Christopher Simmonds (benibenj)
enabled auto-merge (squash)
August 21, 2026 11:44
Copilot started reviewing on behalf of
Benjamin Christopher Simmonds (benibenj)
August 21, 2026 11:45
Contributor
There was a problem hiding this comment.
Pull request overview
Groups session artifact images and opens them in Images Preview at the selected image.
Changes:
- Adds a dedicated Images artifact section.
- Opens all artifact images in a carousel.
- Adds unit coverage for grouping and selection.
Show a summary per file
| File | Description |
|---|---|
sessionArtifacts.ts |
Builds image sections and launches the carousel. |
sessionArtifacts.test.ts |
Tests image grouping and start index. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
| } | ||
| void this._openerService.open(uri, { fromUserGesture: true }); | ||
| }, | ||
| openImages: (images, startIndex) => { |
Contributor
There was a problem hiding this comment.
Fixed in 270a8f8: buildSessionArtifactSections now takes the carousel enablement (read via observableConfigValue(ChatConfiguration.ImageCarouselEnabled, true, ...)) and, when disabled, image entries open the resource with the default "Open {label}" ARIA label.
Co-authored-by: benibenj <[email protected]>
Aiday Marlen Kyzy (aiday-mar)
approved these changes
Aug 21, 2026
Alexandru Dima (alexdima)
approved these changes
Aug 21, 2026
Benjamin Christopher Simmonds (benibenj)
merged commit Aug 21, 2026
9711aeb
into
main
27 checks passed
Benjamin Christopher Simmonds (benibenj)
deleted the
benibenj/session-artifact-images
branch
August 21, 2026 13:46
Logan Ramos (lramos15)
added a commit
that referenced
this pull request
Aug 21, 2026
The image section called `artifactLocation`, but the helper is named `sessionArtifactLocation`, as the five other call sites use. This broke compilation and threw `ReferenceError` from the two Session Artifacts tests that build an image section. Introduced by #331946 and present on main. Co-authored-by: Copilot <[email protected]> Copilot-Session: b8277a07-8be3-4c23-a886-ba92a9c4cac0
Logan Ramos (lramos15)
added a commit
that referenced
this pull request
Aug 21, 2026
…331978) * Agent Host changes for lramos15/agents/vscode-issue-331852-proposal * Refactor chat input and attachment components for improved performance - Remove unused code from agentHostInputCompletions and newChatContextAttachments. - Optimize chatInputPart and chatAttachmentWidgets for better efficiency. - Update tests for newChatInputPaste to reflect changes in functionality. * Fix undefined artifactLocation in session artifact images The image section called `artifactLocation`, but the helper is named `sessionArtifactLocation`, as the five other call sites use. This broke compilation and threw `ReferenceError` from the two Session Artifacts tests that build an image section. Introduced by #331946 and present on main. Co-authored-by: Copilot <[email protected]> Copilot-Session: b8277a07-8be3-4c23-a886-ba92a9c4cac0 --------- Co-authored-by: Copilot <[email protected]> Copilot-Session: b8277a07-8be3-4c23-a886-ba92a9c4cac0
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Tests