loop8ack / ExtensionPackTools

Import and export lists of Visual Studio extensions.
Other
79 stars 15 forks source link

Export all extensions feature #25

Closed NN--- closed 3 years ago

NN--- commented 4 years ago

There should be button to export all without selecting one by one.

astrohart commented 4 years ago

I second that emotion. I have a large number of VS2019 extensions, and it would be helpful to be able to click one button to select all of them in one go -- rather than a manual process of clicking each check box one by one. fig01

AizenSousuke commented 4 years ago

Is the function already in the latest version? I saw the pull request & code but it isn't appearing in the modal.

jakeafoster commented 4 years ago

The update has not been sent to the store yet.

I installed the updated version manually since it was quicker than clicking extensions one by one.

astrohart commented 4 years ago

I would like to recommend that a "Deselect All" button also be added.

In fast, I suggest the use of the "list builder pattern" for the dialog box, such as this example shown:

image

However, with Add All and Remove All buttons also.

madskristensen commented 4 years ago

I can release the latest version to the Marketplace. Can you please verify that the latest CI build works to your satisfaction?

jakeafoster commented 4 years ago

@astrohart I added a 'Deselect all' button as well. Please take a look below. 2020-09-12_12-12-35

jakeafoster commented 4 years ago

Thanks, @madskristensen. It works okay for me.

astrohart commented 4 years ago

That is very nice, but what about the "OK" button? I am confused, once I've "selected" all my extensions that I want, how do I tell it to "do it?"

In my mind, the "Select All" and "Deselect All" buttons just change the state of the check boxes. There should be an OK button in the dialog box (I suggest renaming the "Select" button "OK" and change it to have the default focus (i.e., a heavy bold border and it's pressed when the ENTER key is pressed)).

astrohart commented 4 years ago

Something like this:

image

As shown in the image, there are "OK" and "Cancel" buttons. The "Cancel" button, when clicked, closes the dialog box and does not do anything else (i.e., does not apply the user's settings in any way). Pressing the ESCAPE key should also trigger the "Cancel" functionality. Likewise, the "OK" button dismisses the dialog box and also applies the user's settings/takes the action of importing or exporting (for even more user-friendliness, detect whether the dialog is being brought up to Import or Export, and change the text of the "OK" button to "Export" or "Import," as appropriate). The "OK" button should also be triggered by a press of the ENTER key. Move the Select and Select All buttons to be aligned as shown, and this makes for a more pleasing layout.

astrohart commented 3 years ago

Fixed by via 02d134c.