Commit graph

179 commits

Author SHA1 Message Date
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
github-actions dc3ca54d43 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-12-13 22:10:24 +00:00
github-actions 29a79b15a3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-11-06 03:42:30 +00:00
alistair3149 071a58ab74
fix(search): 🐛 chip text should not wrap 2023-11-05 22:41:42 -05:00
alistair3149 b0f89ba311
feat(search): turn search actions into chips 2023-11-03 17:25:30 -04:00
alistair3149 2a2d6e381f
fix(search): 🐛 show presult during init 2023-09-10 16:38:04 -04:00
alistair3149 68dc715138
fix(search): 🐛 search icon clipping 2023-09-06 17:41:42 -04:00
alistair3149 e8f33bdf93
fix(search): 🐛 make search input selectable 2023-09-06 17:34:47 -04:00
alistair3149 6f3d82de04
feat(search): only show edit page action if user has rights
That only works for the main namespace fow now.
2023-09-06 17:33:39 -04:00
alistair3149 363144d172
refactor(search): ♻️ rearrange mwActionApi URL params 2023-08-30 10:32:32 -04:00
alistair3149 31042804df
fix(search): 🐛 incorrect thumbnail icon width 2023-08-30 10:31:26 -04:00
alistair3149 dc072f4e5b
refactor(search): ♻️ make search action into a module
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2023-08-29 20:05:44 -07:00
alistair3149 680d84cfb0
refactor(search): ♻️ rename helper text message keys 2023-08-29 19:39:13 -07:00
alistair3149 3d31d08021
feat(search): add suggestion to edit page 2023-08-29 19:37:17 -07:00
alistair3149 969f4f0d3d
feat(search): various tweaks to typeahead styles 2023-08-29 12:32:28 -07:00
alistair3149 2d54cbd930
feat(search): add missing border between placeholder and group 2023-08-29 02:25:56 -07:00
alistair3149 9280e7c4a8
feat(search): only add divider between groups 2023-08-29 02:23:57 -07:00
alistair3149 1f0a2e5133
feat(search): reorganize DOM structure of the typeahead 2023-08-29 01:50:55 -07:00
alistair3149 b33d5bbc87
refactor(search): ♻️ rename typeaheadItems to htmlHelper 2023-08-28 19:20:44 -07:00
alistair3149 bf0ed2bd55
refactor(search): ♻️ use faux element to display search query 2023-08-28 18:22:16 -07:00
alistair3149 ff446e61b3
refactor(search): ♻️ use option role to select user-selectable items 2023-08-27 00:50:10 -07:00
alistair3149 96cf5be48c
feat(search): only add divider between suggestions and footer 2023-08-26 16:48:28 -07:00
alistair3149 0c0f4f4ffb
feat(search): strip wikitext link syntax in search 2023-08-25 18:00:55 -07:00
alistair3149 2f2dc3328c
feat(search): search template namespace when template syntax {{}} is used 2023-08-25 17:28:39 -07:00
alistair3149 96f6361851
feat(core): use quiet hover color for menu items 2023-08-25 17:03:38 -07:00
alistair3149 853e9a9190
feat(search): increase description extract character limit to 100 2023-08-24 15:30:03 -07:00
alistair3149 042f2bfbba
feat(search): use square aspect ratio for suggestion thumbnail 2023-08-24 15:23:46 -07:00