* 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
* bug: Fix display of theme toggle button if set to auto
* feat: Add subsearch script to drawer
An input in the drawer allows to search portal headings and links for matching text
- Hides all portals / links based on the search value
Feature can be enabled by setting `$wgCitizenEnableDrawerSubSearch = true;` in LocalSettings.
* bug: Fix subsearch
* feat: Move some toolbox links into the drawer
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
* fix: fix header background bleeding in VE
* feat: move personal menu out of drawer to header
* feat: update personal menu styles in smaller breakpoints
* fix: fix typo in qqq documentation
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* feat: add title text to personal menu button
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
* feat: add support for different logo configurations and variants
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
* feat: update layout in different breakpoints
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* feat: remove negative margin for namespace and catlinks
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
* refactor: Fix switching theme
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* refactor: Fix bad rebase
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
Co-authored-by: github-actions <github-actions@users.noreply.github.com>