Commit graph

12 commits

Author SHA1 Message Date
alistair3149 ba50defaba
refactor(core): ♻️ make typeahead items more reusuable 2023-03-01 16:31:42 -05:00
alistair3149 203b0b42c3
feat(search): add MediaSearch to typeahead 2022-12-14 10:28:45 -05:00
alistair3149 4d1225b96f
refactor(search): ♻️ simplify typeahead item styles and classes 2022-12-13 23:52:54 -05:00
alistair3149 34804e8258
feat(search): use WMUI icon for placeholder 2022-12-06 14:48:18 -05:00
alistair3149 fd0978b73d
feat(search): use background-image instead for typeahead thumbnails 2022-12-06 14:27:08 -05:00
alistair3149 284b0d8952
feat(search): add no result state to typeahead 2022-12-06 13:52:14 -05:00
alistair3149 9bf737f720
feat(search): add empty state to typeahead
This is a barebone initial implementation, more work will come to it
2022-12-06 12:01:47 -05:00
alistair3149 3488e29960
feat(search): show enter key tip when item is active 2022-12-05 15:52:36 -05:00
alistair3149 c9b03aa7fe
feat(search): merge footer into item element 2022-12-05 15:29:17 -05:00
alistair3149 99b3523cd6
refactor(search): ♻️ partial cleanup on typeahead DOM 2022-12-04 02:13:37 -05:00
alistair3149 4293021d5c
feat(search): clean up redirect text implementation 2022-12-03 14:12:01 -05:00
alistair3149 b2bd79196d
feat: rework search module (#386)
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)

* refactor: remove old search module

* feat: clean up search suggestion styles

* feat: hide overflow for suggestion text

* feat: add action API and various cleanup

* feat: re-add abort controller

* feat: add message support and tweaks

* feat: use virtual config instead of ResourceLoader hook

* fix: missing comma in const definition

* feat: add ARIA attributes
2021-05-17 16:34:14 -04:00