mediawiki-skins-MinervaNeue/resources
Jon Robson ded6430b47 Echo uses Button template
Changes
* Update FIXME in userMenu.less to merge selectors
* We replace minerva-user-notifications class with minerva-notifications
to short-circuit Echo's code so that it no longer replaces the Minerva
notification badge with its own.
* We update resources/skins.minerva.scripts/initMobile.js to introduce
our own wire up code - this is responsible for opening Echo overlay
and reseting the counter. The code in Echo will be removed in a follow
up (see <I2f923e509d24524a2375ffbe6b3ef336487574bb>)
* We update skinStyles/ext.echo.styles.badge.less with styles from Vector 2022
so that Minerva desktop remains consistent with desktop Vector 2022 experience.
* We clearly mark technical debt relating to the special mobile version.

Testing:
* Pixel.js has a group echo that covers all the different variants.
Make sure to update to latest main branch before running these.
* Desktop should behave the same for Minerva as Echo.
* On mobile only when a user has unseen notifications a red circle
is shown. Otherwise a bell icon is shown, never with number.
* On mobile a single button is visible that combines alert and count
numbers.
* With Echo disabled a bell shows that links to the user talk page

Visual changes:
* Previously the red circle became a transparent/gray circle on click. Now
it will always be red.
* Minor aligment changes to red circle and bell icon are expected as
the change prevents MobileFrontend/Echo updating the icon to use
Codex.

Bug: T342907
Change-Id: I55c18cf723a32f80b93a01dd0687e005162c4e93
2023-08-08 15:44:38 +00:00
..
mediawiki.less Import Codex tokens into mediawiki.skin.variables.less 2023-03-17 20:21:33 +00:00
skins.minerva.amc.styles styles: Replace 'mediawiki.ui/variables' call with skin variables 2023-04-24 16:08:27 +00:00
skins.minerva.base.styles Echo uses Button template 2023-08-08 15:44:38 +00:00
skins.minerva.content.styles.images icons: Remove unnecessary code from SVG files 2023-04-01 12:07:12 +00:00
skins.minerva.icons.page.issues.default.color build: Upgrade 'svgo' to latest and re-crush SVGs 2021-04-20 17:45:18 +00:00
skins.minerva.icons.page.issues.medium.color build: Upgrade 'svgo' to latest and re-crush SVGs 2021-04-20 17:45:18 +00:00
skins.minerva.icons.page.issues.uncolored icons: Remove unnecessary code from SVG files 2023-04-01 12:07:12 +00:00
skins.minerva.loggedin.styles Echo uses Button template 2023-08-08 15:44:38 +00:00
skins.minerva.mainMenu.styles Revert "styles: Apply Codex z-index tokens" 2023-05-26 15:29:03 +00:00
skins.minerva.mainPage.styles FIXME cleanup 2022-04-06 20:17:22 +00:00
skins.minerva.scripts Echo uses Button template 2023-08-08 15:44:38 +00:00
skins.minerva.userpage.styles build: Updating npm dependencies 2023-03-31 21:50:36 +02:00
.eslintrc.json Echo uses Button template 2023-08-08 15:44:38 +00:00
mobile.startup.stub.js