Skip to content

sessions: add compact sessions list view - #336169

Merged
Sandeep Somavarapu (sandy081) merged 6 commits into
mainfrom
sandy081/agents/compact-view-sessions-list-ideas
Sep 14, 2026
Merged

Sandeep Somavarapu (sandy081) merged 6 commits into
mainfrom
sandy081/agents/compact-view-sessions-list-ideas

Conversation

@sandy081

Copy link
Copy Markdown
Member

Summary

Adds a compact presentation mode for the Sessions list in the Agents window.

  • adds a profile-persisted Compact View toggle to the Sessions header menu
  • uses the same dense row height as quick chats while keeping phone rows touch-friendly
  • keeps compact rows title-only at rest and shows contextual workspace information on hover or keyboard focus
  • preserves full accessible labels and lets approval prompts expand without clipping
  • includes relative update time in the rich hover without changing non-compact hover data

Validation

  • npm run compile
  • npm run hygiene
  • npm run typecheck-client
  • ESLint and stylelint for changed files
  • complete unit suite: 36,790 passing, 470 pending, 0 failing
  • focused Sessions list compact-presentation test

Add a persisted desktop compact mode that matches quick-chat row density while retaining prioritized status metadata and accessible labels.\n\nCo-authored-by: Copilot <[email protected]>
…ct-view-sessions-list-ideas

# Conflicts:
#	src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts
Keep compact rows focused on diff and worktree context, move workspace and relative time into hover presentation, and tune compact approval and hierarchy spacing.\n\nCo-authored-by: Copilot <[email protected]>
Preserve the existing hover data shape for non-compact consumers while including updatedAt for compact session rows.\n\nCo-authored-by: Copilot <[email protected]>
Keep compact rows title-only at rest while preserving contextual workspace information on hover and full accessible metadata.\n\nCo-authored-by: Copilot <[email protected]>

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

Compact presentation is not correctly refreshed across phone-layout transitions and metadata can remain visible at rest.

Get a fresh assessment by requesting another Copilot review.

Review tier: Balanced
Findings: 2 Medium severity

Open findings (2)
What changed in this PR

Adds a profile-persisted compact presentation for the Agents window Sessions list.

Changes:

  • Adds the Compact View toggle and persistence.
  • Introduces dense, title-focused rows with contextual metadata.
  • Adds update times to compact-row hovers and focused tests.
File Description
sessionSummaryHover.ts Renders optional relative update time.
sessionsList.test.ts Tests compact presentation and hover data.
sessionsViewActions.ts Registers the compact toggle.
sessionsView.ts Persists and applies compact state.
sessionsList.ts Implements compact rendering and row sizing.
sessionHoverContent.ts Supplies optional update timestamps.
sessionsList.css Styles compact rows and expanded prompts.

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

@sandy081
Sandeep Somavarapu (sandy081) merged commit ebd6bf7 into main Sep 14, 2026
34 checks passed
@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/agents/compact-view-sessions-list-ideas branch September 14, 2026 16:42
@MominRaza

Copy link
Copy Markdown

g and y bottom is cutting
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants