Page MenuHomePhabricator

UI - Question engine
Closed, ResolvedPublic

Description

As a Wikimedia logged in user, I would like quickSurvey to be able to determine which one is the next question that should be shown. This will take into account previous answers and dependence of the specific question

NOTE: The following are just some scenario that should be tackled. Please expand this list to include all the requirements that you may find during development.

AC:

  • If the next question has no dependence, it will be shown
  • If the next question has dependence, the engine will clarify if dependence is met.
  • If dependence is not met, the engine will do the same check on the next question
  • If dependence is met, the engine will show the question
  • The engine will also be able to work backward (when the user clicks the back button). By allowing an user to see the correct question when navigating backward

Event Timeline

Mimurawil changed the task status from Open to In Progress.Apr 26 2024, 5:17 PM

Change #1026196 had a related patch set uploaded (by Mimurawil; author: Mimurawil):

[mediawiki/extensions/QuickSurveys@master] T362972: Add question engine logic

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

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/42ce80c18c/w

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/a44d09140e/w

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/42ce80c18c/w/

Change #1037233 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/QuickSurveys@community-safety] Improve capability of QuickSurvey

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

Change #1037233 merged by jenkins-bot:

[mediawiki/extensions/QuickSurveys@community-safety] Improve capability of QuickSurvey

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

Change #1026196 abandoned by Simone Cuomo:

[mediawiki/extensions/QuickSurveys@master] T362972: Add question engine logic

Reason:

The work for this branch and ticket has been completed in a feature branch "https://gerrit.wikimedia.org/r/c/mediawiki/extensions/QuickSurveys/+/1037233"

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

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/a44d09140e/w/

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/1f5a200338/w

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/1f5a200338/w/

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/e606e11883/w

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/0d85df7998/w

Test wiki on Patch demo by Amdrel using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/80286dd93e/w/

Test wiki on Patch demo by Amdrel using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/7ed125994c/w/

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/0d85df7998/w/