Commit graph

30 commits

Author SHA1 Message Date
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
translatewiki.net 2ac9bf4509 Localisation updates from https://translatewiki.net. 2021-05-07 10:58:41 +02:00
alistair3149 87756194fb
feat: add icon and text for addsection action (#368) 2021-05-05 13:08:37 -04:00
alistair3149 51ac47691e feat: implement reading preferences
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149 e2b4a4e49a
feat: show page title on header after scroll
The page header also acts as a jump to top link
2021-04-26 11:39:27 -04:00
alistair3149 2a93a292c7
feat: add contextual tagline for different namespaces 2021-04-12 17:09:35 -04:00
alistair3149 bbbcaba94d
feat: add site stats to drawer 2021-03-22 17:01:08 -04:00
alistair3149 00448a095d
feat: add drawer subsearch part 2 2021-02-03 15:47:32 -05:00
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* 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>
2021-01-19 15:56:42 -05:00
translatewiki.net 9f2c740485 Localisation updates from https://translatewiki.net. 2021-01-14 16:12:11 +01:00
alistair3149 687807c2e0
docs: add i18n documentation on theme options 2021-01-12 19:50:24 -05:00
H. C. Kruse e30e6ce52c
feat: implement theme toggle (#201) 2021-01-11 12:13:59 -05:00
alistair3149 5a8c15f3c2
refactor: move theme preference underneath skin preferences 2021-01-10 17:38:11 -05:00
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
translatewiki.net 40a244cac5 Localisation updates from https://translatewiki.net. 2020-07-06 18:49:37 +02:00
alistair3149 d0c23dde30
Move citizen-desc to citizen-skin-desc 2020-07-05 18:19:31 -04:00
translatewiki.net 5f1815b74c Localisation updates from https://translatewiki.net. 2020-06-15 22:18:04 +02:00
alistair3149 5df1d0971e
Removed no result search suggestion 2020-06-07 18:48:21 -04:00
alistair3149 b03c250a75
Added full text search to search suggestions 2020-06-07 18:34:12 -04:00
alistair3149 72b41df5ce
Refactor header DOM structure
- Reduced unnessecary HTML elements
- Stanardized class and IDs
- Switch to fix header due to performance concern
- Rewrote over-qualified CSS selectors
- Started rework on file organizations
2020-06-07 01:30:54 -04:00
alistair3149 72bfbb6087
Converted header toggle tooltip to i18n message 2020-06-03 23:39:50 -04:00
alistair3149 37732ea6a9
Partial Mustache refactor (#113)
Refactor some components into Mustache. With the footer refactor addressed in #75, it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149 311e1bc441
Updated localization 2020-03-26 15:54:14 -04:00
alistair3149 540613bba1
Changed suggestion placeholder 2019-12-31 13:12:49 -05:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 5b1463f37b
Adding octfx as author 2019-12-29 16:23:01 -05:00
alistair3149 6ab2d17cce
Updated website 2019-12-26 14:04:39 -05:00
alistair3149 45b775c5fc Repushed Citizen skin 2019-08-15 13:40:13 -04:00
alistair3149 5371f3182f Fix localsettings.php to remove wave.js, temp remove Citizen skin to repush 2019-08-15 13:39:47 -04:00
alistair3149 653dce2711 Updated Citizen skin files 2019-08-09 03:22:43 -04:00