Commit graph

1221 commits

Author SHA1 Message Date
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