Skip to content
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

Added diagnostic asking users to delete pythonPath from their workspace settings #11113

Closed
wants to merge 12 commits into from

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Apr 12, 2020

Closed in favor of #11180

For #11108

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

@codecov-io
Copy link

codecov-io commented Apr 12, 2020

Codecov Report

Merging #11113 into master will decrease coverage by 0.74%.
The diff coverage is 96.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11113      +/-   ##
==========================================
- Coverage   61.27%   60.52%   -0.75%     
==========================================
  Files         593      598       +5     
  Lines       32492    34878    +2386     
  Branches     4593     5214     +621     
==========================================
+ Hits        19910    21111    +1201     
- Misses      11580    12713    +1133     
- Partials     1002     1054      +52     
Impacted Files Coverage Δ
...ication/diagnostics/checks/pythonPathDeprecated.ts 96.22% <96.22%> (ø)
src/client/application/diagnostics/constants.ts 100.00% <100.00%> (ø)
.../client/application/diagnostics/serviceRegistry.ts 96.66% <100.00%> (+0.23%) ⬆️
src/client/common/utils/localize.ts 95.31% <100.00%> (+0.05%) ⬆️
src/client/constants.ts 83.33% <0.00%> (-16.67%) ⬇️
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
...rc/client/common/application/webPanels/webPanel.ts 8.41% <0.00%> (-3.44%) ⬇️
...t/common/application/webPanels/webPanelProvider.ts 28.94% <0.00%> (-2.88%) ⬇️
...ascience/jupyter/liveshare/guestJupyterNotebook.ts 7.51% <0.00%> (-2.79%) ⬇️
... and 39 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea5c808...850ab0e. Read the comment docs.

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

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

Thanks for working on this! I have a few comments.

package.nls.json Outdated Show resolved Hide resolved
package.nls.zh-tw.json Show resolved Hide resolved
@@ -335,7 +338,7 @@
"DataScience.valuesColumn": "values",
"DataScience.liveShareInvalid": "One or more guests in the session do not have the Python [extension](https://marketplace.visualstudio.com/itemdetails?itemName=ms-python.python) installed.\r\nYour Live Share session cannot continue and will be closed.",
"diagnostics.updateSettings": "Yes, update settings",
"Common.noIWillDoItLater": "No, I will do it later",
"Common.noIWillDoItLater": "No, I'll do it later",

Choose a reason for hiding this comment

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

🤨

Copy link
Author

Choose a reason for hiding this comment

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

To decrease the size of the button in the prompt.

Choose a reason for hiding this comment

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

This would only work in English, and not other languages.

Copy link
Author

@karrtikr karrtikr Apr 14, 2020

Choose a reason for hiding this comment

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

I would say let's try to solve this where we can, removing all translations doesn't seem right.

Also, on second thought, I don't think translation from I will to I'll will affect translation to other languages.

Choose a reason for hiding this comment

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

I would say let's try to solve this where we can

I disagree. And it's not removing all translations, I disagree with the contraction here.

I don't think translation from I will to I'll will affect translation to other languages.

Exactly, it's an English-centric approach that doesn't take into account the other languages. The prompt buttons may look balanced in English, but German users (and probably others) will still see a button that's too big.

Copy link
Author

Choose a reason for hiding this comment

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

it's an English-centric approach that doesn't take into account the other languages

Why does it need to take into account the other languages, when changing I will to I'll in English doesn't affect translations in other languages?

If I am changing the string No I will do it later to something else which changes its translation to other languages, I can see that I am solving it just for English which is wrong, but that's not the case.

package.nls.json Outdated Show resolved Hide resolved
@karrtikr karrtikr requested a review from kimadeline April 14, 2020 12:32
package.nls.json Outdated Show resolved Hide resolved
package.nls.json Outdated Show resolved Hide resolved
@karrtikr karrtikr requested review from ericsnowcurrently and removed request for ericsnowcurrently April 15, 2020 07:38
@karrtikr karrtikr requested a review from kimadeline April 15, 2020 10:58
@karrtikr karrtikr closed this Apr 15, 2020
@karrtikr karrtikr reopened this Apr 15, 2020
@karrtikr karrtikr closed this Apr 15, 2020
@karrtikr karrtikr deleted the pythonPathPrompt branch April 15, 2020 13:28
@karrtikr karrtikr restored the pythonPathPrompt branch April 15, 2020 13:28
@karrtikr
Copy link
Author

karrtikr commented Apr 15, 2020

Builds passing on CI but not showing up here😩

Expected — Waiting for status to be reported

@karrtikr karrtikr reopened this Apr 15, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@karrtikr
Copy link
Author

Closed in favor of #11180

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
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