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

Useful search for larger ListPrompts #1702

Open
BlackPhlox opened this issue Nov 25, 2024 · 0 comments · May be fixed by #1703
Open

Useful search for larger ListPrompts #1702

BlackPhlox opened this issue Nov 25, 2024 · 0 comments · May be fixed by #1703

Comments

@BlackPhlox
Copy link

Is your feature request related to a problem? Please describe.

Since there has to be an issue related to the changes from PR discussing the changes. I've created is issue as the forum to discuss the changes further in relation to the PR.

The shortcomings of the current search are that items searched for are only getting highlighted, meaning all other items are kept. This is not sustainable if the list prompts contain many items. This has already been flagged in #1546.
Furthermore, not being able to search in multi prompts is very limiting. I know the reason for not allowing this, is due to space-key is being used as the selection of items, but again not sustainable, as it is also a very common need. Have been flagged by #1665.

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • Enable search for MultiSelectionPrompt and use a modifier (ctrl) and space for selection.
  • Add filtering to SelectionPrompt and MultiSelection based on the search text.

Describe alternatives you've considered
A different solution is to provide full customizability in the userspace as suggested in #1545. But that seems a bit overkill and is more of a nice to have than a need to have.

Additional context

The current idea/outline for the solution breaks backward compatibility, which should be considered.


Please upvote 👍 this issue if you are interested in it.

@github-project-automation github-project-automation bot moved this to Todo 🕑 in Spectre Console Nov 25, 2024
@BlackPhlox BlackPhlox changed the title Useful search for largers listprompts Useful search for larger ListPrompts Nov 25, 2024
@BlackPhlox BlackPhlox linked a pull request Nov 25, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo 🕑
Development

Successfully merging a pull request may close this issue.

1 participant