Skip to content

[Minor UI improvement] Pressing Escape in the search/filter field should clear the search term #1697

Description

@e2jk

Describe the feature request

When typing in the search/filter field on the Gatus dashboard, pressing the Escape key should clear the current search term and restore showing all the cards.

This is a common UX pattern found in search fields across many tools. The implementation would probably be a small JavaScript keydown listener on the search input.

Why do you personally want this feature to be implemented?

When quickly checking the dashboard, I type a few characters to filter endpoints, then want to dismiss the filter with a single keystroke. Currently Escape does nothing — I have to manually select and delete the text or click away. It's a small (yes, minor/first world problem) friction point when I use the search field.

How long have you been using this project?

About 2 hours ;)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions