ente
ente copied to clipboard
[Web] Have the Escape key clear the search
Is your feature request related to a problem? Please describe. In many interfaces pressing Escape clears something recently set. In web browsers and many other applications Escape clears a search string. Since that is a common function of Escape I'm frustrated when Escape handling isn't implemented by an application or web page.
Describe the solution you'd like When the Escape (Esc) is pressed on https://auth.ente.io/auth clear the search string and set focus to the search field.
I would love to work on this issue . Can you please assign me this issue.
@mnvr I would like to work on this issue. Could you please assign me this?
Is this issue intended for below search bar?
@mnvr I would like to work on this issue. Could you please assign me this?
Is this issue intended for below search bar?
I was intending the comment for https://auth.ente.io/auth but I didn't really specify that. It would apply for any search bar in any web application.
Hey @aakankshabhende, thank you for helping out! As @bjherbison mentioned, this behaviour perhaps makes sense for most (all?) search bars, so we can add it to both auth and photos search bars. But if it is simpler for you then we can start by adding it to auth first, just to reduce the scope of changes.
It would also be cool to focus the search bar with key combination (CTRL + F)
Adding support for escape to exit search in MacOS Desktop app (so that it's easy to see the tags). And for cmd-F to activate the search.