Quicker filtering and selection of a single item
Opened this issue · 2 comments
steel-steven-87 commented
Summary of the new feature / enhancement
As a user I want to be able to use Out-ConsoleGridView to filter and select an item with the fewest number of actions to speed up the selection process.
Proposed technical implementation details (optional)
This is the current sequence of actions that need to be performed:
- Run command
Get-Process | Out-ConsoleGridView -OutputMode Single
- Hit
Tab
to focus on the filter to be able to start typing - Do a search, e.g., "Firefox"
- Hit
Enter
to move the focus from the filter to the grid - Hit
Enter
again to select the object and close the grid view
The proposed solution is to add settings to allow this sequence of actions:
- Run command
Get-Process | Out-ConsoleGridView -OutputMode Single
- (Filter gets focused automatically) Do a search, e.g., "Firefox"
- Hit
Enter
:- Scenario A. Given only one result is matched, then select the object and close the grid view
- Scenario B. Given multiple results are matched, then focus on the grid and allow to move up/down to select the desired item and hit
Enter
to confirm the selection and close the grid view
steel-steven-87 commented