After successfully calling api.php?action=options to add a favourite to user preferences, show a notification in the frontend that saving has been successful.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| FavouritesStore: Add notification on favourite change | mediawiki/extensions/TemplateData | master | +41 -9 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| In Progress | None | T367428 [EPIC] Favoriting Templates | |||
| In Progress | None | T377186 [STORY] New widget to search and favourite templates | |||
| Resolved | TheresNoTime | T377466 Show bubble notification after adding favourite |
Event Timeline
Comment Actions
Change #1124078 had a related patch set uploaded (by Samtar; author: Samtar):
[mediawiki/extensions/TemplateData@master] FavouritesStore: Add notification on favourite change
Comment Actions
Change #1124078 merged by jenkins-bot:
[mediawiki/extensions/TemplateData@master] FavouritesStore: Add notification on favourite change
Comment Actions
I have tested this on each skin on beta on VisualEditor and WikiEditor on Chromium. I raised T392562 for MonoBook.
I tested on Firefox on Vector 2022 in an RTL language on VE and WE.
Note that the OOUI notification does not have a11y attributes as mentioned in T381036#10748152.
Test environment: https://en.wikipedia.beta.wmflabs.org TemplateData 0.2.0 (8bb5fb2) 07:29, 22 April 2025.