Commit graph

63 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 2987e23290 Localisation updates from https://translatewiki.net. 2021-05-17 13:15:55 +02:00
translatewiki.net 129fad54d2 Localisation updates from https://translatewiki.net. 2021-05-13 13:51:38 +02:00
translatewiki.net e7ad3ff181 Localisation updates from https://translatewiki.net. 2021-05-10 14:10:41 +02: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
translatewiki.net 0f8d741b0c Localisation updates from https://translatewiki.net. 2021-05-03 15:27:39 +02:00
translatewiki.net 0ae9f0b7a8 Localisation updates from https://translatewiki.net. 2021-04-30 09:01:12 +02:00
translatewiki.net 7c6a9e140c Localisation updates from https://translatewiki.net. 2021-04-28 16:39:36 +02: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
translatewiki.net 2dd762cef7 Localisation updates from https://translatewiki.net. 2021-04-22 15:06:56 +02:00
translatewiki.net c59971257a Localisation updates from https://translatewiki.net. 2021-04-19 12:51:29 +02:00
translatewiki.net bc23e9c381 Localisation updates from https://translatewiki.net. 2021-04-15 13:27:29 +02:00
alistair3149 2a93a292c7
feat: add contextual tagline for different namespaces 2021-04-12 17:09:35 -04:00
translatewiki.net 44414e1b73 Localisation updates from https://translatewiki.net. 2021-04-05 15:31:37 +02:00
translatewiki.net e650bd3653 Localisation updates from https://translatewiki.net. 2021-04-01 13:46:25 +02:00
translatewiki.net 197704d817 Localisation updates from https://translatewiki.net. 2021-03-29 18:00:10 +02:00
alistair3149 bbbcaba94d
feat: add site stats to drawer 2021-03-22 17:01:08 -04:00
translatewiki.net 4dab0e5e3e Localisation updates from https://translatewiki.net. 2021-03-08 15:55:10 +01:00
translatewiki.net c6dc92c1aa Localisation updates from https://translatewiki.net. 2021-03-01 15:42:42 +01:00
translatewiki.net 6e4f1223ed Localisation updates from https://translatewiki.net. 2021-02-15 14:50:12 +01:00
translatewiki.net 9ef1d267b6 Localisation updates from https://translatewiki.net. 2021-02-11 18:56:16 +01:00
translatewiki.net b6919909c7 Localisation updates from https://translatewiki.net. 2021-02-09 14:37:25 +01:00
translatewiki.net 78f571d5d6 Localisation updates from https://translatewiki.net. 2021-02-04 09:27:56 +01:00
alistair3149 00448a095d
feat: add drawer subsearch part 2 2021-02-03 15:47:32 -05:00
translatewiki.net 135735bcde Localisation updates from https://translatewiki.net. 2021-02-01 15:29:23 +01:00
translatewiki.net 7dc56813e4 Localisation updates from https://translatewiki.net. 2021-01-28 18:54:00 +01:00
translatewiki.net 7ef9007388 Localisation updates from https://translatewiki.net. 2021-01-25 18:10:32 +01:00
translatewiki.net 24d5158f90 Localisation updates from https://translatewiki.net. 2021-01-21 15:14:33 +01: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 d6f5cce477 Localisation updates from https://translatewiki.net. 2021-01-18 16:53:24 +01: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 dde580e2de
Merge remote-tracking branch 'upstream/master' into feature/darkmode-switch 2021-01-09 23:03:23 +01:00
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
translatewiki.net 03c3a0579d Localisation updates from https://translatewiki.net. 2021-01-04 14:49:45 +01:00
translatewiki.net 413c41b1ee Localisation updates from https://translatewiki.net. 2020-11-26 17:59:47 +01:00
translatewiki.net 688eeff56f Localisation updates from https://translatewiki.net. 2020-07-30 15:33:17 +02: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 925c3f8152 Localisation updates from https://translatewiki.net. 2020-06-29 16:25:34 +02:00
translatewiki.net 97c820c002 Localisation updates from https://translatewiki.net. 2020-06-22 17:26:29 +02:00
translatewiki.net 4a23cc1af4 Localisation updates from https://translatewiki.net. 2020-06-18 21:21:58 +02: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