Commit graph

4170 commits

Author SHA1 Message Date
github-actions fc29af3478 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-08 01:54:15 +00:00
alistair3149 a74d17e130
perf(stickyHeader): ️ improve scroll performance 2024-11-07 20:53:21 -05:00
alistair3149 94936732ec
refactor(core): ♻️ clean up scroll direction observer 2024-11-07 20:33:56 -05:00
alistair3149 30fca942a7
perf(core): ️ move sticky header handling to observers 2024-11-07 19:12:48 -05:00
alistair3149 3b8022c3c1
refactor(core): ♻️ set up scroll direction observer in setupObservers
This is needed for centralizing the observers.
2024-11-07 19:12:48 -05:00
alistair3149 241ef66893
perf(core): ️ move window.resize to resizeObserver 2024-11-07 19:12:48 -05:00
translatewiki.net 7ac27f1c30
Localisation updates from https://translatewiki.net. 2024-11-07 13:09:27 +01:00
github-actions 1ec5e3593b ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-06 19:12:03 +00:00
alistair3149 3d7948103c
build: release 2.38.3 (#970) 2024-11-06 14:11:36 -05:00
alistair3149 ded49e61d8
fix(toc): 🐛 invisible toc icons on desktop 2024-11-06 14:10:03 -05:00
github-actions 55923a3c61 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-06 03:32:47 +00:00
alistair3149 3aa6fb6995
build: release 2.38.2 (#969) 2024-11-05 22:32:22 -05:00
alistair3149 6523c5d3ab
fix(toc): 🐛 fix invisible toc on desktop 2024-11-05 22:31:28 -05:00
github-actions 5779e08235 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-06 03:19:55 +00:00
alistair3149 1a4825055b
build: release 2.38.1 (#968) 2024-11-05 22:19:22 -05:00
alistair3149 39ad06e99d
refactor(dropdown): ♻️ target dropdown icons specifically for content-visibility 2024-11-05 22:19:06 -05:00
alistair3149 0607e9fa24
fix(search): 🐛 do not set content-visbility for search card 2024-11-05 22:17:32 -05:00
github-actions 8698baf4a7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-06 02:57:30 +00:00
alistair3149 c9f05997de
build: release 2.38.0 (#966) 2024-11-05 21:57:04 -05:00
alistair3149 70193eb568
perf(dropdown): ️ use content-visibility for icons and dropdown menus
This will reduce the initial render cost of the menus, and also prevent premature download
for the icons.
2024-11-05 21:50:54 -05:00
translatewiki.net e1b89d597f
Localisation updates from https://translatewiki.net. 2024-11-05 15:27:23 +01:00
alistair3149 582a3544bd
feat(skinning): update message box styles to current standard 2024-11-05 00:45:11 -05:00
alistair3149 e6538888fe
refactor(core): ♻️ fix various phpcs issues 2024-11-04 18:50:07 -05:00
github-actions b95b475c91 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-04 23:43:30 +00:00
alistair3149 4e48a19503
refactor(core): ♻️ fix various phpcs issues 2024-11-04 18:42:57 -05:00
github-actions 7b9522b395 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-11-04 23:26:40 +00:00
alistair3149 37e563bff0
refactor(pwa): ♻️ clean up PWA API functions 2024-11-04 18:26:04 -05:00
alistair3149 60c63603e5
ci: 👷 drop MW 1.41 and add MW 1.43 test 2024-11-04 16:37:22 -05:00
alistair3149 07179d50b1
perf(core): ️ defer non-essential init scripts 2024-11-03 10:39:10 -05:00
alistair3149 a32bc92a99
perf(footer): ️ add CSS containment to footer 2024-11-03 01:05:28 -04:00
alistair3149 e79ae5939c
perf(core): ️ put sticky header elements in DOM instead of creating them on init 2024-11-03 00:44:23 -04:00
alistair3149 ec097f2e42
perf(core): ️ only fire scroll direction function when direction changes 2024-11-02 02:24:54 -04:00
alistair3149 bbc6069748
fix(toc): 🐛 incorrect toc button height 2024-11-02 02:17:45 -04:00
alistair3149 25fbc14908
style(core): 🎨 rename intersectionObserver references to observer
We will be using it for more than intersectionObserver.
2024-11-02 02:00:21 -04:00
alistair3149 50a75c550c
perf(core): ️ do not use throttle for scroll direction observer
Just requestAnimationFrame should be enough. The previous throttle implemenation
makes the sticky header feel less responsive
2024-11-02 01:59:17 -04:00
alistair3149 e6a5f61068
style(readme): 🎨 minor tweak to the readme layout 2024-10-30 23:53:45 -04:00
alistair3149 a480cc27af
feat(skinning): apply floatleft and floatright to all elements
There are more block elements that might use floatleft and floatright.
We should not restrict it to only <div> and <table>
2024-10-30 22:20:12 -04:00
alistair3149 b9cfd0ebc8
fix(skinning): 🐛 stricter selector to select a element containing thumbnail 2024-10-30 15:57:41 -04: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 196f3d9063
perf(core): ️ use CSS containment for search card and sidebar 2024-10-29 23:55:50 -04:00
dependabot[bot] b125214859
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#967)
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v44.0.0...v45.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 21:02:36 -04:00
alistair3149 b7dad17d6f
perf(core): ️ only embed base variant of the OOUI icon
By default, OOUI icon loads all variants of the icon in CSS.
Since we handles the icon color within Citizen, we do not
need those extra styles.
2024-10-29 20:15:50 -04:00
alistair3149 a3954713e3
perf(SMW): ️ use stricter selector to get icons 2024-10-29 19:25:33 -04:00
github-actions a65d5bac50 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-29 23:04:03 +00:00
alistair3149 eab9bcf228
fix(fonts): 🐛 remove serif and monospace fallback fonts
We don't provide web fonts for those, no need to have a fallback font
2024-10-29 19:03:16 -04:00
alistair3149 2d9febf0e2
perf(tokens): ️ reduce lang selector cost
The original lang selector was too broad and execute needlessly.
2024-10-29 18:48:13 -04:00
alistair3149 2b3dbd9960
refactor(toc): ♻️ avoid using important for top link 2024-10-29 18:35:06 -04:00
alistair3149 d46855c0c2
feat(fonts): define fallback fonts to avoid CLS 2024-10-29 18:07:13 -04:00
alistair3149 e1c8c78399
refactor(core): ♻️ do not use Skin::makeSpecialUrl
Skin::makeSpecialUrl is deprecated in MW 1.43.
Since the replacement method SkinComponentUtils is not avaliable in 1.39,
we are using SpecialPage::getTitleFor for now until we move onto 1.43.
2024-10-28 16:48:59 -04:00
alistair3149 168a53d6ef
feat(tokens): increase saturation on surface colors 2024-10-28 16:31:48 -04:00