Skip to content

v3.1.0

Choose a tag to compare

@alistair3149 alistair3149 released this 27 Apr 23:24
4c74f7a

3.1.0 (2025-04-27)

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.registerCommand hook 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--fluid class 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 command (0e6fe57)
  • 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-weight (8ebbf53)
  • 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-image for references (75f2618)
  • README: ๐Ÿ› fix incorrect command palette configuration name (0247962)
  • VisualEditor: ๐Ÿ› fix toolbar z-index (5bbf2d8)

Performance Improvements

  • CommandPalette: cache special page API request (9337142)

Miscellaneous Chores

  • commandPalette: ๐Ÿ”ง add dummy ResourceLoader and Codex icon configurations for development (7de5671)
  • package: ๐Ÿ”ง sync Vue and Pinia version with MW 1.43 (394c9e1)