Commit graph

205 commits

Author SHA1 Message Date
alistair3149 8280509517
refactor(core): ♻️ use CSS logical properties for shorthands 2024-11-07 21:39:00 -05:00
alistair3149 a9ff2da26d
feat(search): use 220px thumbnail for Action API search
220px is standardized to avoid further thumbnail fragmentation.
It should not affect the REST API search.
T322621
2024-10-30 02:01:18 -04:00
alistair3149 c88df2d194
feat(tokens): deprecate old font-weight-semibold variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:34:41 -04:00
alistair3149 90862b193e
feat(tokens): deprecate old line height variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:33:46 -04:00
alistair3149 dea1628ce3
feat(search): change search text label to advanced search if AdvancedSearch is enabled 2024-10-03 17:06:42 -04:00
alistair3149 b630a914df
fix(search): 🐛 fix incorrect delimiter for gpsnamespace 2024-10-01 21:48:23 -04:00
alistair3149 a0296afaed
feat(search): migrate typeahead to Mustache template part 2 2024-09-28 17:31:43 -04:00
alistair3149 640ecf824c
feat(search): hide scrollbar on chip list
It is annoying with hover scrollbar as it reappears every time the list is updated.
Plus there are already scroll affordnance for the chip list
2024-09-28 15:32:52 -04:00
alistair3149 6cccf7cddf
fix(search): 🐛 fix broken search history
It was caused by the migration and now it is fixed
2024-09-28 15:19:28 -04:00
alistair3149 527a76785e
fix(search): 🐛 incorrect alignment for typeahead item text 2024-09-28 07:28:42 -04:00
alistair3149 b448ac3077
fix(search): 🐛 add spacing between title and desc in typeahead item 2024-09-28 07:13:55 -04:00
alistair3149 723421f691
fix(search): 🐛 fix namespace parameter for Action API 2024-09-28 07:03:11 -04:00
alistair3149 c327dc4fa9
feat(search): migrate most typeahead elements to Mustache
This is a WIP and more clean ups are on the way.
2024-09-28 06:30:15 -04:00
alistair3149 3719897e93
fix(search): 🐛 search all content namespaces for Action API 2024-09-27 03:15:55 -04:00
alistair3149 8800ca672f
fix(search): 🐛 add missing reset style for li 2024-09-27 02:26:56 -04:00
alistair3149 c35d86f43f
feat(search): clean up HTML structure 2024-09-27 02:10:02 -04:00
alistair3149 5605d18f49
feat(search): clean up spacing and alignment in typehead elements 2024-09-26 22:18:29 -04:00
alistair3149 55227e6847
feat(search): tweak various search styles 2024-09-26 22:00:13 -04:00
alistair3149 f1bf40ac78
feat(search): clean up search suggestion padding 2024-09-26 19:29:56 -04:00
alistair3149 138f7a9bd5
feat(search): add message to search footer 2024-09-26 17:58:53 -04:00
alistair3149 a213f1d6a0
feat(search): add keyboard hint to search card 2024-09-26 17:47:19 -04:00
alistair3149 151d60f10f
feat(search): clean up and simplify styles 2024-09-26 15:51:48 -04:00
alistair3149 28b117d990
feat(search): tweak search box to be more center for desktop 2024-09-26 14:55:49 -04:00
alistair3149 5e4e57f082
feat(search): append fragment to search suggestion URLs, if one is provided
Related: T306150
2024-08-17 19:21:09 -04:00
alistair3149 e38b44edb2
refactor(search): ♻️ simplify URL generation by using mw.util.getUrl
getUrl will handle both the short URL and santization
2024-07-17 14:16:55 -04:00
alistair3149 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -04:00
github-actions 49663c9199 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-08 06:24:11 +00:00
alistair3149 ecc4cca043
fix(search): 🐛 check if article path has question mark before adding search params
Fixes: #903
2024-07-08 02:23:43 -04:00
alistair3149 55b310d26d
fix(search): 🐛 fix incorrect parameter for debounce function 2024-07-07 17:33:41 -04:00
alistair3149 9ace83a9bc
fix(search): 🐛 incorrect article not found icon size 2024-07-05 16:28:33 -04:00
alistair3149 90cb44d445
refactor(search): ♻️ remove unused argument from getPageTitle 2024-07-05 16:27:32 -04:00
alistair3149 c5c47aeb5f
feat(search): use Short URL in search suggestion
This should avoid a bunch of 302 redirects using the old Special:Search links.
2024-07-05 16:21:10 -04:00
alistair3149 9c77c7f3f2
feat(search): unify url generation in search typeahead
- Convert searchAction to use urlGenerator
- Repurpose urlGenerator to be more generic

Fixes: #898
2024-07-05 15:32:26 -04:00
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00
alistair3149 0fdc7c4ad7
feat(core): convert some CSS variables into Codex equivalent part 2
Also fix various inconsistencies with quiet buttons
2024-06-30 20:41:31 -04:00
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00
github-actions 26076514c1 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-06-07 19:01:54 +00:00
alistair3149 d0e684236e
fix(search): 🐛 remove unused param from getRedirectMessage() 2024-06-07 15:01:37 -04:00
alistair3149 a2d3159def
feat(core): replace checkbox hack with details and summary
Note that ToC is still using the old checkbox hack, it will be replaced in a later time.
Related: T333394
2024-05-30 02:20:13 -04:00
alistair3149 e95d3d39bd
perf(core): ️ consolidate citizen-menu card shared styles 2024-05-27 22:47:46 -04:00
alistair3149 b946056c13
fix(search): 🐛 label can sometimes contain HTML 2024-05-22 00:58:13 -04:00
alistair3149 d6bfce15c5
refactor(search): ♻️ clean up searchResults functions 2024-05-22 00:36:16 -04:00
alistair3149 ae7a01f690
refactor(core): ♻️ move some suggestion functions to searchResults 2024-05-22 00:03:49 -04:00
alistair3149 434ec2ebaf
refactor(core): ♻️ various minor refactor 2024-05-21 23:48:09 -04:00
alistair3149 8b1158bc78
refactor(search): ♻️ use data-mw prefix for data attribute names 2024-05-21 22:14:58 -04:00
alistair3149 27c0fb4462
refactor(search): ♻️ various fixes and improvements 2024-05-21 21:43:59 -04:00
alistair3149 c9f665ef78
feat(core): use CSS variables for small font sizes 2024-02-26 17:16:07 -05:00
alistair3149 3162e19a2c
feat(core): use CSS variables for x-small font sizes 2024-02-26 17:14:19 -05:00
github-actions 96171236d7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-01-27 02:51:04 +00:00
alistair3149 22addebe77
refactor(search): ♻️ start cleaning up search suggestion functions 2024-01-26 21:50:21 -05:00