Add multi-select to context menu commands that most need it #1623
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #331, fixes #1453.
This PR is similar to #1620 (and also covers what #1494 does) but adds multi-select support to all of the explorer groups (except Registries), with multi-select support for the following commands:
Containers, Images, Networks, Volumes: Remove
Containers only: Start, Stop, Restart
It also will filter off nodes for which the action taken is not eligible (for example, parent nodes, or stopping an already-stopped container). Unfortunately it shows actions for whatever was the specific item in the selection set that was right-clicked (not actions that are valid for all selected items) but we think that for the most part that will not be an issue.
Some of the remaining commands do not make sense as a multi-select (for example, Image > Copy full tag), some of the others maybe make sense but we are leaving them as single-select at this time (for example, Inspect).