-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improves Main Interpreter Picker #6363
Conversation
border prop now enhances button visibility
E2E Tests 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a couple comments/questions! The overhaul is such an improvement over the old dropdown we had!
src/vs/platform/positronActionBar/browser/components/actionBarButton.css
Outdated
Show resolved
Hide resolved
src/vs/platform/positronActionBar/browser/components/actionBarButton.tsx
Show resolved
Hide resolved
className={positronClassNames( | ||
'action-bar-button-icon', | ||
props.dropdownIndicator, | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the props.dropdownIndicator
is being evaluated to its string value but I only see .action-bar-button-icon.enabled-split
defined in the css file. Is that intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unsure - I stole this from the original Codicon implementation from @softwarenerd (line 96 sbove)
Co-authored-by: Dhruvi Sompura <[email protected]> Signed-off-by: Sam Clark <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I had one small suggestion
src/vs/platform/positronActionBar/browser/components/actionBarButton.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a couple of ideas.
src/vs/platform/positronActionBar/browser/components/actionBarButton.css
Show resolved
Hide resolved
.../workbench/browser/parts/positronTopActionBar/components/topActionBarInterpretersManager.tsx
Outdated
Show resolved
Hide resolved
df3f5c0
@juliasilge Hoping to get your feedback re: verbiage here. We are using "Runtime" in this new quickpick, but are curious if "Session" is better fit in advance of the multisession support? Fwiw, this is behind the multisession feature flag. If yes, I'd propose these changes:
![]() ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - awaiting any naming changes! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the first time I've played with some of this new UI coming together and it is really nice. 🤩
I agree that we should change some of this wording to use "session"; a benefit of this is that folks have found runtime vs. interpreter confusing and this reduces our use of that in favor of the more straightforward "session".
36aeebe
.../workbench/browser/parts/positronTopActionBar/components/topActionBarInterpretersManager.tsx
Outdated
Show resolved
Hide resolved
…/topActionBarInterpretersManager.tsx Co-authored-by: Dhruvi Sompura <[email protected]> Signed-off-by: Sam Clark <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🚀 🚀
Adds more useable interface for primary interpreter picker.
Addresses #6150, #3596, #2143
Screen.Recording.2025-02-14.at.10.13.45.AM.mov
Release Notes
New Features
Bug Fixes
QA Notes
e2e: @:interpreter