-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[SIW]: Run search on input change #8229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work well 👍
- we perform a search if the search term is updated.
- we always perform a search when the end-user triggers the enter key.
- we do not perform a search if the search term is not updated
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <muhammad.shahid@ericsson.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work well 👍 . I confirmed that 1/search is not triggered if the search term is not updated, 2/search is triggered if the end-user pressed the enter key.
@kittaakos can you review if it's working for you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works great. Thank you!
I'll merge tomorrow if there are no objections 🚀 |
What it does
Fixes: #7346
Runs a search query only when there is a change in the input field
Signed-off-by: Anas Shahid muhammad.shahid@ericsson.com
How to test
ENTER
without changing the input, it should trigger a search.Review checklist
Reminder for reviewers