Argus
Argus copied to clipboard
Use auto-submit (debounce) instead of button click to search columns
the search input form introduces an annoying bug: If you are writing something in the search bar when the data is refetched, the filter is applied automatically, without an explicit click on the filter button. This feels very unexpected, as there is no filter-as-you-type functionality in place. Debounced input submission with htmx could be an option instead of having the filter button, as the page refresh will circumvent a standard form submission.
Originally posted by @Simrayz in https://github.com/Uninett/Argus/pull/1571#pullrequestreview-3441575498