Revert "Polish question carousel (#298377)"#299079
Open
daviddossett wants to merge 1 commit intomainfrom
Open
Conversation
This reverts commit 2f76a2d.
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts PR #298377’s “polished” question carousel/tabbed flow and related chat UI/action/theme changes, with intent to reintroduce later with accessibility tweaks.
Changes:
- Removes the carousel tab-bar/review flow and restores a simpler per-question UI with footer navigation/submit behavior.
- Reverts
AskQuestionsToolprogress text and removes header display formatting support + its unit test. - Reverts chat execute/queue action context gating and rolls back theme/CSS adjustments made for the carousel.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/test/common/tools/builtinTools/askQuestionsTool.test.ts | Removes the formatHeaderForDisplay unit test import/coverage as part of reverting header formatting. |
| src/vs/workbench/contrib/chat/test/browser/widget/chatContentParts/chatQuestionCarouselPart.test.ts | Updates carousel rendering/navigation/accessibility assertions to match reverted UI structure. |
| src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.ts | Removes formatHeaderForDisplay, restores older progress message, and reverts header truncation behavior. |
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css | Reverts carousel styling to a different layout/visual design (including updated footer/nav styling). |
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.ts | Replaces tab-bar/review behavior with footer step indicator + prev/next/submit controls and updates summary formatting. |
| src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.ts | Reverts when-conditions so queue/steer actions no longer show during pending carousel/tool confirmation states. |
| src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts | Reverts execute toolbar context-key logic, including Cancel visibility behavior. |
| extensions/theme-2026/themes/styles.css | Removes carousel/chat border-radius styling introduced in #298377. |
| extensions/theme-2026/themes/2026-dark.json | Reverts the list.activeSelectionBackground tweak made for the carousel UI. |
Comments suppressed due to low confidence (2)
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css:23
- This file introduces hardcoded pixel corner radii (e.g.
border-radius: 4px). In VS Code CSS we should use the theme size tokens (var(--vscode-cornerRadius-*)) so radii are consistent across themes and can be adjusted centrally (seesrc/vs/platform/theme/common/sizes/baseSizes.ts). Please replace these hardcoded values with the appropriate--vscode-cornerRadius-*variable (likelysmallhere).
.interactive-session .interactive-input-part > .chat-question-carousel-widget-container .chat-question-carousel-container {
margin: 0;
border: 1px solid var(--vscode-input-border, transparent);
background-color: var(--vscode-editor-background);
border-radius: 4px;
}
/* general questions styling */
.interactive-session .chat-question-carousel-container {
margin: 8px 0;
border: 1px solid var(--vscode-chat-requestBorder);
border-radius: 4px;
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css:185
- More hardcoded pixel radii are introduced for interactive list items (
border-radius: 3px). Please usevar(--vscode-cornerRadius-*)instead so the list items match other components and respect theme sizing tokens.
gap: 8px;
padding: 3px 8px;
cursor: pointer;
border-radius: 3px;
user-select: none;
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css
Show resolved
Hide resolved
Collaborator
Author
dang, passive aggressive copilot |
dmitrivMS
approved these changes
Mar 3, 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.
Reverts #298377. Will re-raise with accessibility tweaks.