Skip to content

[cherry-pick] sessions: align list row hover feedback - #336983

Closed
vs-code-engineering[bot] wants to merge 1 commit into
release/1.137from
cherry-pick/336953
Closed

vs-code-engineering[bot] wants to merge 1 commit into
release/1.137from
cherry-pick/336953

Conversation

@vs-code-engineering

Copy link
Copy Markdown
Contributor

Cherry-pick of #336953 from main.

⚠️ This cherry-pick has merge conflicts that need manual resolution. Conflict markers (<<<<<<</=======/>>>>>>>) are committed to the branch — check it out locally, resolve, and force-push.

git fetch origin cherry-pick/336953 && git checkout cherry-pick/336953
# resolve conflicts, then:
git add -A && git commit --amend --no-edit && git push --force-with-lease

Conflicting files:

  • src/vs/sessions/contrib/sessions/browser/media/sessionsList.css
  • src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts
  • src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts
  • test/componentFixtures/blocks-ci-screenshots.md

Aligns hover feedback across Sessions list rows so sessions, workspace folders, custom groups, shortcuts, and show-more rows use the same full-width square background.

Preserves the intended content spacing for section labels and show-more separators, and reserves the row-spacing height for shortcut entries. Adds regression coverage for row classes, geometry, and padding.

Validation:

  • npm run compile
  • npm run hygiene
  • ./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts (145 passing)
  • Live Agents window verification of hover color, width, radius, margins, and content padding

Copilot AI balanced review requested due to automatic review settings September 21, 2026 08:32
@vs-code-engineering vs-code-engineering Bot added the cherry-pick-artifact Auto-generated cherry-pick PR label Sep 21, 2026

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.

Copilot review overview

🟡 Changes recommended

Unresolved conflicts and missing backported APIs prevent compilation and validation.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 5 High severity

Open (5)
What changed in this PR

Aligns Sessions list-row hover feedback across row types while preserving spacing and layout behavior.

Changes:

  • Updates row geometry, classes, and hover styling.
  • Adds regression tests and screenshot baselines.
File Description
test/​componentFixtures/​blocks-ci-screenshots.md Updates visual-test baselines.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsList.test.ts Adds row-layout regression tests.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​sessionsList.ts Adjusts row classes and heights.
src/​vs/​sessions/​contrib/​sessions/​browser/​media/​sessionsList.css Aligns hover geometry and spacing.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

height: 100%;
min-height: 0;

<<<<<<< HEAD
Comment on lines +347 to +350
<<<<<<< HEAD
if (isSessionSection(element) || isSessionGroupItem(element)) {
=======
if (isSessionSection(element) && element.id === SESSIONS_HEADER_SECTION_ID) {
class SessionGroupRenderer implements ITreeRenderer<SessionListItem, FuzzyScore, ISessionGroupTemplate> {
static readonly TEMPLATE_ID = 'session-group';
readonly templateId = SessionGroupRenderer.TEMPLATE_ID;
readonly rowClassName = 'session-list-section-row';
Comment on lines +517 to +519
<<<<<<< HEAD
=======
suite('shortcut entries', () => {
![screenshot](https://hediet-screenshots.azurewebsites.net/images/058cf4ff1b32a3e30c1550713c4fde7410339cd5fe896ce3fd840b45653b5d41)

#### sessions/sessionsList/SessionsList_AutomationsNewBadge_Accent/Dark
<<<<<<< HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-artifact Auto-generated cherry-pick PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants