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
Add-on store: Handle bulk install #15350
Conversation
See test results for failed build of commit ac2866d2c4 |
@seanbudd, it's a very good news that you implement a way to perform actions on multiple add-ons. Here are feedbacks from my first tests (commit e1a5f88):
I can see that this PR is now in Draft again, so feel free to ignore my comment if they do not apply anymore. |
Hi @seanbudd Here is an important question for Chinese users: As we all know, in a list control that supports multiple selections, users can hold down the Ctrl key and then press the arrow keys to locate the item they wish to select. After finding the item, they can press the space key. This process is valuable for selecting multiple non-adjacent items. However, there are certain differences in the Chinese version of Windows: the Ctrl+Space shortcut is utilized to globally switch input languages. Consequently, Chinese users encounter a need for an alternative method when attempting to select multiple non-adjacent items in the list. The solution provided by Microsoft is to maintain the Ctrl key pressed while searching for the desired item within the list. After locating the item, if the user wishes to select it, they need to momentarily release the Ctrl key and then press the space key to select the current item. If the user intends to continue selecting other items, they must keep the Ctrl key held down and repeat the aforementioned steps. The existing issue is that the action button activates when I press the space key by itself. While I can select adjacent items by pressing Shift along with the arrow keys, I am unable to select non-adjacent items. By the way, the interaction of pressing the space key to activate an action button when a list item is focused is somewhat perplexing, and I rarely encounter it. Cheers |
Note that pressing space on an unselected item in a list (Windows Explorer) also selects it, even on non-Chinese Windows (tested on French). Thus @cary-rowen's suggestion to remove space shortcut key in the add-on list fully makes sense. Enter or Appplication key (or shift+F10) will still allow to open the context menu of an add-on. @cary-rowen out of curiosity, how do you unselect an item when performing a multi-selection in list on a Chinese system? E.g. when you want to select all items (control+A) and unselect only one in the middle of them? |
Hi @CyrilleB79 Thanks for letting me know that this issue is also affecting French users.
In this case my steps are as follows:
Cheers |
No, this issue does not affect French users. I just wanted to say that the way Chinese people perform selection in list is not a specificity of Chinese systems and is doable on other systems. |
See test results for failed build of commit 603f9a50f8 |
See test results for failed build of commit a52ebe9971 |
See test results for failed build of commit 68bf9223f2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Link to issue number:
None
Summary of the issue:
To be able to stress test the add-on installation system, a method of bulk installing add-ons is useful.
There is also a general request from users to be able to perform bulk actions like installing, updating or removing add-ons.
Description of user facing changes
Users are now able to bulk install add-ons.
This can be done by selecting multiple add-ons in the available add-ons tab, then activating the context menu on the selection and choosing the install action.
Description of development approach
Create a separate context menu for bulk actions. This creates an API for future bulk actions.
Testing strategy:
Manually test STR in #15347
Test selecting multiple add-ons and performing bulk install
Known issues with pull request:
None
Change log entries:
New features
Code Review Checklist: