alistair3149
0a8c49a573
fix(skinning): 🐛 incorrect margin value for floating thumbnail
2024-06-10 16:18:06 -04:00
alistair3149
ababe58186
fix(core): 🐛 do not debounce scroll direction script
2024-06-09 22:58:17 -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
3d146b2374
refactor(cssVar): ♻️ introduce color-inverted
2024-06-05 18:54:54 -04:00
alistair3149
e9d7cc270a
perf(core): ⚡ ️ do not use will-change (part 2)
2024-06-01 15:55:27 -04:00
alistair3149
d8b3cad225
perf(core): ⚡ ️ do not use will-change
2024-06-01 15:36:48 -04:00
github-actions
5fbf8bf938
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-06-01 19:35:16 +00:00
alistair3149
151e51da2f
fix(search): 🐛 opening search card should not play animation on mobile
2024-06-01 15:34:14 -04:00
alistair3149
6108fccc31
refactor(menu): ♻️ remove unused checkbox hack styles
2024-06-01 15:29:12 -04:00
alistair3149
502b462c06
style(dropdown): 🎨 clean up code styles
2024-06-01 15:28:49 -04:00
alistair3149
32d10f893b
fix(dropdown): 🐛 toggle should dismiss the dropdown properly
2024-06-01 15:13:38 -04:00
alistair3149
87513459c4
fix(core): 🐛 hide Safari details marker
2024-05-31 03:28:52 -04:00
alistair3149
d0691a06d0
feat(core): ✨ add dismiss affordnance to dropdown menus
2024-05-30 16:20:03 -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
a8daa82354
fix(core): 🐛 avoid using core mw.util.addPortlet for now
...
Seems to break in 1.41, will look into it later
2024-05-29 20:21:55 -04:00
alistair3149
83ab221408
feat(core): ✨ only handle wikitable instead of all tables
...
Wikis use tables in creative ways and it is probably just safer to only apply it to wikitables.
Might revisit if there are any news from T330527.
2024-05-29 17:47:13 -04:00
alistair3149
87f15ddd6d
fix(core): 🐛 incorrect selector to disable search card animation on mobile
2024-05-29 14:06:58 -04:00
alistair3149
2bbb1d9408
perf(core): ⚡ ️ check for nowrap classes before constructing class
2024-05-29 14:02:57 -04:00
alistair3149
c40c7c7b84
feat(core): ✨ destructure surface colors into hsl variables
2024-05-28 13:59:07 -04:00
alistair3149
621adff9fc
fix(core): 🐛 incorrect classes and styles for page action cards
2024-05-28 02:12:50 -04:00
alistair3149
87a8bf256e
refactor(core): ♻️ various cleanup
2024-05-27 23:18:13 -04:00
alistair3149
f74e3d2f6a
perf(core): ⚡ ️ tweak menu animation timing
2024-05-27 23:17:48 -04:00
alistair3149
2d10199b27
refactor(core): ♻️ remove redundant selector
2024-05-27 23:00:28 -04:00
alistair3149
e95d3d39bd
perf(core): ⚡ ️ consolidate citizen-menu card shared styles
2024-05-27 22:47:46 -04:00
alistair3149
4ed68a924d
feat(core): ✨ wrap any elements tagged with the class citizen-overflow
2024-05-27 18:01:09 -04:00
alistair3149
7b32aeec7d
fix(core): 🐛 always reset overflow state
2024-05-27 17:58:04 -04:00
alistair3149
c3943ca7cf
feat(core): ✨ change overflow gradient to fixed size
2024-05-27 17:53:55 -04:00
alistair3149
974e6b2750
feat(core): ✨ add config to change overflow inherited classes
2024-05-27 17:16:23 -04:00
alistair3149
c9210bd0dd
refactor(core): ♻️ separate inherited class function
2024-05-27 17:10:04 -04:00
alistair3149
523140f62f
perf(core): ⚡ ️ only toggle class when the element is overflowing
2024-05-27 17:04:28 -04:00
alistair3149
bc356f915d
fix(core): 🐛 fix incorrect overflow wrapper class name
2024-05-27 16:12:09 -04:00
github-actions
3cd8d20d1d
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-05-27 20:11:41 +00:00
alistair3149
cb1cfde785
fix(core): 🐛 remove table border expansion before the JS is loaded
2024-05-27 16:10:25 -04:00
alistair3149
c17aeab3fd
feat(core): ✨ rename wgCitizenTableNowrapClasses to wgCitizenOverflowNowrapClasses
...
Allow this config to use for more generic elements in the future
2024-05-27 15:54:34 -04:00
alistair3149
7a4d43392d
perf(core): ⚡ ️ remove scroll eventListener and resizeObserver on tables when not needed
...
Also started to refactor the table script to be more generic for overflow elements.
2024-05-27 15:47:53 -04:00
alistair3149
d34fb7b6f9
refactor(core): ♻️ clean up responsive table code
2024-05-26 00:37:54 -04:00
alistair3149
8ba6b55770
refactor(core): ♻️ clean up section functions
2024-05-25 23:51:50 -04:00
alistair3149
e9289b149a
perf(core): ⚡ ️ further improvements to scroll and section observers
2024-05-25 23:18:18 -04:00
alistair3149
af3d72ad75
fix(core): 🐛 incorrect sticky header class assignment
2024-05-25 19:53:17 -04:00
alistair3149
27bca0fc66
feat: ✨ improve scrolling performance
2024-05-25 19:26:38 -04:00
alistair3149
ae6d207fb4
fix(core): 🐛 escape double quotes for toc selector
2024-05-25 06:57:02 -04:00
alistair3149
4762102d61
chore(eslint): 🔧 use wikimedia/server for root folder eslint config
2024-05-25 01:14:44 -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
3d2ec5300c
refactor(pref): ♻️ clean up pref code
2024-05-21 23:30:54 -04:00
alistair3149
685901cce3
fix(core): 🐛 incorrect section selector
2024-05-21 23:15:53 -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
593c6406fb
refactor(core): ♻️ simplify section handling
2024-05-21 18:46:19 -04:00
alistair3149
a405d64616
refactor(core): ♻️ various performance and style improvements
2024-05-21 18:08:28 -04:00
alistair3149
1270d4edd1
refactor(core): ♻️ add error handling to lastModified.js
2024-05-21 15:00:03 -04:00
alistair3149
c09b82cb07
fix(core): Rename Usermenu.less to UserMenu.less
2024-05-15 02:02:48 -04:00
alistair3149
a193d14de7
feat(core): ✨ tweak dark theme color to be darker
2024-05-15 01:31:23 -04:00
alistair3149
03da361b97
feat(components): rewrite template data partials into CitizenComponent components ( #846 )
...
- Refactor existing template data-related partials into CitizenComponent components
- Re-implement user menu header as UserInfo
- Add description text for anon and temp user in UserMenu
---------
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-15 01:24:43 -04:00
alistair3149
604ee851d6
fix(core): 🐛 add missing styles for user menu
...
Seems to be broken by the citizen-menu styles refactor.
This fix is temporary since the user menu will be refactored soon.
2024-05-09 15:54:50 -04:00
alistair3149
4c6ae1e74d
refactor(core): ♻️ wrap menu list in container
2024-05-09 14:38:07 -04:00
alistair3149
f2393a74b8
feat(core): ✨ use relative time for sidebar last mod
...
Closes : #700
2024-05-08 16:39:47 -04:00
alistair3149
ed54bbfc33
fix(core): 🐛 hide sidebar lastmod on tablet
...
It is duplicated with footer
2024-05-08 15:36:04 -04:00
alistair3149
89b5ff1b12
feat(core): ✨ add last modified to sidebar
2024-05-08 15:30:36 -04:00
alistair3149
4f7e3a4e14
refactor(core): ♻️ clean up various menu styles
2024-05-07 22:21:24 -04:00
alistair3149
0aa617262e
feat(core): ✨ simplify toc styles
2024-05-07 21:48:22 -04:00
alistair3149
9da91018ab
refactor(core): ♻️ wrap ToC inside citizen-body-sidebar
2024-05-07 21:29:16 -04:00
github-actions
8c6cb3525c
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-05-07 22:58:15 +00:00
alistair3149
226fd0a606
feat(core): ✨ tweak black theme color
2024-05-07 18:57:25 -04:00
alistair3149
76a93e962f
fix(Echo): 🐛 re-implement nojs Echo buttons
2024-05-06 15:28:56 -04:00
alistair3149
de315b2e1d
refactor(core): ♻️ simplify heading icon styles
2024-05-06 14:14:28 -04:00
alistair3149
58bab74eab
feat(core): ✨ switch all icons to OOUI module
...
Custom icons are no longer needed. This should reduce
an extra ResourceLoader module registration.
2024-05-06 13:48:41 -04:00
alistair3149
a81bf1fc16
refactor(core): ♻️ re-implement VE action icon
2024-05-06 13:37:33 -04:00
alistair3149
4558da3a0d
feat(core): ✨ remove scrollbar styles
...
We should let browser and OS handle scrollbar instead. Scrollbar customizations
has always been iffy because of varying browser standards and implementation.
Now floating scrollbar is common enough that we don't need custom styles anymore.
2024-05-05 19:53:54 -04:00
alistair3149
1d4cdd60df
fix(core): 🐛 avoid sticky toolbar from clipping on Firefox
...
The sticky toolbar is hidden on a short page when browsing on Firefox (80vh of the body container is taller than the height of the toolbar). Increasing the min-height for the body container should avoid the issue.
2024-05-05 02:13:36 -04:00
alistair3149
efa27a59c6
feat(core): ✨ increase border color contrast in dark mode
2024-05-03 17:21:40 -04:00
alistair3149
994fae626b
refactor(core): ♻️ simplify drawer header styles
2024-05-03 17:18:21 -04:00
alistair3149
46a5089131
refactor(core): ♻️ fix drawer sitestats alignement
2024-05-03 17:10:44 -04:00
alistair3149
3566e9c919
feat(core): ✨ align footer links to the end of the footer
2024-05-03 17:03:32 -04:00
alistair3149
5a5b4aab0b
feat(core): ✨ allow drawer menu to expand in smaller screen
2024-05-01 22:12:19 -04:00
github-actions
64a8914c16
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-05-02 01:44:37 +00:00
alistair3149
205cee23db
feat(core): ✨ tweak personal menu spacing
2024-05-01 21:43:02 -04:00
alistair3149
ffa7d76df4
feat(core): ✨ change primary action links in user menu into buttons
...
Link such as sign up and sign in are converted into a button to make it more visible
2024-05-01 20:25:51 -04:00
alistair3149
71ef6b7a30
fix(core): 🐛 incorrect font size for sticky title parenthesis text
2024-05-01 19:22:08 -04:00
alistair3149
99fe5f970e
fix(prefs): 🐛 incorrect function call for addPortlet
...
Closes : #832
2024-04-27 21:07:45 -04:00
alistair3149
59fc003294
fix(core): 🐛 apply addDefaultPortlets separately
2024-04-27 20:59:57 -04:00
alistair3149
4bc4301f90
fix(prefs): 🐛 incorrect function call for addPortlet
...
Closes : #832
2024-04-27 18:02:23 -04:00
alistair3149
354ae255f7
feat(core): ✨ add overflow handling to site and content sub
2024-04-27 13:32:39 -04:00
alistair3149
a10fd97a2a
refactor(core): ♻️ move pagetools rules out of sticky header
2024-04-27 13:26:18 -04:00
alistair3149
1dcc18af60
feat(core): ✨ fine tune bottom toolbar animation
2024-04-26 19:15:13 -04:00
alistair3149
8bb2d9e76d
fix(core): 🐛 invalid selector
2024-04-26 17:44:36 -04:00
github-actions
9074563e0b
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-26 21:42:26 +00:00
alistair3149
ff909e240d
feat(core): ✨ move page actions into bottom toolbar when width is limited
...
Related: #821
2024-04-26 17:41:27 -04:00
alistair3149
a5bf9413ea
feat(core): ✨ make sticky header more compact in limited screens
2024-04-26 15:57:29 -04:00
alistair3149
9cd0cc45f3
fix(toc): 🐛 CSS escape ID
...
When the heading contains an amprehend, it will throw an exception.
2024-04-25 23:33:22 -04:00
alistair3149
e5af1717bd
fix(core): 🐛 hide notification menu header in header
2024-04-25 18:26:54 -04:00
alistair3149
8f565b33b3
feat(core): ✨ add transition to body-container width
2024-04-25 18:19:11 -04:00
alistair3149
9b66b82e48
refactor(prefs): ♻️ drop mustache in favor of pure JS
2024-04-25 18:05:57 -04:00
alistair3149
f6f1c4d1c4
feat(prefs): ✨ move font size before theme
2024-04-25 17:55:00 -04:00
alistair3149
efe11ed410
refactor(prefs): ♻️ use literal values instead of integers in clientPref features
2024-04-25 17:51:54 -04:00
alistair3149
241dc96cfe
feat(prefs): ✨ move page width to clientPrefs
...
Now all of the existing prefs are migrated to clientPrefs,
we can discard the code from the old system.
2024-04-25 17:41:22 -04:00
alistair3149
964a4a534d
feat(prefs): ✨ remove line-height customization for now
...
Will be re-implemented later
2024-04-25 17:22:27 -04:00