ente icon indicating copy to clipboard operation
ente copied to clipboard

[Web] Have the Escape key clear the search

Open bjherbison opened this issue 11 months ago • 11 comments

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.

bjherbison avatar Feb 29 '24 21:02 bjherbison

I would love to work on this issue . Can you please assign me this issue.

lokeshsingh3721 avatar Mar 04 '24 20:03 lokeshsingh3721

@mnvr I would like to work on this issue. Could you please assign me this?

Is this issue intended for below search bar?

image

aakankshabhende avatar Mar 06 '24 16:03 aakankshabhende

@mnvr I would like to work on this issue. Could you please assign me this?

Is this issue intended for below search bar? image

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.

bjherbison avatar Mar 06 '24 16:03 bjherbison

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.

mnvr avatar Mar 07 '24 04:03 mnvr

It would also be cool to focus the search bar with key combination (CTRL + F)

klaas0 avatar Jun 19 '24 08:06 klaas0

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.

daeh avatar Jul 05 '24 21:07 daeh