Commit graph

8 commits

Author SHA1 Message Date
bf21610576 site: bind search component open to items.length 2025-04-28 15:58:00 +00:00
cc25efc5f4 site: rework {up,down} arrow handling
Allows it to work when setting the cursor via the pointer.
2025-04-28 14:19:01 +00:00
301b28e7e1 site: remove focus event from search 2025-04-28 13:48:07 +00:00
e28a2e2239 site: add a class to search form 2025-04-28 13:43:21 +00:00
07987b7c0e site: rework search component
Don't reimplement a bunch of reactive stuff that Alpine.js handles by
default.
2025-04-28 12:46:29 +00:00
4a2fb176d8 site: reset suggestions state when clicking anywhere else 2025-04-28 06:52:23 +00:00
8168bb9715 site: decouple state from event handlers
Try to avoid directly setting state from event handlers and instead
provide utility functions that mutate state in a consistent way.
2025-04-28 06:52:23 +00:00
08be6b17f5 site: implement search functionality 2025-04-27 15:20:49 +00:00