From T192710: [Feedback] Personal observations about the page previews feature usability
- The "gear" icon on the preview panel links to https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering For me this is highly confusing
Proposal: treatment will be exactly same as it is for anonymous users.
However rather than saving to localStorage we will use the api to update the related user preference
developer notes
- we will need to pass the preferences key to the client. mw.user.options can be used for the rest
- we will need to deal with the asynchronous nature of the save. When hitting done what should happen? Should we show a spinner or should we just show a toast when the action has been completed? What if there is an error while saving?
Replication steps
- Login to page previews
- Hover over a preview
- Click settings cog
Expected: I can disable page previews within a modal without leaving the page
Actual: I am unexpectedly navigated to Special:Preferences to disable the settings, losing my context in the article.