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

Trigger input based search #116

Open
maheshj01 opened this issue Mar 7, 2024 · 1 comment
Open

Trigger input based search #116

maheshj01 opened this issue Mar 7, 2024 · 1 comment
Labels
easy fix should be relatively easy to fix P3 Low Priority: A bug or a feature request we plan to work on in near future (default) severe: new feature Request for a new capability or a feature

Comments

@maheshj01
Copy link
Owner

Is your feature request related to a problem? Please describe.
In a chat application users would want to see suggestions only when inputting certain terms e.g pressing @ shows list of users in a group chat or # shows topics

image

Additional context
Add any other context or screenshots about the feature request here.

@maheshj01 maheshj01 added severe: new feature Request for a new capability or a feature easy fix should be relatively easy to fix P2 Medium Priority: Something is broken and should be fixed as soon as possible labels Mar 7, 2024
@maheshj01
Copy link
Owner Author

maheshj01 commented Mar 14, 2024

We also have a SuggestionState.expand which shows suggestions when it is brought into focus, For this feature should work we should mandate Searchfield to be in SuggestionState.hidden state.

  • Suggestions Trigger should take a triggerChar as a parameter
  • Test that the suggestions are displayed when the triggerChar is typed
  • Expose onTriggerCharTyped callback

@maheshj01 maheshj01 added P1 High Priority: This is a show stopper and must be addressed immediately P3 Low Priority: A bug or a feature request we plan to work on in near future (default) and removed P2 Medium Priority: Something is broken and should be fixed as soon as possible P1 High Priority: This is a show stopper and must be addressed immediately labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy fix should be relatively easy to fix P3 Low Priority: A bug or a feature request we plan to work on in near future (default) severe: new feature Request for a new capability or a feature
Projects
None yet
Development

No branches or pull requests

1 participant