Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Support Type Suggest, Highlight, and Complete Component #265

Closed
khalidabuhakmeh opened this issue Feb 18, 2021 · 1 comment
Closed

Support Type Suggest, Highlight, and Complete Component #265

khalidabuhakmeh opened this issue Feb 18, 2021 · 1 comment
Labels

Comments

@khalidabuhakmeh
Copy link
Contributor

Given you have a table of results, allow users to "search" through the table by typing. With each character, highlight found results. For example, take a look at the .NET CLI. This table of templates will get big and unmanageable.

image

Maybe this is a SearchAndComplete feature that can wrap other components. It sits and waits for input. As you type, it redraws the nested elements and highlights text.

Highlighted values can be cycled through and used as the input.

image

Finally, the SearchAndComplete feature allows for "templated input".

In this case we dotnet new {selection}. Once selected (the user hits enter), the input is replaced with the value.

@khalidabuhakmeh
Copy link
Contributor Author

As an addendum, possibly each element in the Table would have a suggested complete value. Thus allowing you to select a "row" but get a consistent autocomplete result.

@spectreconsole spectreconsole locked and limited conversation to collaborators Jun 20, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants