Repository navigation
Revert "Polish question carousel (#298377)" - #299096
Merged
David Dossett (daviddossett) merged 1 commit intoMar 4, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR polishes the chat question carousel UI by replacing the multi-question tab bar/review flow with a simpler footer-based previous/next navigation + step indicator, and moving the question prompt into the header to simplify layout and interaction.
Changes:
- Replaces the multi-question tab bar with footer navigation arrows and a “{n} of {m}” step indicator; updates focus and aria-label/hover text to include keybinding info.
- Simplifies the question layout by rendering the full prompt in the header and removing the separate message area and internal scrollable wrapper.
- Updates styling for tighter option rows and improved freeform input visuals (padding, border, focus outline, alignment).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css | Updates carousel styling for the new header/footer layout, navigation buttons, and freeform input alignment. |
| src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.ts | Removes tab/review UI, adds footer nav + keybinding-aware labels/hover, updates submission flow and summary rendering. |
Comments suppressed due to low confidence (2)
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatQuestionCarousel.css:16
- Similarly, the input-specific styling selector dropped the
.interactive-input-and-edit-session > .chat-question-carousel-widget-containervariant. In compact mode this will skip border/background/radius styling for the carousel. Consider restoring the compact-mode selector (or refactoring to a selector that matches both DOM structures).
.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-chat-list-background);
border-radius: var(--vscode-cornerRadius-large);
src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatQuestionCarouselPart.ts:260
- On the last question,
handleNextOrSubmit()callsonSubmit(this._answers)directly, bypassing the filtering behavior insubmit()and potentially changing what gets submitted depending on whether the user submits via Enter vs Cmd/Ctrl+Enter. Consider routing the last-question path through a single submission codepath to keep semantics consistent.
} else {
// Last or single question: submit directly
this._options.onSubmit(this._answers);
this.hideAndShowSummary();
}
David Dossett (daviddossett)
force-pushed
the
daviddossett/question-carousel-polish-2
branch
4 times, most recently
from
March 4, 2026 01:06
78473d3 to
6495844
Compare
This reverts commit 2f76a2d.
David Dossett (daviddossett)
force-pushed
the
daviddossett/question-carousel-polish-2
branch
from
March 4, 2026 17:33
6495844 to
ed212ff
Compare
David Dossett (daviddossett)
marked this pull request as ready for review
March 4, 2026 17:41
Megan Rogge (meganrogge)
approved these changes
Mar 4, 2026
David Dossett (daviddossett)
enabled auto-merge (squash)
March 4, 2026 17:48
David Dossett (daviddossett)
deleted the
daviddossett/question-carousel-polish-2
branch
March 4, 2026 17:53
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 the UI changes from #298377 (tab bar, review tab, Cmd+Enter shortcut, etc.) while retaining Megan's scrollable changes from #298786.