Page MenuHomePhabricator

Get task types and their difficulties from the tasktypes API instead of hardcoding them in JS
Closed, ResolvedPublic

Description

  • Ship this information with the RL module as a virtual JSON file. Include the difficulty level of each task type, and the messages to describe each task type.
  • Use this data when displaying the difficulty overlay.

Event Timeline

@Tgr says the ConfigurationLoader service returns this information

Change 547306 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Expose task type configuration to Javascript

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

Change 547306 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Expose task type configuration to Javascript

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

Tgr removed Tgr as the assignee of this task.Oct 31 2019, 6:38 PM
Tgr updated the task description. (Show Details)

Moving back to ready for development for the frontend part.

Change 547636 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/GrowthExperiments@master] SuggestedEdits: Use TaskType.json instead of hard-coding

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

Tgr added a subscriber: Etonkovidova.

@Etonkovidova The task does not involve user-visible changes so this is just a heads-up that the code behind the difficulty filter and explanation popup changed somewhat.

Change 547636 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] SuggestedEdits: Use TaskType.json instead of hard-coding

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

Etonkovidova claimed this task.

@Etonkovidova The task does not involve user-visible changes so this is just a heads-up that the code behind the difficulty filter and explanation popup changed somewhat.

Yes, I checked that nothing (for a user) is changed and Special:ApiSandbox (just in case).