At the moment if I want to clear the search box, I have to click in the search box and manually remove all the keywords.
I think Itâd be more convenient if there is a button at the right side of the search box to reset the search filter.
Hi Jimmy,
Thank you for the question.
You can clear the search keywords just by hitting Esc key.
This is still a bit inconvenient. If Iâm just browsing using the mouse, Iâll have to click into it and hit a key. It would be great if thereâs a clear button.
When I want to quit searching but donât want to leave a mouse, I click âAll Notesâ on the sidebar. It behaves as same as clearing the search bar.
I also think having a clear button on the right is a nice thing to have (and quite a common pattern).
A related issue that took me a while to find out was how to dismiss the âsearch in noteâ bar. I would also add a close button there. It wasnât clear to me that I needed to click Esc to dismiss it.
Hi David,
Thanks for the opinion.
Thatâs interesting - I havenât ever thought that it needs a close button or a clear button in the find-in-note bar because Iâm used to it with editors like Sublime Text:
So, I think itâd be a personal preference.
I agree the clear button is a âniceâ to have, but I think the close button should be a must to have.
Having a close button in a search dialog is quite standard across all diferent types of apps. Some examples:
-
Chrome:
-
Firefox:
-
Slack:
-
Jetbrains IDEs (IntelliJ et al.)
-
Visual Studio Code:
-
iTerm
Actually, I couldnât find any app on my device that doesnât have a close button. Maybe Sublime is the only exception
Thanks for giving the examples. Yeah, I understand that the clear button would be like a common UI.
I guess I am a keyboard person, thatâs why I feel like itâs kind of unnecessaryâŚhaha
One reason I donât want to add the clear button is that it eats the width from such a small search bar.
But I found that a mail client Spark solves that elegantly.
By default, it looks something like:
When you put keywords, it hides the magnifier icon from the bar:
This is cool. That way, you can avoid wasting the space. On it.