Commit graph

3815 commits

Author SHA1 Message Date
alistair3149 6bec702c35
build: release 2.21.0 (#891) 2024-07-03 03:04:32 -04:00
alistair3149 1bce8921d0
fix(core): 🐛 remove smooth scrolling for body
Often on long pages, smooth scrolling is causing unexpected behaviors and performance issues. For example, it refuses to scroll to the target, or triggers lazyloaded content when not needed. 

Fixes: #883
2024-07-03 03:03:20 -04:00
github-actions 23e145d275 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-03 05:31:24 +00:00
alistair3149 23b3c3326a
feat(menu): add blur to menu backdrop 2024-07-03 01:30:42 -04:00
alistair3149 931e94da43
chore(dev): 🔧 disable plugin/no-unsupported-browser-features in Stylelint
It is very conservative and it is negatively affecting the performance of Stylelint.
Disabling it for now.
2024-07-02 19:29:37 -04:00
alistair3149 2f7ae8fc1d
fix(stickyHeader): 🐛 use margin and padding instead of grid gap for body spacing
That should address the flickering issue caused by the sticky header
2024-07-02 19:26:50 -04:00
alistair3149 7ec0ae5b8e
refactor(stickyHeader): ♻️ create sticky sentinel in JS instead
It is only used for sticky header which requires JS, we should just create it in JS
2024-07-02 19:20:17 -04:00
alistair3149 d71ee758f4
refactor(core): ♻️ remove unused styles 2024-07-02 19:19:40 -04:00
github-actions ecaaf69a31 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-01 19:49:29 +00:00
alistair3149 cb683c79ff
feat(mmv): tweak lightbox caption text handling 2024-07-01 15:47:28 -04:00
alistair3149 17e9840a77
feat(mmv): tweak button styles in lightbox 2024-07-01 14:53:37 -04:00
alistair3149 ae4131f51f
fix(pageActions): 🐛 language badge should use the same color as its background 2024-07-01 13:44:28 -04:00
alistair3149 fbd030afeb
fix(skinning): 🐛 fix incorrect mw-halign-left left margin 2024-07-01 13:42:28 -04:00
alistair3149 568dfc7de3
fix(core): 🐛 fix max-width breakpoint calculation in LESS
Related: T367103
2024-07-01 13:38:12 -04:00
alistair3149 5715a29dae
feat(stickyHeader): reduce direction observer throttle 2024-07-01 13:19:59 -04:00
alistair3149 aaee215cf6
refactor(stickyHeader): ♻️ move sticky header script into a separate module 2024-07-01 13:19:31 -04:00
translatewiki.net 051e8f4a07
Localisation updates from https://translatewiki.net. 2024-07-01 14:12:37 +02:00
alistair3149 7c9eadb662
feat(core): convert some CSS variables into Codex equivalent part 3 2024-07-01 00:16:15 -04:00
github-actions 852fd86013 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-01 04:06:43 +00:00
alistair3149 ff0a6ed710
feat(core): clean up state colors 2024-07-01 00:04:36 -04:00
alistair3149 c21a908c12
feat(core): set new link color to color-destructive 2024-06-30 20:49:50 -04:00
alistair3149 66e7282acc
fix(preferences): 🐛 incorrect active button color 2024-06-30 20:49:15 -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 0a1ac14677
feat(pageActions): blend language badge into the background 2024-06-30 01:11:35 -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 af018d481d ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-06-30 03:35:28 +00:00
alistair3149 e397160ab4
build: release 2.20.0 (#887) 2024-06-29 23:35:05 -04:00
alistair3149 ba1f77d8a3
feat(search): shorten fulltext and media search button label 2024-06-29 21:01:07 -04:00
alistair3149 fce1f775c4
feat(pageActions): use neutral color for language badge 2024-06-29 20:53:21 -04:00
github-actions 1f773e1014 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-06-29 19:32:05 +00:00
alistair3149 7e20daa70b
fix(datatable): 🐛 table should not be wider than the wrapper
The border rules on the table makes the table 2px wider than the wrapper.

Fixes: #888
2024-06-29 15:29:31 -04:00
alistair3149 1edc40e70c
feat(share): only share URL
The text handling across OS is inconsistent, and it is more desirable to just share the link and get the description through the embed.
2024-06-28 19:25:57 -04:00
alistair3149 327aca0b2c
feat(pageActions): add share button to page actions for article pages 2024-06-28 18:42:04 -04:00
alistair3149 c34868d04e
fix(overflow): 🐛 remove unused mask rules 2024-06-27 18:54:48 -04:00
alistair3149 eb58bd6e99
fix(menu): 🐛 show view button specifically on revision and diff pages
The previous attempts didn't catch all the cases. This should be enough.

Related: #845
2024-06-27 18:21:28 -04:00
alistair3149 f0de4f4c5b
feat(overflow): use CSS variable for overflow gradient size
This will allow the gradient to be adjustable through CSS
2024-06-27 18:15:32 -04:00
translatewiki.net 5c34306ed7
Localisation updates from https://translatewiki.net. 2024-06-27 14:12:37 +02:00
alistair3149 3d90051ae6
fix(core): 🐛 force selected view button to be visible on revision pages 2024-06-26 17:23:45 -04:00
alistair3149 e4697c48f1
fix(skinning): 🐛 incorrect text alignement for mw-halign-center 2024-06-25 15:19:10 -04:00
github-actions 4e719a09c9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-06-25 16:50:55 +00:00
alistair3149 d0220335ab
ci(lint): 👷 fix lint branch selection 2024-06-25 12:50:57 -04:00
alistair3149 dd53576941
fix(menu): 🐛 prevent page from scrolling when dropdown menu is open in small viewport 2024-06-25 12:47:07 -04:00
alistair3149 7133648fe0
fix(wordmark): 🐛 wordmark should resize responsively 2024-06-24 17:12:57 -04:00
alistair3149 b1c30ef1c1
build: release 2.19.0 (#881) 2024-06-24 15:10:40 -04:00
alistair3149 84d58be232
fix(WikiEditor): 🐛 align toolbar buttons 2024-06-24 15:09:57 -04:00
alistair3149 7fb35f90f5
fix(overflow): 🐛 prevent overflow button from triggering form action button
When the overflow button is within a `<form>` element, it can sometimes
trigger the form action (e.g. In the realtime preview of WikiEditor).
2024-06-24 14:39:33 -04:00
alistair3149 923ddedcc0
fix(menu): 🐛 avoid double view button on talk page
In 9969479, we forced the view button to be visible to allow the return action (#845).
There are no good ways to target revision page only so we rely on the diff styles.
However, Extension:DiscussionTools inline the said styles on talk page while talk page also has
a return action registered under the associated page menu. This leaves two button serving the
same function.
2024-06-24 14:19:34 -04:00
alistair3149 c47531a28b
feat(wordmark): implement wordmark in drawer
Also simplify existing styles for wordmark
2024-06-24 14:05:21 -04:00
alistair3149 e0507d489d
fix(footer): 🐛 incorrect invert rule for footer wordmark 2024-06-24 13:42:30 -04:00
alistair3149 08e63e3caf
feat(skinning): remove top and bottom margin from nested lists
Related: #886
2024-06-18 19:48:54 -04:00