-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Limit the number of prompts shown to the user #7700
Comments
Can we do anything about this @DonJayamanne ? Except for making sure we don't do this. |
Not, much, it's a bug in the code. All we can do is rely on our CI tests to fail, cuz extension will never activate, hence tests will timeout, then CI will go kaboom, at least that's what I expect. |
I take that back, a possible solution is creating a custom linter (we've done this in the past). Details here #7702 |
Suggestions:1. LinterCreate a custom linter (we've done this in the past). Details here #7702 2. TestsCreate function tests and ensure the extension isn't blocked by messages. Details here #7703 3. Design
I.e. the more messages we have, it becomes obvious that our extension is spamming the user with too many messages and we'd be forced to re-think our approach. At the end of the day it's a poor design that will need to be addressed. E.g. we displayed prompts asking the user to upgrade their settings from one to the other. E.g. when we changed the names of some settings in the |
Additional feedback in #9281 from @isidorn:
|
The very first thing you see when installing the extension is the "Quick Start" that tells you how to change your interpreter, so I think the redundant "Tip" notification should just be removed entirely at this point. I personally have a very strong aversion to any sort of these forced "clicking on a Got It! button" shenanigans. |
Closing in favor of #19174 |
The extension does not control the order OR the number of prompts shown simultaneously. Potentially
linter
,formatter
,test settings
,conda env
, etc. can show up at once.There is an added problem of calling blocking prompts in
activate
, which can cause extension to load to fail silently. #7633 (comment)The text was updated successfully, but these errors were encountered: