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

Extension recommendations as modal dialogs #117051

Closed
isidorn opened this issue Feb 19, 2021 · 10 comments
Closed

Extension recommendations as modal dialogs #117051

isidorn opened this issue Feb 19, 2021 · 10 comments
Assignees
Labels
extensions Issues concerning extensions
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Feb 19, 2021

We plan to experiment with showing extension recommendations as modal dialogs after the user explicitly hit the "Set Language Mode" action.
This way user will discover extensions easier, and hopefully we will show it in just the right time.

We plan to do it start of march.

Implementation ideas:
fileBasedRecommendations listen on commandService.onDidExecuteCommand and if you see that the workbench.action.editor.changeLanguageMode is exectued and that the mode of the active editor is no longer plaintext you show the model dialog, not the notification

fyi @stevencl

@isidorn isidorn added this to the March 2021 milestone Feb 19, 2021
@isidorn isidorn added the extensions Issues concerning extensions label Feb 19, 2021
@isidorn
Copy link
Contributor Author

isidorn commented Feb 22, 2021

@jrieken had a good idea that we could also use the lightbulb which we plan to introduce in the editor title menu
@misolori can you point me to the light bulb issue? And do we have some plan when we would like to add that?

@miguelsolorio
Copy link
Contributor

@isidorn that was from the ux call last week based on @Tyriar's workflow for actions-based recommendations, i'm not sure whether we had planned to add it or if it was just an exploration.

@isidorn
Copy link
Contributor Author

isidorn commented Mar 16, 2021

I would not do anything regarding this one for this milestone.
There were some other good ideas and for now I would not yet add a modal dialog recommenation

@isidorn isidorn modified the milestones: March 2021, On Deck Mar 16, 2021
@jrieken
Copy link
Member

jrieken commented Mar 16, 2021

Yeah, please don't use model notifications... For me, notifications are often used for the lack of alternatives. I believe extension recommendations are important enough to deserve a dedicated UI, like contextual hints inside editors or on the activity bar icon.

@isidorn
Copy link
Contributor Author

isidorn commented Mar 16, 2021

Yup, I agree with that.

@stevencl
Copy link
Member

@misolori and @digitarald had a few explorations showing contextual hints in various locations. Would be good to be able to start exploring some of those ideas.

@isidorn
Copy link
Contributor Author

isidorn commented Mar 16, 2021

I missed those. Would be cool if @misolori and @digitarald can fill me in on the details :)

@jrieken
Copy link
Member

jrieken commented Mar 16, 2021

In some places we already have embedded hints to install extensions. Those might be good candidates to wire in recommendations. For instance, when pressing the "format document" keybinding without having a formatter we show a notification to install one. That could be enriched with recommendations and wouldn't be annoying.

@digitarald
Copy link
Contributor

showing contextual hints in various locations.

These mockups are probably the ones @stevencl meant.

On the general idea of exposing important extensions in the right places: Format is a great example. A critical point that we we saw in usertesting was run & debug; which provides JS-related defaults no matter what file you have open. We saw users trying Chrome-debugging on a python file because they missed to install the extension before.

Many of the "important" extension recommendation enable debugging. So if the current file or workspace has recommended extension that provide debugging; users should be pointed to them during the run & debug setup (in the viewlet and the prompts). I filed #119110 to not further derail the idea of modal recommendations.

@isidorn
Copy link
Contributor Author

isidorn commented Aug 19, 2021

No plans to use a modal dialog, thus closing this.
However I do agree we should improve how we recommend extensions, but we can tackle that as part of other issues.

@isidorn isidorn closed this as completed Aug 19, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

6 participants