Page MenuHomePhabricator

UI for user preferences
Closed, ResolvedPublic

Description

The user preferences are stored as JSON, which is not very accessible. We should add a UI for setting them to the player. Changes can then be written to the preferences page without the user even having to see it. How nice we make it is a matter of how much time we want to invest. A simple popup dialog using OOUI should not take too long.

The popup dialog should include a note that the page needs to be reloaded for the preferences to take effect.

Event Timeline

Already generated utterances will not be updated when preferences change. Utterances loaded after changing preferences will use the new preference.

Changing playback speed could be done to much work, since that's all in the browser. Changing voice would require reloading utterances and would need a bit more logic.

Change 692867 had a related patch set uploaded (by Sebastian Berlin (WMSE); author: Sebastian Berlin (WMSE)):

[mediawiki/extensions/Wikispeech@master] User preferences UI for consumer

https://gerrit.wikimedia.org/r/692867

Change 692898 had a related patch set uploaded (by Sebastian Berlin (WMSE); author: Sebastian Berlin (WMSE)):

[mediawiki/extensions/Wikispeech@master] Add a notice to the popup about preferences taking effect next page load

https://gerrit.wikimedia.org/r/692898

Change 692867 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] User preferences UI for consumer

https://gerrit.wikimedia.org/r/692867

Change 692898 merged by jenkins-bot:

[mediawiki/extensions/Wikispeech@master] Add a notice to the popup about preferences taking effect next page load

https://gerrit.wikimedia.org/r/692898