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
github-actions
877406e449
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 21:17:22 +00:00
alistair3149
b186efba69
feat(core): ✨ reduce opacity of sticky header
2024-04-25 17:16:19 -04:00
alistair3149
0d52046523
feat(prefs): ✨ migrate font size to client preferences
2024-04-25 17:06:09 -04:00
alistair3149
d9be3e7084
refactor(core): ♻️ drop usage of mw-body-content in favor of citizen-body
2024-04-25 16:30:40 -04:00
alistair3149
316798dd57
feat(prefs): ✨ change theme toggle to 3 col
2024-04-25 16:24:18 -04:00
github-actions
fce2726cc8
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 20:21:04 +00:00
alistair3149
6392b4c24a
refactor(core): ♻️ merge theme into features.less and cssvariables.less
2024-04-25 16:19:53 -04:00
alistair3149
c2aa796b68
fix(core): 🐛 remove leftover console log
2024-04-25 16:19:17 -04:00
alistair3149
56046d7e58
feat(core): ✨ tweak pure black mode colors
2024-04-25 15:59:43 -04:00
alistair3149
4aefd74429
fix(core): 🐛 incorrect delimiter in inline script
...
Commas are not encoded in localStorage
2024-04-25 15:59:07 -04:00
github-actions
d24a8d60e2
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 19:50:36 +00:00
alistair3149
5768ccc25b
feat(core): ✨ add pure black mode for dark theme
2024-04-25 15:45:24 -04:00
alistair3149
173f093a07
docs: 📚 ️ add documentation on modifications on clientPreferences.js
2024-04-25 14:47:47 -04:00
github-actions
53ba8747ad
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 18:22:19 +00:00
alistair3149
07aedfea91
refactor(core): ♻️ do not use 'skin-theme-' message keys
...
It causes issues with translatewiki because of a conflict with Vector.
And those messages are not stable (T359983, T361157)
2024-04-25 14:21:56 -04:00
github-actions
469d6d1d5e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 00:49:51 +00:00
alistair3149
e791a52cd5
refactor(core): ♻️ replace usage of skin-citizen-theme classes
2024-04-24 20:48:43 -04:00
alistair3149
b929c2b7eb
feat(prefs): ✨ add hover state to theme buttons
2024-04-24 20:31:16 -04:00
alistair3149
a741639085
feat(core): ✨ move theme preferences to clientPrefs
...
Since clientPrefs and other related features are not avaliable until MW 1.42,
many of them are backported as polyfill. Instead of using cookies, the polyfill
are using localStorage only like Citizen in the past.
There are many changes behind the scene, but the most important one being that
`skin-citizen-*` theme classes are now soft-deprecated, and replaced by the
standardized `skin-theme-clientpref-*` classes. There will be sufficient
time before the hard deprecation.
Related: #780
2024-04-24 20:23:54 -04:00
alistair3149
755f42eb07
refactor(core): ♻️ clean up redundant styles
2024-04-24 19:43:34 -04:00
alistair3149
30ee7c1dd1
refactor(core): ♻️ use ResourceLoader to minify inline JS
2024-04-24 17:47:33 -04:00
alistair3149
d9675ebd60
fix(core): 🐛 round scrollLeft to integer
...
Fractional pixels from scrollLeft prevent Citizen from detecting overflow state properly.
2024-04-24 16:19:29 -04:00
alistair3149
3093510fae
refactor(preferences): ♻️ use mw.storage instead of localStorage
2024-04-24 00:25:09 -04:00
alistair3149
ed226a400e
feat(preferences): ✨ implement a localStorage version of mw.user.clientPrefs
...
This is the first step of migrating to the clientPrefs library when it is avaliable.
Currently only themes are using it and the standard classes are added to the HTML element.
Related: #780
2024-04-24 00:21:36 -04:00
alistair3149
cd21fd05f3
fix(core): 🐛 make ToC tracking work for non-content pages
...
Since MW 1.40, ToC has been enabled on all pages including non-content page.
By generating a list of elements to track through the ToC instead of targeting
specific classes, it should be more resilient and will work for non-content pages.
2024-04-20 01:32:37 -04:00
alistair3149
0a0a6631b0
fix(core): 🐛 remove margin when contentSub is empty
2024-04-19 23:02:23 -04:00
alistair3149
6dd0f09aca
feat(core): ✨ proper em handling for CJK languages
2024-04-19 16:55:21 -04:00
github-actions
b9a524bab4
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-19 20:26:48 +00:00
alistair3149
6b6dc5b269
feat(core): ✨ increase line height for CJK text
...
To improve readability on sites using Chinese, Japanese, and Korean.
2024-04-19 16:24:50 -04:00
alistair3149
a3e060b90c
feat(core): ✨ tweak light theme colors
...
- Decrease saturation for surface-0
- Increase saturation for other surfaces
2024-04-19 15:21:00 -04:00
alistair3149
fc47692421
feat(core): ✨ rename border-color variables and increase contrast
...
Align variable names with Codex
2024-04-19 15:20:59 -04:00
github-actions
cc5452c119
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-19 18:45:09 +00:00
alistair3149
d820947490
fix(core): 🐛 hide section indicator unless explictly enabled
2024-04-19 14:43:49 -04:00
github-actions
22bad4caab
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-19 17:50:07 +00:00
alistair3149
1d0a4adc55
style: 🎨 stylelint fixes
2024-04-19 13:48:45 -04:00
alistair3149
f84771f042
refactor(core): ♻️ simplify sticky header background styles
2024-04-16 01:33:25 -04:00
alistair3149
11566de6b6
style(css): 🎨 re-apply stylelint fixes
2024-04-16 01:28:45 -04:00
alistair3149
fdc22e4ce5
feat(core): ✨ backport valign styles for images from 1.40+
2024-04-06 14:05:05 -04:00
alistair3149
7fda12693d
fix(core): 🐛 select dropdown menu background
2024-03-20 13:47:30 -04:00
alistair3149
21ce85a320
fix(core): 🐛 remove loading indicator when page is unloaded
...
Closes : #811
2024-03-19 18:49:35 -04:00
alistair3149
84abe5a71c
feat(datatables): ✨ rework search pane and filter styles
2024-03-19 18:01:51 -04:00
alistair3149
54ca25fa27
feat(core): ✨ implement new light theme
...
Now that we have a comfortable coverage for extensions.
It is time to start tweaking light theme color.
2024-03-19 15:48:53 -04:00
alistair3149
cb1f9e616a
feat(toc): ✨ tweak toc header font size
2024-02-28 01:25:05 -05:00
alistair3149
75548a9bdf
feat(core): ✨ increase top margin of content footer
2024-02-28 01:25:03 -05:00
alistair3149
11068251c2
feat(core): ✨ reduce menu header font size
2024-02-28 01:25:02 -05:00
alistair3149
b6872f9d2a
feat(wikitable): ✨ simplify wikitable border styles
2024-02-26 18:47:44 -05:00
alistair3149
c13fd3ea3e
feat(wikitable): ✨ use the same font size for th and td
2024-02-26 17:52:20 -05:00
alistair3149
9bd23fdff2
feat(wikitable): ✨ add border to wikitables
...
Adding borders to wikitables to promote better readability.
This is a complete rewrite of the styles so there might be unexpected issues.
2024-02-26 17:48:21 -05:00
alistair3149
c9f665ef78
feat(core): ✨ use CSS variables for small font sizes
2024-02-26 17:16:07 -05:00
alistair3149
3162e19a2c
feat(core): ✨ use CSS variables for x-small font sizes
2024-02-26 17:14:19 -05:00
alistair3149
3f44789ac6
feat(core): ✨ override font-size-related skin variables
2024-02-26 17:00:31 -05:00
alistair3149
a9acc08e27
feat(core)!: 💥 ✨ rework font-size CSS variables
...
To align with Codex tokens, the old --font-size-hN CSS variables are renamed.
Introduced new font size variables (x-small, small)
2024-02-26 16:54:58 -05:00
github-actions
96171236d7
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-01-27 02:51:04 +00:00
alistair3149
22addebe77
refactor(search): ♻️ start cleaning up search suggestion functions
2024-01-26 21:50:21 -05:00
alistair3149
5e575f4c20
feat(core): ✨ use CSS variable to define default Citizen font
2023-12-15 15:07:43 -05:00
alistair3149
bdd986db89
fix(core): 🐛 hide pseudo elements instead of deleting them (pt2)
2023-12-15 15:03:13 -05:00
Eisa Ahmed
e985f863bc
feat(ar): add support for Arabic fonts through Noto Arabic ( #755 )
...
* Added support for Arabic fonts through Noto Naskh Arabic.
* Added Noto Sans Arabic
2023-12-15 00:41:45 -05:00
alistair3149
b134fbfec5
feat(core): ✨ prefer Roboto over language fonts
2023-12-13 17:33:43 -05:00
github-actions
dc3ca54d43
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-12-13 22:10:24 +00:00
alistair3149
eee044d145
feat(core): ✨ use CSS variable for language-specific fonts
2023-12-13 17:09:57 -05:00
alistair3149
f1ddf3206b
feat(core): ✨ clean up skin variables load order
2023-11-16 18:23:24 -05:00
alistair3149
21f7cc4001
fix(toc): 🐛 incorrect breakpoints for ToC
2023-11-16 18:05:04 -05:00
github-actions
684f20ac6f
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-11-16 22:56:34 +00:00
alistair3149
60999eb1d9
feat(core): ✨ replace breakpoint LESS variables with Codex tokens
...
Codex tokens are a better implementation and this should ensure consistency across the MW ecosystem.
We have to keep a copy for now as they are introduced in 1.41.
Related: #735
2023-11-16 17:55:59 -05:00
github-actions
29a79b15a3
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-11-06 03:42:30 +00:00
alistair3149
071a58ab74
fix(search): 🐛 chip text should not wrap
2023-11-05 22:41:42 -05:00
alistair3149
b0f89ba311
feat(search): ✨ turn search actions into chips
2023-11-03 17:25:30 -04:00
alistair3149
92f069208e
feat(core): ✨ remove unnessecary style from siteSub
2023-11-03 05:32:55 -04:00
alistair3149
47d06bc139
feat(core): ✨ remove top margin from siteSub
2023-11-03 05:31:20 -04:00
alistair3149
201a38f93f
fix(core): 🐛 hide loading indicator when user clicks back button on browser
...
Closes : #718
2023-10-26 17:41:21 -04:00
AlιAѕѕaѕѕιN
456b75c1b1
fix(core): RTL flipping of the progressbar animation keyframe ( #723 )
2023-10-10 19:31:44 -04:00
alistair3149
a6a9fe27e4
fix(core): 🐛 stricter selector for collapsible header
2023-09-10 19:19:31 -04:00
alistair3149
2f40541bc4
feat(core): ✨ prefix citizen section classes
2023-09-10 19:00:52 -04:00
alistair3149
2a2d6e381f
fix(search): 🐛 show presult during init
2023-09-10 16:38:04 -04:00
alistair3149
68dc715138
fix(search): 🐛 search icon clipping
2023-09-06 17:41:42 -04:00
alistair3149
e8f33bdf93
fix(search): 🐛 make search input selectable
2023-09-06 17:34:47 -04:00
alistair3149
6f3d82de04
feat(search): ✨ only show edit page action if user has rights
...
That only works for the main namespace fow now.
2023-09-06 17:33:39 -04:00
alistair3149
363144d172
refactor(search): ♻️ rearrange mwActionApi URL params
2023-08-30 10:32:32 -04:00
alistair3149
31042804df
fix(search): 🐛 incorrect thumbnail icon width
2023-08-30 10:31:26 -04:00
alistair3149
dc072f4e5b
refactor(search): ♻️ make search action into a module
...
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2023-08-29 20:05:44 -07:00
alistair3149
680d84cfb0
refactor(search): ♻️ rename helper text message keys
2023-08-29 19:39:13 -07:00
alistair3149
3d31d08021
feat(search): ✨ add suggestion to edit page
2023-08-29 19:37:17 -07:00
alistair3149
969f4f0d3d
feat(search): ✨ various tweaks to typeahead styles
2023-08-29 12:32:28 -07:00
alistair3149
2d54cbd930
feat(search): ✨ add missing border between placeholder and group
2023-08-29 02:25:56 -07:00
alistair3149
9280e7c4a8
feat(search): ✨ only add divider between groups
2023-08-29 02:23:57 -07:00
alistair3149
1f0a2e5133
feat(search): ✨ reorganize DOM structure of the typeahead
2023-08-29 01:50:55 -07:00
alistair3149
b33d5bbc87
refactor(search): ♻️ rename typeaheadItems to htmlHelper
2023-08-28 19:20:44 -07:00
alistair3149
325f22f0dd
fix(core): 🐛 fire input event when search query is cleared
2023-08-28 18:36:51 -07:00
alistair3149
bf0ed2bd55
refactor(search): ♻️ use faux element to display search query
2023-08-28 18:22:16 -07:00
alistair3149
cb02307cda
feat(search): ✨ only change search input font size for mobile Safari
2023-08-27 02:00:37 -07:00
alistair3149
ff446e61b3
refactor(search): ♻️ use option role to select user-selectable items
2023-08-27 00:50:10 -07:00
alistair3149
96cf5be48c
feat(search): ✨ only add divider between suggestions and footer
2023-08-26 16:48:28 -07:00
alistair3149
0c0f4f4ffb
feat(search): ✨ strip wikitext link syntax in search
2023-08-25 18:00:55 -07:00
alistair3149
2f2dc3328c
feat(search): ✨ search template namespace when template syntax {{}} is used
2023-08-25 17:28:39 -07:00
alistair3149
96f6361851
feat(core): ✨ use quiet hover color for menu items
2023-08-25 17:03:38 -07:00
alistair3149
853e9a9190
feat(search): ✨ increase description extract character limit to 100
2023-08-24 15:30:03 -07:00
alistair3149
042f2bfbba
feat(search): ✨ use square aspect ratio for suggestion thumbnail
2023-08-24 15:23:46 -07:00
alistair3149
2c1940c4bb
fix(search): 🐛 search history URL should not force fulltext
2023-08-23 21:26:34 -07:00
alistair3149
f6d3fc95e3
feat(search): ✨ add search history to initial state
2023-08-23 17:44:01 -07:00
alistair3149
bd41516190
fix(search): 🐛 do not add empty term to search history
2023-08-22 14:21:06 -07:00
alistair3149
dc9f6f034c
feat(core): ✨ tweak more menu spacing
2023-08-22 14:02:50 -07:00
alistair3149
87886b39a0
fix(core): 🐛 only increase search input font size for mobile
2023-08-14 23:49:01 -04:00
alistair3149
07aa883195
fix(core): 🐛 increase search input font size to 1rem
...
Closes : #513
2023-08-14 23:48:09 -04:00
alistair3149
1155b72636
refactor(search): ♻️ use forEach loop for better readability
2023-08-12 14:20:53 -04:00
alistair3149
98984efd25
refactor(search): ♻️ avoid unnessecary const declaration
2023-08-12 14:16:29 -04:00
alistair3149
02662315f8
refactor(search): ♻️ minor cleanup
2023-08-12 14:11:06 -04:00
alistair3149
122819b67e
fix(core): 🐛 bump search input font size
...
It might fix #513 hopefully
2023-08-11 18:45:04 -04:00
alistair3149
c8ba546be8
feat(core): ✨ reduce space between section indicator and title
2023-08-07 17:20:40 -04:00
alistair3149
2016e2a30c
refactor(search): ♻️ break down some of the suggestions functions
2023-08-07 17:00:56 -04:00
alistair3149
b015647cc6
fix(search): 🐛 avoid double escape for equal sign
2023-08-07 16:20:36 -04:00
alistair3149
028103799e
fix(search): 🐛 incorrect SMW search result mapping
2023-08-07 16:18:26 -04:00
alistair3149
59ceaf56cf
refactor(search): ♻️ add groundwork needed for search history
2023-08-04 20:02:42 -04:00
alistair3149
29d0f4b1ff
fix(core): 🐛 incorrect value for aria-controls
2023-08-04 17:31:11 -04:00
github-actions
70a003d941
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-08-04 21:25:01 +00:00
alistair3149
283aa86888
refactor(search): ♻️ break down updateTypeahead function
2023-08-04 17:24:22 -04:00
alistair3149
c39a4e6796
refactor(search): ♻️ clean up keydown event
2023-08-04 16:33:17 -04:00
alistair3149
c21348d0c7
refactor(search): ♻️ initial state of the elements should be undefined
2023-08-04 16:27:37 -04:00
alistair3149
0aa776b14c
refactor(search): ♻️ clean up composition events
2023-08-04 16:26:19 -04:00
alistair3149
9921a00c17
fix(search): 🐛 ensure that onFocus event are properly fired
2023-08-04 03:37:28 -04:00
alistair3149
0dd3a82c06
fix(search): 🐛 handle multiple redirect key in Action Search Client
2023-08-03 21:20:47 -04:00
alistair3149
6fb2b1aaf9
fix(search): 🐛 always set label for search clients
2023-08-03 21:01:21 -04:00
alistair3149
4b1a39eb1c
fix(search): 🐛 avoid double encoding conditions and printouts
2023-08-03 20:33:14 -04:00
alistair3149
e24e0e7429
docs(search): 📚 ️ add jsdoc type to typeahead elements
2023-08-03 19:30:57 -04:00
alistair3149
fd224071db
refactor(search): ♻️ clean up typeahead init and event functions
2023-08-03 19:25:41 -04:00
alistair3149
0afb40fc86
feat(core): ✨ adapt typography to user preferences
...
* Add reduced gradation for dark mode
* Bolder font for prefer high contrast
* Thinner font for prefer low contrast
2023-08-03 17:41:54 -04:00
alistair3149
eec5c6fd64
feat(search): ✨ reimplement multi search command experiment
...
Search commands start withs slash and includes: action, rest, ask
2023-08-02 22:07:41 -04:00
alistair3149
4241f8522d
fix(search): 🐛 exit early if there are no query results
2023-08-02 21:28:39 -04:00
alistair3149
17593b8202
refactor(search): ♻️ separate search query and client from typeahead.js
2023-08-02 20:16:39 -04:00
alistair3149
9862000b11
refactor(search): ♻️ clean up search query handling
2023-08-02 19:56:09 -04:00
alistair3149
51db19938c
feat(search): ✨ reimplement SMW Ask API search
...
Instead of relying on hardcoded config, you can simply type the
conditions as search query (e.g. `[[Has population::1200]][[:+]]`).
2023-08-02 19:02:50 -04:00
alistair3149
431599cb59
refactor(search): ♻️ reimplement and clean up search clients
...
This should make the search clients more readable and easier to expand
2023-08-02 18:56:08 -04:00
alistair3149
c2431ebeba
refactor(search): ♻️ clean up result fetch functions
...
Based on Vector implementation
2023-07-31 20:59:50 -04:00
alistair3149
e866edc3a5
fix(toc): 🐛 add null check for link
2023-07-30 19:44:34 -04:00
alistair3149
ba5bea704e
style: 🎨 apply recess order to styles
2023-07-27 21:19:27 -04:00
alistair3149
65fe56d2ac
fix(core): 🐛 incorrect selector for menu backdrop styles
2023-07-27 20:31:04 -04:00
alistair3149
4e931f6812
fix(core): 🐛 add missing hover styles for source element in thumbnails
2023-07-24 15:37:38 -04:00
alistair3149
4f19de3b62
feat: ✨ add support for source element in thumbnails
...
In prepration of supporting Extension:PictureHtmlSupport
2023-07-24 15:36:22 -04:00
github-actions
9abdfe595e
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-07-23 18:18:57 +00:00
沈澄心
6e44db80ef
fix(MediaWiki): break down long filenames for broken files ( #698 )
...
* Update content.thumbnails-common.less
* Update content.media-common.less
2023-07-23 14:18:05 -04:00
沈澄心
f0f0a07121
feat(MediaWiki): update bad file styles for bad image list ( #697 )
...
* Update content.media-screen.less
* Update content.thumbnails-screen.less
* Update content.thumbnails-screen.less
* Update content.media-screen.less
2023-07-23 14:16:38 -04:00
沈澄心
69a6350de3
fix(VisualEditor): don't merge edit buttons when JS is disabled ( #696 )
2023-07-23 03:12:30 -04:00
github-actions
8bfa8b5e6a
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-07-20 22:18:16 +00:00
alistair3149
fab4d27273
feat(core): ✨ add overflow handling for citizen inner header
2023-07-20 18:17:14 -04:00
github-actions
099b239267
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-07-19 10:01:52 +00:00
alistair3149
c14889f8c0
feat(toc): remove background and color transition from top link
...
It is expensive and unnecessary
2023-07-19 06:01:04 -04:00
github-actions
9796560793
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-07-19 09:58:48 +00:00
alistair3149
2f64346c25
feat(core): add overlay transition to header menus
2023-07-19 05:57:55 -04:00
alistair3149
a6bc1a8d4b
feat(core): ✨ sync input styles with Codex and OOUI
2023-07-16 20:48:37 -04:00
alistair3149
f555f3c832
fix(core): 🐛 only apply hover style to wikitable tbody rows
2023-07-16 20:25:04 -04:00
alistair3149
739fa8504c
fix(core): 🐛 enter key should not clear search input
...
Use span instead of button element. As button element will make
enter key triggering the clear button.
2023-07-16 16:48:14 -04:00
alistair3149
85f036c2f8
feat(core): ✨ remove expensive CSS animation
...
Avoid paint and layout triggering transitions
2023-07-16 15:32:13 -04:00
alistair3149
1aba52b870
fix(core): 🐛 inconsistent search focus behavior
2023-07-16 03:50:43 -04:00
alistair3149
0e42030d39
fix(core): 🐛 do not insert pseudo elements to input element
...
It is invalid and does not work in Firefox.
Closes : #689
2023-07-16 02:49:33 -04:00
alistair3149
7ea3b94d23
feat(core): ✨ tweak sitestats font size
2023-07-14 21:48:25 -04:00
alistair3149
703fac6294
feat(core): ✨ add overlay as affordnance to popup menus
2023-07-14 18:18:18 -04:00
alistair3149
aef94e31cb
fix(toc): 🐛 init observer only when there are headlines
2023-07-11 22:01:04 -04:00
alistair3149
0b65a05556
refactor(core): ♻️ break down main function in skin.js
2023-07-11 21:44:34 -04:00
alistair3149
7136c6e96e
fix(core): 🐛 incorrect spacing within page tools buttons
2023-07-11 01:50:19 -04:00
alistair3149
2bf20397e1
feat(core): ✨ use filter-invert CSS variable to flip color
...
This decouple the filter style from the class.
Instead, filter-invert can be redefined if needed (e.g. :root.skin-citizen-dark)
2023-07-10 16:56:56 -04:00
alistair3149
6cddf85131
feat(search): ✨ add clear button to search box
2023-07-10 16:23:48 -04:00
alistair3149
d0b1b8982c
refactor(search): ♻️ simplify search box structure
2023-07-10 15:13:21 -04:00
alistair3149
25169379a9
fix(core): 🐛 do not underline footer places links
2023-07-07 21:04:22 -04:00
alistair3149
73ff64f7da
fix(mediawiki): 🐛 do not add external link icon to external interwiki
2023-07-07 20:54:27 -04:00
alistair3149
88a5d4de9d
fix(search): 🐛 abort search request if there are no query
2023-07-07 20:44:45 -04:00
alistair3149
4ef5376cab
refactor(core): ♻️ clean up various eslint errors
2023-07-07 18:00:14 -04:00
alistair3149
608a2be932
feat(search): ✨ support all existing gateway in multi search
2023-07-07 17:56:01 -04:00
alistair3149
f843f4d1ee
fix(search): 🐛 undefined LESS variables
2023-07-07 17:26:12 -04:00
alistair3149
6adc0d7eab
feat(search): ✨ add experimental multi gateway search
...
This is experiemental and just a proof of concept for further work.
For now, typing `\/ask` in the search query will trigger SMW Ask search
2023-07-07 17:24:34 -04:00
alistair3149
c7e45177cd
feat(core): ✨ update menu transition styles and implementation
...
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
2023-07-07 17:02:27 -04:00
alistair3149
a7f9c55c88
feat(core): ✨ update hover transition styles and implementation
...
The timing and easing function are defined separately than the property.
It is now accessible as a CSS variable (transition-hover)
2023-07-07 16:36:38 -04:00
alistair3149
6874f0a7e2
refactor(core): ♻️ unify Citizen menu styles
2023-07-07 15:26:31 -04:00
alistair3149
45c970e70b
feat(core): ✨ increase spacing between menus in drawer
2023-07-06 16:39:04 -04:00
alistair3149
6b1a7d1ece
feat(core): ✨ use medium font weight for menu links
2023-07-06 15:00:11 -04:00
alistair3149
462d1dd4ac
feat(core): ✨ use consistent spacing for menu elements
2023-07-06 00:55:42 -04:00
github-actions
00f252ae26
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-07-03 12:49:36 +00:00
沈澄心
2891d042cc
fix(core): skin preference support for Safari on iOS < 12.2 ( #680 )
...
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update inline.js
* Update SkinHooks.php
* Update skins.citizen.preferences.less
* Update variables.less
* Update theme.less
* Update theme.less
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update skin.js
2023-07-03 08:48:41 -04:00
H. C. Kruse
a1139e7797
fix(Tables): Check if element.parentNode
is null ( #681 )
...
Happened on the recent changes table. While the added line in TableNowrapClasses also fixes this, I've left it in as a safeguard.
2023-07-03 08:48:15 -04:00
沈澄心
1cd993c664
fix(core): add webkit prefix for sticky to support Safari < 13 ( #679 )
...
* Update layout.less
* Update TableOfContents.less
* Update mixins.less
* Update ext.echo.special.less
* Update mediawiki.rcfilters.filters.ui.less
* Update README.md
2023-06-28 13:58:21 -04:00
沈澄心
32ffa7cc23
feat(core): update MediaWiki notification style ( #673 )
...
* Update variables.less
* Update cssvariables.less
* Update mediawiki.notification.less
* Update cssvariables.less
* Update variables.less
* Update mediawiki.notification.less
* Update mediawiki.notification.less
* Update mediawiki.notification.less
* Update theme.less
2023-06-26 15:25:12 -04:00
github-actions
94e55cf698
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-23 06:32:21 +00:00
沈澄心
1137a374d8
feat(core): add border to message boxes ( #672 )
...
* Update Header.php
* Clean up and ucfirst group member name
* Update theme.less
* Update interface-message-box.less
* Update interface-message-box.less
* Update theme.less
* Update interface-message-box.less
---------
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-23 02:31:35 -04:00
沈澄心
a61746bf8e
fix(core): header icon position in older browsers ( #670 )
...
* Update Header.less
* Update skins.citizen.preferences.less
* Update Header.less
* Update Header.less
2023-06-22 13:49:26 -04:00
github-actions
657c6cf294
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-21 18:31:20 +00:00
沈澄心
89a9957cd4
refactor(core): avoid using ES2020+ methods ( #669 )
...
Replace ??, ?., and replaceChildren() for better compatibility; hide pref panel in unsupported browsers
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
* Update sections.js
* Update tableOfContents.js
* Update mwRestApi.js
* Update mwRestApi.js
* Update skins.citizen.preferences.js
* Update mwActionApi.js
* Update typeahead.js
2023-06-21 14:30:45 -04:00
alistair3149
f74244ff46
fix(core): 🐛 force section indicator and heading to the start
...
Extensions like DisucssionTools might add unexpected element to the header.
This should fix the layout issue
2023-06-20 15:02:15 -04:00
github-actions
14db25faac
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-20 18:30:08 +00:00
沈澄心
07d7a730b8
fix(core): prevent propagation of click event on .mw-editsection, .mw-editsection-like ( #667 )
...
* Update sections.js
* Update sections.js
2023-06-20 14:29:37 -04:00
沈澄心
914b81010e
fix(ooui): fix max-width of OOUI TextInputWidget ( #666 )
...
* Update mediawiki.special.search.styles.less
* Update hacks.less
* Update mediawiki.special.search.styles.less
2023-06-20 14:12:15 -04:00
alistair3149
434d2688fc
refactor(core): ♻️ less specific link underline selector
2023-06-15 14:37:07 -04:00
alistair3149
717d16af35
feat(core): ✨ display real name in user menu when exists
...
Closes : #652
Co-authored-by: SimonTaurus <simon.stier@gmx.de>
2023-06-09 21:34:55 -04:00
alistair3149
abe3359c82
refactor(core): simplify tagline separator selector
2023-06-08 16:06:31 -04:00
github-actions
a928b278fa
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-08 20:04:36 +00:00
沈澄心
25d25e381b
feat(core): expand user page tagline and allow citizen-tagline to be parsed ( #657 )
...
* Add registration date to user tagline
* Add contribution link to edit count in user tagline
* Add gender to user tagline
* Allow `citizen-tagline` to be fully parsed
---------
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 16:03:48 -04:00
github-actions
8351aa5203
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-08 19:45:07 +00:00
沈澄心
e69160de2f
feat(WikiHiero): add WikiHiero color ( #653 )
...
Also update Math color
---------
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:44:22 -04:00
沈澄心
90d69720f6
feat(core): underline content links on hover and focus ( #659 )
...
* Update elements.less
* Update elements.less
* Update content.less
* Update elements.less
* Update elements.less
---------
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:30:00 -04:00
沈澄心
659c47b3c2
fix(core): typo in dark-color-text-error ( #658 )
2023-06-06 17:21:31 -04:00
github-actions
eed8972d2b
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-04 17:17:24 +00:00
沈澄心
f9dad61263
feat(core): use more a11y friendly hidden ( #654 )
2023-06-04 13:16:36 -04:00
alistair3149
5c9498a08b
fix(core): 🐛 avoid page action menu overflow when title is too long
...
Fix : #648
2023-06-02 14:38:38 -04:00
github-actions
1a68ad1a87
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-01 23:08:38 +00:00
alistair3149
c0e0f28163
fix(core): 🐛 wrap indicator when needed
...
Fix : #635
2023-06-01 19:07:43 -04:00
alistair3149
8a618a6a9d
feat(core): ✨ update state background color
...
Switch to a semi-transparent color so it blends with the background.
Fix #639
2023-06-01 19:00:33 -04:00
github-actions
b537776dab
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-01 22:48:25 +00:00
沈澄心
ba825daa9a
feat(core): update state text color ( #642 )
...
* Update variables.less
* Update cssvariables.less
* Update content.body.less
* Update mediawiki.special.changeslist.less
* Update mediawiki.special.changeslist.less
* Update ext.scribunto.edit.less
* Update ext.echo.ui.less
* Create mediawiki.interface.helpers.styles.less
* Update skin.json
* Update oojs-ui-core.less
* Update oojs-ui-core.less
* Update variables.less
* Update cssvariables.less
* Update variables.less
* Update mediawiki.special.changeslist.less
* Update cssvariables.less
* Update variables.less
* Update variables.less
* Update README.md
* Update README.md
* Update mediawiki.special.changeslist.less
2023-06-01 18:47:40 -04:00
沈澄心
d92fd77e54
fix(core): add webkit prefix to user-select property ( #631 )
...
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
* Update mixins.less
* Update Sections.less
* Update TableOfContents.less
* Update interface-edit-section-links.less
2023-05-23 12:47:26 -04:00
沈澄心
efd02548a6
feat(Scribunto): add support for Scribunto debug console ( #629 )
...
* add support for Scribunto debug console
* Update ext.scribunto.edit.less
* Update README.md
2023-05-23 12:27:54 -04:00
github-actions
5ad7e34c25
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-23 16:26:20 +00:00
沈澄心
b43da4d81e
fix(preferences): incorrect preferences icon position on Chrome 81
2023-05-23 12:25:14 -04:00
github-actions
97e6714cc4
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-18 17:58:40 +00:00
Simon Stier
2e3e5feb9b
feat(search): add SMW Ask API as search backend option ( #625 )
...
* feat: add SMW Ask API as search backend option
* feat: allow namespace prefix in smw ask query
2023-05-18 13:57:43 -04:00
Simon Stier
a7b99d11f0
feat(core): add config var 'wgCitizenTableNowrapClasses' ( #621 )
...
* add config var 'wgCitizenTableNowrapClasses'
* refactor: load config via require
2023-05-18 13:53:58 -04:00
alistair3149
d35b1a8eb5
fix(core): 🐛 incorrect max-width value
2023-05-09 17:04:16 -04:00
alistair3149
6c04fee280
feat(core): ✨ add basic scriptless responsive table support
...
This should also fix the issue where table are overflowing out to the toc
2023-05-09 17:03:50 -04:00
github-actions
b0b91e55d3
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-07 20:29:45 +00:00
alistair3149
5ca0f030bc
fix(core): 🐛 add missing border between thead and tbody
2023-05-07 16:28:38 -04:00
alistair3149
801eb9a13b
fix(core): 🐛 add gap between footer icons under the same li
2023-05-06 18:07:21 -04:00
alistair3149
09ffed668d
fix(core): 🐛 ensure loading indicator is removed when script is loaded
2023-05-06 17:51:41 -04:00
github-actions
bedfa3a571
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-06 04:31:50 +00:00
alistair3149
838a7f5100
fix(core): 🐛 do not resize image in table
...
That seems to only happen with the new media format
2023-05-06 00:30:37 -04:00
alistair3149
35821b62ae
feat(core): ✨ more saturated base text color
2023-05-05 10:22:32 -04:00
alistair3149
cd93b3d679
feat(core): ✨ ignore cargo dynamic table for table wrapper
2023-05-02 01:09:54 -04:00
alistair3149
79daca474a
feat(core): ✨ ignore dataTable for table wrapper
...
It seems that dataTable collide with the wrapper for some reason.
Looking for help on this one if anyone knows.
2023-05-02 00:32:07 -04:00
github-actions
7e20e2d8da
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-02 04:03:32 +00:00
alistair3149
c2922f6ba2
feat(core): ✨ switch page-container to flex layout
2023-05-02 00:02:25 -04:00
alistair3149
661fbf0b8f
feat(core): ✨ do not wrap changelist tables
2023-05-01 23:34:18 -04:00
alistair3149
587cea1ee9
feat(core): ✨ check parent container for table nowrap class
2023-05-01 14:50:48 -04:00
alistair3149
3d14f9cf0b
feat(core): ✨ do not wrap nested tables
2023-05-01 14:45:08 -04:00
alistair3149
c10dd046c3
refactor(core): ♻️ minor variable name cleanup
2023-05-01 03:08:08 -04:00
github-actions
8d044aea95
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-01 06:38:27 +00:00
alistair3149
81affb88f1
feat(core): ✨ ignore infobox class for table wrapper
2023-05-01 02:37:32 -04:00
github-actions
8bd678a180
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-01 06:24:37 +00:00
alistair3149
d1d49e62d5
feat(core): ✨ inherit float classes to table wrapper
...
So that table would have the correct float style
2023-05-01 02:23:40 -04:00
github-actions
ee90992a89
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-05-01 06:06:54 +00:00
alistair3149
b2eaf0a41a
feat(core): ✨ add HTML class to disable table wrapper
...
Adding the class `.citizen-table-nowrap` will stop Citizen from adding wrapper to the table
2023-05-01 02:05:58 -04:00
github-actions
1f5f72ed15
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-04-30 23:55:44 +00:00
alistair3149
e45af9bbbe
feat(core): ✨ add scroll affordance to tables
2023-04-30 19:54:31 -04:00
alistair3149
ce9963467d
refactor(core): ♻️ load content scripts using wikipage.content hook
2023-04-30 18:01:53 -04:00
github-actions
1945988d6f
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-04-30 21:02:42 +00:00
alistair3149
8c888a7e1f
feat(core): ✨ make tables responsive without breaking table layout
...
Instead of a CSS solution used previously, switch to a JS solution to wrap tables.
This should ensure the table renders correctly and also scrollable.
This lays the groundwork for making table more user-friendly in the future.
2023-04-30 17:01:29 -04:00
github-actions
3ad4d62eef
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-04-14 17:30:33 +00:00
alistair3149
612382f567
fix(core): 🐛 avoid double spacing between notice and content
2023-04-14 13:29:15 -04:00
alistair3149
aaa82d06ef
feat(search): ✨ trigger typeahead update when character is composed
...
Only trigger an update when the character is fully composed.
Examples include various CJK IMEs
Closes : #608
2023-04-03 12:48:10 -04:00
alistair3149
84246c503d
refactor(search): ♻️ do not pass messages var around
2023-04-03 11:52:38 -04:00
alistair3149
90890de53f
feat(core): ✨ add config flag to disable preferences menu
2023-03-27 14:08:38 -04:00
alistair3149
b47f2658c7
fix(core): 🐛 remove redundant override for image height
...
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix : #605
2023-03-27 13:48:29 -04:00
alistair3149
015b1e1b9a
fix(core): 🐛 respect config flag for default theme
...
This should fix the issue where CitizenThemeDefault is not working
2023-03-20 12:21:46 -04:00
alistair3149
ba50defaba
refactor(core): ♻️ make typeahead items more reusuable
2023-03-01 16:31:42 -05:00
alistair3149
68313123e9
feat(core): ✨ apply box-sizing: border-box by default
2023-03-01 16:08:07 -05:00
alistair3149
0b7c72ca5e
fix(search): 🐛 align typeahead with input
2023-03-01 15:34:50 -05:00
alistair3149
b8a1d9c224
refactor(search): ♻️ simplify typeahead styles
2023-03-01 15:27:43 -05:00
alistair3149
235a76c2bd
feat(core): ✨ add border to Citizen cards
2023-03-01 15:02:34 -05:00
github-actions
9e15415835
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149
19ddd61e19
feat(core): ✨ clean up print styles
2023-02-28 16:58:35 -05:00
alistair3149
ddb425c4bb
fix(core): 🐛 responsive thumbnail on new media structure
2023-02-22 15:12:06 -05:00
alistair3149
54c8717d45
refactor(core): ♻️ simplify menu header implementation
2023-02-22 14:47:32 -05:00
github-actions
db4e6a3867
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-02-17 05:25:36 +00:00
alistair3149
8f4910153a
fix(core): 🐛 incorrect thumbnail center styles
2023-02-17 00:24:34 -05:00
alistair3149
65aff44e1c
Revert "feat(core): ✨ do not synthesize font styles through browser"
...
It is not ready for current usage yet, see #591
2023-02-16 23:30:14 -05:00
alistair3149
83f7fc5db2
feat(core): ✨ update font stacks
2023-02-16 13:00:10 -05:00
alistair3149
af41f98935
feat(core): ✨ use same font family instead of serif for blockquote
...
Since it is the only place that use serif, the serif variable is also removed
2023-02-16 12:13:21 -05:00
alistair3149
907206854b
feat(core): ✨ do not synthesize font styles through browser
2023-02-16 12:10:46 -05:00
alistair3149
3ec84349b1
feat(core): ✨ add support for user-interface-preferences menu
...
This should also fix the issue of ULS not showing up (#587 , #425 ).
2023-02-15 18:38:02 -05:00
alistair3149
e06ed54c83
feat(search): ✨ support MW default search shortcut key
...
It is added as an alternative of the slash key shortcut.
Closes : #582
2023-02-15 16:08:39 -05:00
alistair3149
ef9ab2a537
refactor(core): ♻️ move components styles into folder
2023-01-31 15:04:06 -05:00
github-actions
c4072978e4
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-01-31 20:02:13 +00:00
alistair3149
084a886866
refactor(core): ♻️ group contentheader styles
2023-01-31 15:01:03 -05:00
alistair3149
d14ddd99e6
refactor(core): ♻️ simplify page title implementation
2023-01-31 14:54:20 -05:00
alistair3149
7639110326
fix(search): 🐛 overlay should not cover search box
2023-01-27 14:19:32 -05:00
alistair3149
ee4a7eda4f
refactor(core): ♻️ rename mw-checkbox-hack class to citizen-menu-checkbox
2023-01-25 20:25:40 -05:00
alistair3149
afcf37d529
fix(core): 🐛 checkboxHack buttons should be focusable
...
So that users can use keyboard to navigate to such button.
Previously they all have a display:none property, which makes it
impossible to reach with keyboard
2023-01-25 20:20:46 -05:00
alistair3149
ef955c28a0
feat(core): ✨ use MW core checkboxHack instead
...
We no longer need to emulate the same feature when it is in core
2023-01-25 19:40:52 -05:00
alistair3149
5ebd7ad025
feat(core): ✨ remove plainlist styles
...
It should not be a part of the skin as it belongs to a template
2023-01-23 00:17:32 -05:00
alistair3149
a7406d8e32
fix(core): 🐛 default to auto theme unless set
2023-01-20 20:18:58 -05:00
alistair3149
aeb8e160cf
fix(core): 🐛 increase mw-body-header z-index
...
This should allow modals in mw-body-header to be higher than
the custom sticky headers
2023-01-17 16:44:35 -05:00
alistair3149
4b8e128e4b
feat(search): ✨ add search portals to empty state
2023-01-16 18:02:07 -05:00
alistair3149
7416a7f6d1
fix(search): 🐛 incorrect max height for search suggestions
2023-01-16 17:36:45 -05:00
alistair3149
5023f2aa64
feat(toc): ✨ add bottom margin to sticky toc
2023-01-12 15:58:40 -05:00
alistair3149
1e47e95a8d
fix(search): 🐛 more robust null check for description
2023-01-09 16:24:28 -05:00
alistair3149
242413bf4a
fix(search): 🐛 incorrect keyboard navigation on typeahead items
2023-01-06 16:03:02 -05:00
alistair3149
023ee9427a
feat(core): ✨ more colorful emphasized text color
2022-12-20 21:50:49 -08:00
alistair3149
985ecb2aa1
feat(core): tweak content sub spacing
2022-12-20 14:06:07 -08:00
github-actions
982407d454
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-20 21:36:13 +00:00
alistair3149
aa13b58194
fix(core): missing style for the previous commit
2022-12-20 13:34:59 -08:00
github-actions
6cfd8cb809
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-20 20:54:59 +00:00
alistair3149
0051115ce0
feat(core): ✨ always truncate sticky header first heading
...
That would keep the sticky first header to always be one line, also solves #559
2022-12-20 12:53:43 -08:00
alistair3149
60c12706a5
feat(search): contain the overscroll of search suggestion
2022-12-18 01:09:42 -05:00
alistair3149
2e9dffb7f0
fix(search): 🐛 correct URL for MediaSearch
...
Somehow it has to have the type parameter or it'll just go directly to a page if exists
2022-12-17 22:44:36 -05:00
alistair3149
8c8ab997ac
feat(core): ✨ increase base layout width to 1080px
2022-12-14 15:05:08 -05:00
alistair3149
3414d59643
feat(core): ✨ dynamic dark theme color based on primary hue
2022-12-14 14:06:06 -05:00
alistair3149
867fd29b7c
refactor(core): ♻️ clean up unused LESS variables
2022-12-14 12:59:38 -05:00
alistair3149
37cdf91257
feat(core): ✨ deprecate background-color-framed and input
...
background-color-framed can be replaced with color-surface-2 most of the time.
input is not used.
They are both deprecated in favor of the simpler color-surface system
2022-12-14 12:56:17 -05:00
alistair3149
b262f47404
refactor(core): ♻️ remove unused table style
2022-12-14 12:32:30 -05:00
alistair3149
0ca34a5c3f
docs(search): 📚 ️ document functions and objects
2022-12-14 11:39:18 -05:00
alistair3149
db79f26a66
refactor(search): ♻️ use template literals
2022-12-14 11:22:50 -05:00
alistair3149
c2da5c5ade
fix(search): 🐛 do not collapse whitespace in label text node
2022-12-14 10:40:08 -05:00
alistair3149
203b0b42c3
feat(search): ✨ add MediaSearch to typeahead
2022-12-14 10:28:45 -05:00
alistair3149
6aa587635d
refactor(search): ♻️ clean up clearSuggestion
2022-12-14 00:45:43 -05:00
alistair3149
4d1225b96f
refactor(search): ♻️ simplify typeahead item styles and classes
2022-12-13 23:52:54 -05:00
github-actions
0ef78751a7
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-13 23:26:15 +00:00
alistair3149
074df5272c
fix(search): 🐛 incorrect full text search URL
2022-12-13 18:25:14 -05:00
alistair3149
224c190a47
feat(core): ✨ do not set fieldset font size
2022-12-13 16:51:49 -05:00
alistair3149
c4bd384235
fix(core): 🐛 incorrect z-index in changelist title
2022-12-12 21:41:19 -05:00
alistair3149
7a59e9c2d7
fix(core): 🐛 do not use CSS containment for body content
...
Because it breaks fixed layout originated from the content area
2022-12-12 20:11:47 -05:00
alistair3149
0187478d1a
feat(core): ✨ do not hardcode min-width for page tools menu
2022-12-11 18:33:12 -05:00
alistair3149
685a3ad1c4
refactor(core): ♻️ reduce the number of RL modules
...
It will improve the performance in module registration and also caching
2022-12-09 14:48:17 -05:00
alistair3149
3d1ca8b2ad
feat(core): ✨ reduce the click event delay on touch devices
2022-12-08 13:51:22 -05:00
alistair3149
f3ee780f8c
feat(core): ✨ add rounded corner to mw-message-box
2022-12-08 13:39:00 -05:00
alistair3149
9d7c3070e5
fix(search): 🐛 overlay should be visible on mobile
2022-12-08 13:27:41 -05:00
alistair3149
cc3e1d41d4
fix(search): 🐛 do not shrink thumbnail
2022-12-08 13:27:40 -05:00
alistair3149
f81e5b6f1a
fix(search): 🐛 null error when rest api is used
2022-12-07 18:05:14 -05:00
alistair3149
71d89bc935
fix(core): 🐛 page tool menu should not overflow right ( #555 )
2022-12-07 14:34:22 -05:00
github-actions
c8f06a8e75
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-06 21:58:01 +00:00
alistair3149
a1b2f7f184
fix(core): 🐛 sticky header flickering
2022-12-06 16:57:22 -05:00
alistair3149
77bba6f232
perf(core): ⚡ ️ use will-change for card transitions
2022-12-06 15:46:14 -05:00
github-actions
9187a9bf45
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-06 20:30:42 +00:00
alistair3149
ca41b42aec
perf(core): ⚡ ️ add CSS containment to suitable elements
2022-12-06 15:29:49 -05:00
alistair3149
75ab097ba1
feat(core): ✨ update MW datatable styles
2022-12-06 15:06:22 -05:00
alistair3149
96ec8e4248
fix(search): 🐛 typeahead thumbnails should be center-aligned
2022-12-06 14:54:22 -05:00
alistair3149
34804e8258
feat(search): ✨ use WMUI icon for placeholder
2022-12-06 14:48:18 -05:00
alistair3149
fd0978b73d
feat(search): ✨ use background-image instead for typeahead thumbnails
2022-12-06 14:27:08 -05:00
alistair3149
284b0d8952
feat(search): ✨ add no result state to typeahead
2022-12-06 13:52:14 -05:00
alistair3149
a1aeff2e52
fix(search): 🐛 restore ID attribute for suggestion items
2022-12-06 12:05:34 -05:00
alistair3149
9bf737f720
feat(search): ✨ add empty state to typeahead
...
This is a barebone initial implementation, more work will come to it
2022-12-06 12:01:47 -05:00
alistair3149
501286a15d
fix(search): 🐛 update selector for fulltexturl
2022-12-05 21:13:05 -05:00
alistair3149
e6ca664cc4
fix(search): 🐛 enter key should not throw any error
2022-12-05 21:10:27 -05:00
alistair3149
7805b890ff
fix(search): 🐛 enter key should click the selected item
2022-12-05 21:02:47 -05:00
alistair3149
3488e29960
feat(search): ✨ show enter key tip when item is active
2022-12-05 15:52:36 -05:00
alistair3149
c5e5ff40a6
fix(search): 🐛 enter key should click the link in suggestion
2022-12-05 15:35:31 -05:00
alistair3149
c9b03aa7fe
feat(search): ✨ merge footer into item element
2022-12-05 15:29:17 -05:00
alistair3149
bb0eb49aaa
chore(ci): 🔧 👷 make es-x eslint rules warn instead of error
...
They will be addressed when we are rewriting the modules to ES6
2022-12-05 15:08:34 -05:00
alistair3149
99b3523cd6
refactor(search): ♻️ partial cleanup on typeahead DOM
2022-12-04 02:13:37 -05:00
alistair3149
22e1324a80
feat(core): ✨ do not hardcode footer wordmark size
...
It should respect the size set in localsettings under wgLogos
2022-12-03 22:50:30 -05:00
github-actions
365b1c5e4a
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-03 19:13:02 +00:00
alistair3149
4293021d5c
feat(search): ✨ clean up redirect text implementation
2022-12-03 14:12:01 -05:00
alistair3149
48cb80aaa3
refactor(search): ♻️ make renderSuggestions more digestible
2022-12-03 13:42:01 -05:00
alistair3149
7bfec28ef2
feat(core): ✨ add site logo to header
2022-12-03 12:39:33 -05:00
github-actions
143c64c7b0
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-03 03:19:22 +00:00
alistair3149
3d0ff75249
feat(core): ✨ center align searchbox
...
Precursor to make search center of the experience
2022-12-02 22:18:29 -05:00
alistair3149
2a8129ec93
feat(core): ✨ add active states to header buttons
2022-12-02 22:17:14 -05:00
github-actions
568405cd5d
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-02 23:00:32 +00:00
alistair3149
391266c0a7
feat(core): ✨ allow the use of custom search suggestion module
...
defines the search suggestion ResourceLoader module
used by the skin. It deprecates the config
2022-12-02 17:59:45 -05:00
github-actions
57d50ea5c5
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-12-02 22:39:05 +00:00
alistair3149
1939850369
feat(core): ✨ allow multiple search components on the same page
...
This will allow the search suggestion to hook up to multiple search
boxes with `.citizen-search-box` as container. Do note that the default
Citizen suggestion is hardcoded for the primary search, so it only
works for the old core search suggestion module.
This is also a prereq for implementing the Codex search like the one
from Vector.
2022-12-02 17:35:23 -05:00
alistair3149
faf294e899
feat(core): ✨ tweak RC and Watchlist styles
2022-12-01 16:13:25 -05:00
alistair3149
ca7dd9fe86
feat(ooui): ✨ redo OOUI styles
2022-11-30 21:42:28 -05:00
alistair3149
f64f1a2d5e
fix(core): 🐛 input focus state should use hover background color
2022-11-30 16:10:48 -05:00
alistair3149
f041b2cbea
feat(core): ✨ only apply letter spacing to text field labels
2022-11-26 17:59:03 -05:00
github-actions
c634a934bd
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-11-26 08:41:34 +00:00
alistair3149
bf9a4850f6
feat(core): add underglow to progress indicator
2022-11-26 03:40:43 -05:00
alistair3149
9652d4f8ed
refactor(core): ♻️ prepare for heading structure changes
2022-11-24 21:46:23 -05:00
alistair3149
b182872ea7
fix(core): 🐛 incorrect height for page action button
2022-11-24 21:19:14 -05:00
alistair3149
3fb66b38b2
feat(core): ✨ add hover states to editsection links
2022-11-24 21:14:51 -05:00
alistair3149
be7139968e
feat(typography): ✨ add bottom margin to headings
2022-11-24 20:21:36 -05:00
alistair3149
467cf85be4
feat(core): ✨ unify sticky header styles
2022-11-24 20:15:13 -05:00
alistair3149
5e14891088
feat(typography): ✨ add label styles
2022-11-23 20:52:44 -05:00