Page MenuHomePhabricator

110: Store user preferences as a global preference
Closed, DeclinedPublic

Description

Following up to investigation in T238299, save GW settings as GlobalPreference.

Acceptance criteria

  • Modify the script so it GlobalPreference API to store the preferences.
  • Make changes to the script so it queries the API to retrieve the preferences.
  • Soft-deprecate the current system to save settings (global.js) so it's existing uses don't break. This can be removed completely after all people migrate to the new system.
  • Clicking the "Save" button on the Settings page should remove the deprecated config code automatically from global.js and would store the preferences new way (as GlobalPreferences)
  • Notify the users of this script about this change via the newsletter.

Event Timeline

@IKhitron Danny haven't had enough time to work on it. So feel free to claim this task if you want to work on it. 😀 There indeed seems to be a need for deprecating the current way of saving GW preferences.

@IKhitron Danny haven't had enough time to work on it. So feel free to claim this task if you want to work on it. 😀 There indeed seems to be a need for deprecating the current way of saving GW preferences.

Thanks, but unfortunately I do not have enough knowledge to do this. This is why I've used the JSON format.

DannyS712 renamed this task from Store user preferences as a global preference to 110: Store user preferences as a global preference.Feb 15 2020, 8:21 AM

[batch] My grant to create a global watchlist extension has been approved, and I will no longer be working on the user script. Please file any new bug reports and feature requests with the extension rather than here.