Skip to content

sessions: polish run task quick input modal#304652

Merged
hawkticehurst merged 41 commits intomainfrom
copilot/smiling-skunk
Mar 30, 2026
Merged

sessions: polish run task quick input modal#304652
hawkticehurst merged 41 commits intomainfrom
copilot/smiling-skunk

Conversation

@hawkticehurst
Copy link
Copy Markdown
Member

@hawkticehurst hawkticehurst commented Mar 25, 2026

Summary

Polishes the Agent Sessions Run Task quick input modal for a cleaner, more consistent modal experience while keeping changes scoped to this surface.

What changed

  • Added a close button to the run-task quick widget titlebar and wired it into the existing cancel/hide flow.
  • Added a back button to the run-task quick widget titlebar
  • Updated quick input and run-task modal spacing, alignment, and corner treatment for improved visual consistency.
  • Scoped modal-specific titlebar styling to the run-task quick widget (run-script-action-quick-widget) so other quick input widgets keep default behavior.
  • Refined run-task form controls:
    • more compact segmented radio styling
    • fit-content button width and right alignment
    • adjusted section spacing and paddings
  • Updated run-task modal background and backdrop to align with styles used in settings modal
  • Updated run-task labels/copy for consistency:
    • removed ellipses from modal titles
    • changed quick-pick item text to sentence case (i.e. Create new task)
    • added trailing periods to quick input descriptions
  • Updated src/vs/sessions/LAYOUT.md revision history with the modal polish note.

Files touched

  • src/vs/sessions/contrib/chat/browser/runScriptAction.ts
  • src/vs/sessions/contrib/chat/browser/media/runScriptAction.css
  • src/vs/platform/quickinput/browser/media/quickInput.css
  • src/vs/sessions/LAYOUT.md

Validation

  • npm run compile-check-ts-native
  • ⚠️ npm run hygiene currently fails due to a pre-existing/generated-file issue:
    • extensions/mermaid-chat-features/chat-webview-out/codicon.css: Missing or bad copyright statement

This hygiene failure is outside the scoped modal changes above.

Screenshots

Screenshot 2026-03-25 at 4 18 00 PM Screenshot 2026-03-25 at 4 18 10 PM Screenshot 2026-03-25 at 5 18 11 PM Screenshot 2026-03-25 at 5 18 27 PM

…, padding, and gap for improved UI consistency
… add new titlebar styles for improved UI consistency
…widget; refine localization strings for clarity
Copilot AI review requested due to automatic review settings March 25, 2026 05:16
@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@TylerLeonhardt

Matched files:

  • src/vs/platform/quickinput/browser/media/quickInput.css

Copy link
Copy Markdown
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

Polishes the Agent Sessions Run Task quick input modal to look and behave more like a consistent modal surface in the sessions window.

Changes:

  • Added a titlebar close button to the run-task quick widget and wired it into the existing cancel/hide flow.
  • Refined spacing/layout and control styling for the run-task widget, including segmented radio and button sizing/alignment.
  • Adjusted quick input styling and documented the change in src/vs/sessions/LAYOUT.md.

Reviewed changes

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

File Description
src/vs/sessions/contrib/chat/browser/runScriptAction.ts Adds a close button to the run-task quick widget and updates run-task strings/copy.
src/vs/sessions/contrib/chat/browser/media/runScriptAction.css Styles the run-task widget and scopes titlebar tweaks via a marker class on the quick input widget.
src/vs/platform/quickinput/browser/media/quickInput.css Updates shared quick input CSS (rounding/overflow and spacing).
src/vs/sessions/LAYOUT.md Records the modal polish change in the sessions layout revision history.

@hawkticehurst hawkticehurst marked this pull request as draft March 25, 2026 16:54
hawkticehurst and others added 7 commits March 25, 2026 15:39
# Conflicts:
#	src/vs/sessions/contrib/chat/browser/runScriptAction.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hawkticehurst hawkticehurst marked this pull request as ready for review March 25, 2026 21:28
@hawkticehurst hawkticehurst marked this pull request as draft March 27, 2026 14:52
@alexr00 alexr00 removed this from the 1.114.0 milestone Mar 30, 2026
@hawkticehurst hawkticehurst marked this pull request as ready for review March 30, 2026 21:15
@hawkticehurst hawkticehurst merged commit 2beac02 into main Mar 30, 2026
28 of 29 checks passed
@hawkticehurst hawkticehurst deleted the copilot/smiling-skunk branch March 30, 2026 22:40
@vs-code-engineering vs-code-engineering bot added this to the 1.115.0 milestone Mar 30, 2026
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.

5 participants