alistair3149
30fca942a7
perf(core): ⚡ ️ move sticky header handling to observers
2024-11-07 19:12:48 -05:00
alistair3149
e79ae5939c
perf(core): ⚡ ️ put sticky header elements in DOM instead of creating them on init
2024-11-03 00:44:23 -04:00
alistair3149
06b6f6c194
feat(header): ✨ add microinteraction to wiki logo/home button
2024-10-23 19:46:15 -04:00
alistair3149
404106f182
refactor(pageTools): ♻️ refactor pageTools into component
2024-10-23 16:08:58 -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
53742a0dd2
feat(core): ✨ extend page header background to full width
...
This is needed to get rid of the negative margin sticky header background hack.
Since it looks weird on wikis with background imgae.
2024-10-17 04:10:32 -04:00
alistair3149
10a28ac476
feat(menu): ✨ add accesskey hint to menu items
2024-10-03 18:57:09 -04:00
alistair3149
138f7a9bd5
feat(search): ✨ add message to search footer
2024-09-26 17:58:53 -04:00
alistair3149
a213f1d6a0
feat(search): ✨ add keyboard hint to search card
2024-09-26 17:47:19 -04:00
alistair3149
28b117d990
feat(search): ✨ tweak search box to be more center for desktop
2024-09-26 14:55:49 -04:00
alistair3149
257673a588
feat(toc): ✨ allow ToC to be collapsible
...
Using the same implementation as Vector 2022
Closes : #556
2024-09-10 19:32:49 -04:00
alistair3149
8640d4ef30
feat(toc): ✨ switch to ToC implementation based on Vector 2022
...
This will serve as the groundwork of merging the intersection observers
and collapsible toc in the future.
2024-09-10 18:28:12 -04:00
alistair3149
b0817115ea
refactor(core): ♻️ clean up ToC classes
...
Clean up the CSS class name to follow the MW CSS coding conventions.
The structure is refactored to be similar to Vector for easier maintainenace.
2024-09-10 17:40:25 -04:00
alistair3149
f2ff92e1ac
feat(toc): ✨ drop checkbox hack usage in ToC in favor of dropdown ( #894 )
...
Now that ToC is also using the new dropdown system, we can remove all references to the old checkbox hack now.
Fixes : #855
2024-07-03 17:44:52 -04:00
alistair3149
516ef3a1cb
feat(dropdown): ✨ revamp dropdown menu handling
...
Putting the dropdown content in the details elemenet have been inconsistent.
Transition are not working correctly and different browsers are not handling it well.
Furthermore, the previous implementation does not allow an always visible state of dropdown content.
Fixes : #882
2024-07-03 16:07:19 -04:00
alistair3149
7ec0ae5b8e
refactor(stickyHeader): ♻️ create sticky sentinel in JS instead
...
It is only used for sticky header which requires JS, we should just create it in JS
2024-07-02 19:20:17 -04:00
alistair3149
c47531a28b
feat(wordmark): ✨ implement wordmark in drawer
...
Also simplify existing styles for wordmark
2024-06-24 14:05:21 -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
621adff9fc
fix(core): 🐛 incorrect classes and styles for page action cards
2024-05-28 02:12:50 -04:00
alistair3149
e95d3d39bd
perf(core): ⚡ ️ consolidate citizen-menu card shared styles
2024-05-27 22:47:46 -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
4c6ae1e74d
refactor(core): ♻️ wrap menu list in container
2024-05-09 14:38:07 -04:00
alistair3149
ce5532eb8c
refactor(core): ♻️ rename sidebar data to main menu
2024-05-08 16:47:46 -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
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
46a5089131
refactor(core): ♻️ fix drawer sitestats alignement
2024-05-03 17:10:44 -04:00
alistair3149
2c10335ae3
fix(toc): 🐛 incorrect layout when ToC title has multiple elements
2023-10-10 19:30:18 -04:00
alistair3149
81288a76c8
fix(core): 🐛 remove duplicated id for toc label
2023-08-04 17:36:16 -04:00
alistair3149
075875c574
fix(core): 🐛 missing space between logo attributes
2023-07-17 18:17:03 -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
沈澄心
dfe7167e97
feat(core): add title to logos ( #671 )
...
* Update skin.json
* Update Drawer__logo.mustache
* Update Header__logo.mustache
* Update skin.json
* Update Drawer__logo.mustache
* Update Header__logo.mustache
2023-06-22 13:48:56 -04: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
alistair3149
b8a1d9c224
refactor(search): ♻️ simplify typeahead styles
2023-03-01 15:27:43 -05:00
alistair3149
54c8717d45
refactor(core): ♻️ simplify menu header implementation
2023-02-22 14:47:32 -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
ee4a7eda4f
refactor(core): ♻️ rename mw-checkbox-hack class to citizen-menu-checkbox
2023-01-25 20:25:40 -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
7bfec28ef2
feat(core): ✨ add site logo to header
2022-12-03 12:39:33 -05: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
7cff9e678b
feat(core): ✨ migrate ToC icon to use RL icon module
2022-11-21 17:43:04 -05:00
alistair3149
2d014694a6
feat(core): ✨ migrate misc icons to use RIL icon module
2022-11-21 17:43:03 -05:00
alistair3149
dc77ae47bd
feat(core): ✨ migrate searchbox to use RL icon module
2022-11-21 17:43:00 -05:00
alistair3149
7eae7c6b14
feat(core): ✨ migrate sitestats to use RL icon module
2022-11-21 17:42:57 -05:00
alistair3149
a1ce408e43
feat(core): ✨ re-implement responsive toc
2022-11-21 17:42:05 -05:00