3.1.0
Highlights
๐ HEYA! Changelog is tough to read, so we're trying something new for all future releases. Here's a summary of what's new:
Command Palette: Your New Superpower! ๐ฎ
- Experimental feature alert! Toggle it on with
$wgCitizenEnableCommandPalette = true - Soonโข to be your search module's cool replacement
- Learn all the commands with
/without going to Hogwarts - Add your own magic commands via
skins.citizen.commandPalette.registerCommandhook in JS - Zip through namespaces with
:or/ns:shortcuts - Summon actions with
>to quickly access special pages and menu items - Discovers related articles automatically when RelatedArticle is installed
- Template hunting made easy with
{{search prefix
Wikitables Gone Wild! ๐
- Make tables stretch their legs with the new
wikitable--fluidclass for full-width glory
Navigation That Knows Its Place ๐ฑ
- Safe area handling keeps navigation from playing hide-and-seek under iOS home buttons
Dark Mode Glow-Up ๐
- Enhanced contrast for those late-night wiki sessions
Alert Dots: Now in Attention-Grabbing Red! ๐จ
- Echo alerts stand out with stylish red notification dots
Label Text: Easy on the Eyes ๐๏ธ
- Refined label text styles for a more pleasant reading experience
Changelog
๐ง If you are an exquisite enjoyer of detail, you can read the full changelog below:
Features
- commandPalette: โจ add action command (#1049)
a5360c3 - commandPalette: โจ add ctrl/cmd+k binding
49961f5 - commandPalette: โจ add edit action to page results
85a48c1 - commandPalette: โจ add fulltext search as a result
86375c0 - commandPalette: โจ add keyboard hints
b482d27 - commandPalette: โจ add loading state to command palette search results (#1033)
2389466 - commandPalette: โจ add namespace command and various refactor (#1043)
4de089d - commandPalette: โจ add recent search
19ea550 - commandPalette: โจ add redirect title to search results (#1032)
4b29b4c - commandPalette: โจ add RelatedArticles to presults if supported (#1048)
cbfb03f - commandPalette: โจ add tab key functionality to close input
8eccfeb - commandPalette: โจ allow
:the namespace command0e6fe57 - CommandPalette: โจ allow command to be extensible through mw.hook (#1050)
8b2ef4c - commandPalette: โจ allow recent items to be removed
08425a6 - commandPalette: โจ handle wikilink and template syntax in query
a1a38af - commandPalette: โจ improve enter key logic
4adb6c6 - commandPalette: โจ improve no results empty state
19f7d86 - commandPalette: โจ increase max-height for results container
b49c5ba - commandPalette: โจ initial implementation of Command Palette
55cb33b - commandPalette: โจ make command search case-insensitive
34d9483 - commandPalette: โจ set up foundation for result type
b1cc5d7 - commandPalette: โจ show command as metadata in result
4c1063d - commandPalette: โจ show keyhints conditionally
32b46a0 - commandPalette: โจ tweak various styles
79c4ee7 - commandPalette: โจ use Pinia for state management
56a9e91 - commandPalette: โจ use prefix search for command list
10d3dfb - composer: ๐ allow Composer v2 for installation
2960a7d - core: โจ add padding for device safe area
9db68fb - core: โจ apply font grade to light mode instead of dark mode
ab3853a - core: โจ drop view transitions
17e76eb - core: โจ reduce spacing between paragraph element and other elements that have top margin
6339841 - core: โจ reduce subtle background color brightness
12ce5e4 - core: โจ use darker surface colors
c6ec6d8 - dropdown: โจ use <kbd> tag for keyboard hint
4128bd4 - Echo: โจ use red dot for alert badge
216bdff, closes #1027 - typography: โจ tweak label text font styles
d753c03 - wikitable: โจ add wikitable--fluid utitlity class for full width tables
ff64f43
Bug Fixes
- commandPalatte: ๐ fix incorrect list item header color
53e0c55 - commandPalette: ๐ add missing components
892ca23 - commandPalette: ๐ allow icon prop to accept both String and Object types
5e18f04 - commandPalette: ๐ fix conflict with OOUI overlay
be51f79 - CommandPalette: ๐ fix incorrect URL for related articles
cf8fe3c - commandPalette: ๐ fix misaligned progress bar
d474817 - commandPalette: ๐ fix missing aria-label for edit action
5711804 - commandPalette: ๐ fix missing message for namespace command
a09470e - CommandPalette: ๐ make selectResult function asynchronous for improved handling
b3d9d78 - commandPalette: ๐ persist results before fetching new results
957d042 - commandPalette: ๐ prevent saving empty search queries to history
51371a3 - commandPalette: ๐ remove reference to non-existing file
b1b854d - commandPalette: ๐ save the entire result item in recent items
cede0bb - CommandPalette: ๐ use page.description if available for RelatedArticle
afef5ce - CommandPaletteListItem: ๐ add aria-selected to selected result
21bf426 - CommentStreams: ๐ fix broken
font-weight8ebbf53 - core: ๐ fix padding for device safe area
c52085d - core: ๐ use a more sane viewport meta tag
db64579 - DiscussionTools: ๐ remove additional space in title
19a1f71 - FloatingUI: ๐ update box-shadow variable
fab3d98 - header: ๐ prevent header wrapping
af49110 - Popups: ๐ fix broken
background-imagefor references75f2618 - README: ๐ fix incorrect command palette configuration name
0247962 - VisualEditor: ๐ fix toolbar
z-index5bbf2d8
Performance Improvements
- CommandPalette: cache special page API request
9337142