Commit graph

8 commits

Author SHA1 Message Date
alistair3149 e203bbeaab
fix: tweak weird gap between search box and suggestion 2021-07-25 20:21:12 -04:00
alistair3149 7dc0d14c70
feat: simplify background color variables in core styles
--background-color-dp-XX is soft depreciated, please use --color-surface-X instead
2021-07-25 19:16:05 -04:00
alistair3149 62f161f633 fix: incorrect variable name 2021-05-27 11:20:12 -04:00
alistair3149 5c6408d766 feat: convert border radius to CSS variable 2021-05-27 11:20:12 -04:00
alistair3149 edf6aa1834
fix: search suggestion height overflow 2021-05-17 17:58:48 -04:00
github-actions 9d792fc5b0 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-17 21:55:52 +00:00
alistair3149 3607a3dbcc
feat: tweak search suggestion styles 2021-05-17 17:55:00 -04: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