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
alistair3149
c37560a2a9
fix(core): 🐛 emit resize event after clientPref change
...
Various apps listen to window resize events to reposition absolutely positioned elements
2024-10-28 16:04:51 -04:00
github-actions
50c30afa23
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-10-28 01:31:36 +00:00
alistair3149
2dc72705d2
feat(core): ✨ use newer method to set safe height
2024-10-27 21:30:41 -04:00
alistair3149
b81ed673a7
feat(core): ✨ account for safe area for body element
2024-10-27 21:17:34 -04:00
alistair3149
76eb63a32e
chore: 🔧 add .vscode to gitignore
2024-10-27 21:16:33 -04:00
alistair3149
09f8f0c70b
fix(viewTransition): 🐛 remove unnessecary definitions
2024-10-27 21:10:58 -04:00
alistair3149
8e578b8a38
feat(core): ✨ add basic cross-document transition
...
Adding basic fade in and out transition in page navigation.
2024-10-27 20:38:46 -04:00
github-actions
2191f12b9e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-10-25 19:08:20 +00:00
alistair3149
3735e60eb6
build: release 2.37.0 ( #963 )
2024-10-25 15:07:51 -04:00
PenguinEncounter
0248af9425
fix(core): 🐛 fix section collapsing not functioning on Firefox ( #965 )
2024-10-25 14:06:52 -04:00
alistair3149
06b6f6c194
feat(header): ✨ add microinteraction to wiki logo/home button
2024-10-23 19:46:15 -04:00
alistair3149
17bcccac65
refactor(tokens): ♻️ integrate cssvariables.less into tokens.less
2024-10-23 17:54:26 -04:00
alistair3149
2f084b89e0
refactor(tokens): ♻️ move syntax highlight colors to token.less
2024-10-23 17:40:13 -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
fde0f9c84c
refactor(tokens): ♻️ move spacing variables to token.less
2024-10-23 17:31:31 -04:00
alistair3149
9c438a6d02
refactor(tokens): ♻️ move line height variables to tokens.less
2024-10-23 17:29:51 -04:00
alistair3149
a45c15cbc1
refactor(tokens): ♻️ move font and transition variables to token.less
2024-10-23 17:24:57 -04:00
alistair3149
6d44586adc
feat(core): ✨ move page header to the bottom on main page
2024-10-23 17:11:02 -04:00
alistair3149
9660faaa25
feat(core): ✨ backport class from MW core
...
This class is used to indicate whether a page is a main page.
It is not present in MW 1.39 and we have a use case for that.
2024-10-23 16:59:34 -04:00
alistair3149
a874e45560
refactor(core): ♻️ move toc flag to skin.json
...
It is just a simplet toggle so we should put it in skin.json instead.
2024-10-23 16:49:29 -04:00
alistair3149
26f8ca0e57
docs(core): 📚 ️ clean up documentation in content.less
2024-10-23 16:43:28 -04:00
github-actions
366561433e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-10-23 20:09:29 +00:00
alistair3149
404106f182
refactor(pageTools): ♻️ refactor pageTools into component
2024-10-23 16:08:58 -04:00
alistair3149
01419e7619
perf(sections): ⚡ ️ re-order conditions to short circuit earlier
...
We should not call MediaWikiServices first every time for formatting sections.
Instead it should be done last as other checks are cheaper.
2024-10-23 15:14:24 -04:00
github-actions
18ad833bce
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-10-23 17:26:48 +00:00
alistair3149
936e9c1906
build: release 2.36.0 ( #962 )
2024-10-23 13:26:22 -04:00
alistair3149
51c7110b92
fix(toc): 🐛 incorrect closing tag for toc summary
2024-10-22 23:30:32 -04:00
alistair3149
00bda1f2b3
fix(toc): 🐛 summary should not be escaped
2024-10-22 23:11:37 -04:00
alistair3149
2157bcf490
feat(toc): ✨ add wrapper for TOC link to hold summary
...
Some extensions such as DiscussionTools add summary to the ToC item.
We should add styles to support that
2024-10-22 22:51:45 -04:00
alistair3149
4849c648dc
feat(menu): ✨ increase line-height of menu items
2024-10-22 22:31:43 -04:00
alistair3149
b68cc3aa2f
fix(DiscussionTools): 🐛 fix invisible highlighted section text
2024-10-22 18:26:13 -04:00
alistair3149
df27ab7583
refactor(mainMenu): ♻️ inherit max-width from menu card instead of redefining a new one
2024-10-22 18:16:24 -04:00
alistair3149
5e749ed137
fix(Echo): 🐛 increase specificity for the selector to apply padding properly
2024-10-22 18:15:45 -04:00
alistair3149
2a53abed2f
feat(tokens): ✨ lower the brightness of destructive color in dark mode
...
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2024-10-22 17:39:01 -04:00
alistair3149
db4d8a0103
feat(tokens): ✨ update state colors
2024-10-22 17:35:28 -04:00
alistair3149
cabf6b4e07
feat(Echo): ✨ sync Echo alert styles with mw.notifications
2024-10-22 16:38:52 -04:00