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.Fri, Apr 26, 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