Skip to content

Add 'Mark as Done' button for session archiving#304473

Draft
mrleemurray wants to merge 3 commits intomainfrom
mrleemurray/slim-red-leech
Draft

Add 'Mark as Done' button for session archiving#304473
mrleemurray wants to merge 3 commits intomainfrom
mrleemurray/slim-red-leech

Conversation

@mrleemurray
Copy link
Contributor

A "Mark as Done" button has been added to the sessions title bar, allowing users to archive sessions. The button includes focus styles and checks the session state before archiving. Test the functionality by interacting with the button in the sessions title bar.

mrleemurray and others added 2 commits March 24, 2026 14:21
…sion state checks

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings March 24, 2026 14:24
@mrleemurray mrleemurray self-assigned this Mar 24, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.114.0 milestone Mar 24, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a “Mark as Done” control to the Agent Sessions window title bar to archive the current session (and rely on existing session-archiving behavior to advance to a new session view), including styling and render-state tracking.

Changes:

  • Track active session “established/archived” state in the title bar render key to conditionally render the new control.
  • Add a “Mark as Done” button in the sessions title bar that archives the active session.
  • Add CSS styles for the new title bar button (hover + focus-visible).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/vs/sessions/contrib/sessions/browser/sessionsTitleBarWidget.ts Adds session-state tracking and renders a new “Mark as Done” button that archives the active session.
src/vs/sessions/contrib/sessions/browser/media/sessionsTitleBarWidget.css Adds styling for the new title bar “Mark as Done” button.

…ark Session As Done action

Co-authored-by: Copilot <copilot@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants