-
Notifications
You must be signed in to change notification settings - Fork 103
new python folder: update language #8223
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
Conversation
E2E Tests 🚀 |
c64de11
to
cd92a62
Compare
// --- Start Positron --- | ||
// export const providerDescription = l10n.t('Creates a `.venv` virtual environment in the current workspace'); | ||
export const providerDescription = l10n.t('Create a new ".venv" environment with an existing interpreter'); | ||
// --- End Positron --- |
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 does change the Python: Create Environment...
command's descriptions too, but I think it's still clear what's happening there
e2e tests are failing just because they're looking for specific text, so I'll wait for feedback on this text before fixing them! |
@@ -522,7 +530,9 @@ export namespace CreateEnv { | |||
|
|||
// --- Start Positron --- | |||
export namespace Uv { | |||
export const providerDescription = l10n.t('Creates a `uv` virtual environment in the current workspace'); | |||
export const providerDescription = l10n.t( | |||
'Install a new interpreter with uv and create a new ".venv" environment', |
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.
Does this always install a new Python interpreter, or will it use my .local
ones if available?
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.
Maybe:
'Select an interpreter or if necessary install with uv and create a new ".venv" environment',
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 think this is a tiny bit confusing in terms of the OR AND precedence. Is this accurate?
'Select an interpreter or (if needed) install with uv, and then create a new ".venv" environment',
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.
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.
Ah nice, I like that!
cd92a62
to
3293fbb
Compare
The remaining failing test is unrelated. |
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.
👾
Addresses part of #8040.
Slight modifications of the language used in the Python step of the New Folder Flow for clarity.
Defaults:

New dropdown:

If you select venv:

If you select "use existing":

Release Notes
New Features
Bug Fixes
QA Notes
@:new-folder-flow
Just click around these menus; behavior should not be changed