Repository navigation
sessions: keep artifact details stable on hover and refresh - #344336
Merged
Benjamin Christopher Simmonds (benibenj) merged 3 commits intoOct 26, 2026
Merged
Benjamin Christopher Simmonds (benibenj) merged 3 commits into
Benjamin Christopher Simmonds (benibenj) merged 3 commits into
Conversation
Center row content when item actions appear, and omit transient loading labels without hiding errors or sign-in requirements. Cover hover, rerun spinners, and refresh geometry with regression tests. Co-authored-by: Copilot <[email protected]>
Copilot started reviewing on behalf of
Benjamin Christopher Simmonds (benibenj)
October 26, 2026 16:15
Federico Brancasi (federicobrancasi)
previously approved these changes
Oct 26, 2026
Contributor
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Main details and activity history lose accessible loading feedback without an equivalent busy state.
2 open issues
What changed in this PR
This PR stabilizes artifact details in the Agents Window so hover actions, rerun spinners, and background refreshes do not shift existing content.
Changes:
- Vertically centers row content when actions appear.
- Removes transient loading labels and adds
aria-busyto state-list panels. - Adds regression coverage for loading states and stable row/panel geometry.
| File | Description |
|---|---|
src/vs/sessions/contrib/chat/test/browser/artifactIntegrationPresentation.test.ts |
Tests loading messages, refresh geometry, hover actions, and rerun spinners. |
src/vs/sessions/contrib/chat/browser/artifactStateLists.ts |
Exposes list loading through aria-busy. |
src/vs/sessions/contrib/chat/browser/artifactDetailsModel.ts |
Suppresses loading text and avoids premature empty-list messages. |
src/vs/sessions/contrib/chat/browser/artifactActivitiesModel.ts |
Removes transient activity-loading text while retaining errors. |
src/vs/platform/artifactIntegrations/browser/media/artifactDetailsList.css |
Centers content in rows with actions. |
Review effort: Balanced
…344327) Co-authored-by: Copilot <[email protected]>
Expose activity-history and main/contribution loading through the details view models and aria-busy, without adding visible loading messages or moving existing rows. Co-authored-by: Copilot <[email protected]>
Aiday Marlen Kyzy (aiday-mar)
approved these changes
Oct 26, 2026
Benjamin Christopher Simmonds (benibenj)
merged commit Oct 26, 2026
6b4f857
into
main
49 checks passed
Benjamin Christopher Simmonds (benibenj)
deleted the
agents/fix-hover-effect-artifact-list
branch
October 26, 2026 18:51
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
aria-busy.Reported directly during development; no linked issue.
Validation
npm run build-fast -- --client-only— passed after rebasing onto currentmain../scripts/test.sh --run src/vs/sessions/contrib/chat/test/browser/artifactIntegrationPresentation.test.ts --reporter dot— passed, 96 tests.npm run eslint -- src/vs/sessions/contrib/chat/browser/artifactDetailsModel.ts src/vs/sessions/contrib/chat/browser/artifactActivitiesModel.ts src/vs/sessions/contrib/chat/browser/artifactStateLists.ts src/vs/sessions/contrib/chat/test/browser/artifactIntegrationPresentation.test.ts— passed.npm run stylelint -- src/vs/platform/artifactIntegrations/browser/media/artifactDetailsList.css— passed.git diff --check— passed.dbgjs, fake PR/CI data, and the development login bypass: reproduced the original 3px shift; verified 0px vertical movement during hover, rerun spinner, completion, keyboard row navigation, and action focus.How to test