Skip to content

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

Merged
merged 2 commits into from
Jun 24, 2025
Merged

new python folder: update language #8223

merged 2 commits into from
Jun 24, 2025

Conversation

austin3dickey
Copy link
Contributor

@austin3dickey austin3dickey commented Jun 20, 2025

Addresses part of #8040.

Slight modifications of the language used in the Python step of the New Folder Flow for clarity.

Defaults:
image

New dropdown:
image

If you select venv:
image

If you select "use existing":
image

Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

QA Notes

@:new-folder-flow

Just click around these menus; behavior should not be changed

Copy link

github-actions bot commented Jun 20, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:new-folder-flow

readme  valid tags

// --- 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 ---
Copy link
Contributor Author

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

@austin3dickey
Copy link
Contributor Author

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',
Copy link
Contributor

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?

Copy link
Contributor

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',

Copy link
Contributor

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',

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I played with a LOT of different wordings and like this the best. I think it's both precise and clear.

image

Copy link
Contributor

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!

@austin3dickey
Copy link
Contributor Author

The remaining failing test is unrelated.

Copy link
Contributor

@isabelizimm isabelizimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👾

@austin3dickey austin3dickey merged commit d16c463 into main Jun 24, 2025
27 of 28 checks passed
@austin3dickey austin3dickey deleted the aus/reword branch June 24, 2025 18:43
@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants