alistair3149
f3042f5b80
fix(toc): 🐛 ToC should have the same padding as other menu cards
2024-07-19 16:27:19 -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
a9fb03fc8e
fix(print): 🐛 only color variables require important declaration
2024-07-15 02:09:05 -04:00
alistair3149
1fefddd41a
feat(core): ✨ implement Codex border-width tokens
2024-07-15 02:07:25 -04:00
alistair3149
5296aef9de
feat(print): ✨ add wikitable styles and hide contentSub
2024-07-15 02:03:28 -04:00
alistair3149
aeb083e74d
fix(print): 🐛 add important declaration to hidden print elements
2024-07-14 19:41:41 -04:00
alistair3149
8641becb2a
feat(print): ✨ allow font size settings affect print styles
2024-07-14 18:09:53 -04:00
alistair3149
1da57e5902
feat(print): ✨ hide page footer in print styles
2024-07-14 18:05:03 -04:00
github-actions
79ac340667
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-14 21:44:10 +00:00
alistair3149
543400d9d5
feat(print): ✨ rework print styles
2024-07-14 17:43:34 -04:00
alistair3149
c3855ff8b9
fix(stickyHeader): use cached value for placeholder height if possible
...
Related: #854
2024-07-12 03:47:25 -04:00
alistair3149
f0d1176f2a
feat(pref): ✨ add clientpref to disable auto-hide navigation
...
Closes #841
2024-07-10 13:59:03 -04:00
alistair3149
2794a3269c
fix(core): 🐛 explictly set z-index for body container
...
That should avoid position relative elements from going over the sticky header.
Closes : #577
2024-07-09 18:28:31 -04:00
alistair3149
c555dfe1bf
fix(ToC): 🐛 increase z-index of ToC backdrop
2024-07-09 16:51:25 -04:00
alistair3149
b5180bfbda
feat(core): ✨ use Codex tokens for z-index
2024-07-09 16:44:15 -04:00
alistair3149
f66348bdbb
feat(stickyHeader): ✨ reduce page title size
2024-07-08 23:40:08 -04:00
alistair3149
6dfc62b15d
fix(core): 🐛 add webkit prefix to backdrop filter rules
...
Safari needs the -webkit- prefix
2024-07-08 19:07:25 -04:00
alistair3149
a4593d7dd3
fix(dropdown): 🐛 use both touchstart and mousedown event listener for click outside event
...
On iOS devices, click event listeners don't work when the target does not have cursor: pointer.
This should resolve the issue for iOS browsers.
Related: #895
2024-07-08 15:54:15 -04:00
alistair3149
aaa677f2d6
fix(toc): 🐛 fix transparent ToC button
2024-07-08 15:35:01 -04:00
alistair3149
20e4f7ec6e
feat(dropdown): ✨ add fade-in animation to dropdown menu
2024-07-08 15:33:02 -04:00
alistair3149
8eef0aae42
feat(stickyHeader): ✨ add background transition
2024-07-08 14:29:33 -04:00
alistair3149
7f9f975b9e
fix(stickyHeader): 🐛 only add sticky class on resize when it is applicable
2024-07-08 14:01:13 -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
github-actions
a883f9dda0
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-07 22:18:34 +00:00
alistair3149
a7a763b57f
fix(stickyHeader): 🐛 use more accurate calculation for placeholder
2024-07-07 18:17:50 -04:00
github-actions
1214750eab
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-07 21:58:50 +00:00
alistair3149
e5336c4610
fix(stickyHeader): 🐛 add a placeholder element to page header to avoid layout shift when stickied
...
Closes : #854
2024-07-07 17:58:02 -04:00
alistair3149
e9fd488cee
fix(share): 🐛 incorrect debounce parameter assignment
2024-07-07 17:40:37 -04:00
alistair3149
55b310d26d
fix(search): 🐛 fix incorrect parameter for debounce function
2024-07-07 17:33:41 -04:00
alistair3149
28968179ce
feat(codex): ✨ backport Codex v1.8.0 variables to mediawiki.skin.variables
2024-07-07 15:57:33 -04:00
github-actions
c7dfa58393
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-07 10:26:24 +00:00
alistair3149
72edb817be
fix(toc): 🐛 keep ToC button at the same position
2024-07-07 06:25:38 -04:00
github-actions
f19bfe11e7
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-07 07:07:33 +00:00
alistair3149
91619884ab
fix(core): 🐛 incorrect box-shadow values
...
It seems that stylelint somehow wiped out the previous value.
2024-07-07 03:06:42 -04:00
alistair3149
3d7311dbbe
fix(skinning): 🐛 only apply top margin to figcaption when it is not empty
2024-07-07 02:45:50 -04:00
alistair3149
232fd0cc4b
feat(core): ✨ clean up th styles
...
- th should not use the same styles as label
- Restore font weight and color to th
- Sync different th styles in extensions
2024-07-07 02:14:36 -04:00
alistair3149
fccc024978
feat(wikitable): ✨ avoid double border when border attribute is active
2024-07-07 01:56:01 -04:00
github-actions
6a79df2fd5
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-07 05:53:18 +00:00
alistair3149
442c272cab
feat(wikitable): ✨ use box-shadow instead of border hacks to build table border
2024-07-07 01:51:22 -04:00
alistair3149
c2523b141c
fix(dropdown): 🐛 dropdown button should be above the backdrop
2024-07-06 22:42:15 -04:00
alistair3149
ba62b92e29
feat(core): ✨ theme and unify text selection color using progressive colors
2024-07-06 17:53:56 -04:00
github-actions
729bfc57e8
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-07-06 03:59:04 +00:00
alistair3149
d3ef4afecc
fix(core): 🐛 fix incorrect screen reader text reset styles
2024-07-05 23:58:17 -04:00
alistair3149
fdc6eaee20
feat(Echo): ✨ upgrade Echo buttons for consistency
...
This is similiar to how it is handled in Vector.
We are forcing the Echo button to render in the same way as it was initially.
This took me so many hours sigh.
2024-07-05 20:37:52 -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
3392eb796c
fix(core): 🐛 remove git merge artifacts
2024-07-05 13:41:43 -04:00