Enhance transition timings for titlebar widgets#314372
Merged
mrleemurray merged 5 commits intomainfrom May 6, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tweaks the CSS transitions for the titlebar “Open in Agents” / “Open in VS Code” widgets to adjust animation durations and introduce a delay intended to improve perceived smoothness during hover/focus expansion.
Changes:
- Increased filter and label transition durations from 150ms to 160ms.
- Added a 200ms
transition-delayfor label transitions and a0msoverride in hover/focus rules.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/vs/workbench/electron-browser/actions/media/openInAgents.css | Updates icon/label transition durations and adds a label transition delay for the workbench “Open in Agents” titlebar widget. |
| src/vs/workbench/contrib/chat/electron-browser/agentSessions/media/openInAgents.css | Mirrors the same “Open in Agents” transition/delay adjustments for the chat agent sessions surface. |
| src/vs/sessions/contrib/chat/browser/media/openInVSCode.css | Updates “Open in VS Code” widget transition durations and introduces a label transition-delay/override pattern (gated by motion classes). |
Contributor
auto-merge was automatically disabled
May 5, 2026 11:56
Pull request was converted to draft
…mprove accessibility for reduced motion settings Co-authored-by: Copilot <copilot@github.com>
amunger
reviewed
May 5, 2026
aiday-mar
previously approved these changes
May 5, 2026
…nts" titlebar widget
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
vijayupadya
approved these changes
May 6, 2026
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.
This pull request refines the transition effects for the "Open in Agents" and "Open in VSCode" titlebar widgets to improve animation consistency, accessibility, and user experience. The changes adjust transition durations, add delays for smoother label appearance, and ensure reduced motion preferences are respected.
Transition timing and consistency improvements:
.open-in-agents-titlebar-widgetand.open-in-vscode-titlebar-widgetfor a smoother effect. [1] [2] [3] [4] [5] [6]transition-delay: 200msto label transitions, making the label appear after a short delay for a more polished animation. [1] [2] [3]transition-delay: 0msso the label responds immediately to user interaction. [1] [2] [3]Accessibility and reduced motion support:
transition-duration: 0ms !importantandtransition-delay: 0ms !importantto disable transitions for both icons and labels, respecting accessibility preferences. [1] [2] [3] [4]These updates ensure UI transitions are smoother and more accessible, with clear separation between initial and interactive states.