-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Extensions use notifications too much to notify the user to reload #121859
Comments
I think the problem here is that install is a long running operation and reload can happen after a moment when user might be doing something. This might be annoying if we just reload then? |
If it was user initiated I think it makes sense to experiment with automatic reloading (if extension requires it). Also reload is pretty fast so that is why I am optimistic in this flow. |
Fine with me. But cc-ing @joaomoreno as he is the primary owner for url handling |
No sure what this has to do with url handling? This prompt is necessary because it is destructive. |
I created this issue more to tackle many cases where we install extensions and offer a notification for the reload. My idea was if the extension install is user triggered could we compress this into one action "Install + Reload", mostly in that time period between the two there is nothing that the user can do that can be destructed. But in general I like our update flow. Update gets installed, badge in gear -> reload to update. |
Can we be specific here about what issue we are discussing? Are we talking about general extension installation or this specific case where user tries to open an URL that is handled by an extension that is not installed? In general extension installation, we do not show reload because we enable the extension automatically. In this case (extension url handling) - URL handler installs the extension and it is up to it to reload or not or handle the url immediately. My recommendation would be not to generalize this problem and go case by case as every feature requiring installing extension has its own requirements. So in this case, I would request @joaomoreno to decide what he would like to do after installing the extension. BTW I am all in for showing a badge in the extensions view for those extensions requiring reload - I already have this feature request. But is this going to fix and improve this scenario ? |
@sandy081 going case by case makes sense, sorry for not making this more explicit. So here's the list of usages where we offer to reload:
My point is that looking at the code we seem to be doing this a lot and introducing a general approach to this problem might help. |
@isidorn I updated my comments in the above list and asked @joaomoreno @lszomoru for their comments in their scenarios |
@sandy081 great, thanks a lot! |
I think keeping the URL handling notification makes sense. |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
Refs: #119463
I noticed that in the extensions land we often use the notifications to let the user know that he needs to reload in order for the extension to be fully instaled / uninstalled, while in some cases I guess that makes sense overall I think:
The text was updated successfully, but these errors were encountered: