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

Quicker filtering and selection of a single item #250

Open
steel-steven-87 opened this issue Aug 20, 2024 · 2 comments
Open

Quicker filtering and selection of a single item #250

steel-steven-87 opened this issue Aug 20, 2024 · 2 comments

Comments

@steel-steven-87
Copy link

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:

  1. Run command Get-Process | Out-ConsoleGridView -OutputMode Single
  2. Hit Tab to focus on the filter to be able to start typing
  3. Do a search, e.g., "Firefox"
  4. Hit Enter to move the focus from the filter to the grid
  5. 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:

  1. Run command Get-Process | Out-ConsoleGridView -OutputMode Single
  2. (Filter gets focused automatically) Do a search, e.g., "Firefox"
  3. 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
@tig
Copy link
Collaborator

tig commented Aug 21, 2024

Dupe of #127

Right?

@tig tig closed this as completed Aug 21, 2024
@steel-steven-87
Copy link
Author

@tig Not really. #127 is about putting focus on a specific item in the list, mine's about allowing to focus on the filter.

Please open this again. I think it could be a nice optimisation in many cases.

@tig tig reopened this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants