Improve studio/tag/performer filtering (#3619)

* Support excludes field
* Refactor studio filter
* Refactor tags filter
* Support excludes in tags
---------
Co-authored-by: Kermie <kermie@isinthe.house>
This commit is contained in:
WithoutPants
2023-05-25 12:03:49 +10:00
committed by GitHub
parent 45e61b9228
commit 62b6457f4e
30 changed files with 1105 additions and 117 deletions

View File

@@ -0,0 +1,9 @@
export function keyboardClickHandler(onClick: () => void) {
function onKeyDown(e: React.KeyboardEvent<HTMLAnchorElement>) {
if (e.key === "Enter" || e.key === " ") {
onClick();
}
}
return onKeyDown;
}