Lunatic
Lunatic copied to clipboard
Concept of "first page requiring a response"
Use Case
https://github.com/InseeFr/Drama-Queen/issues/129
Feature description
"first page requiring a response" :
- page requiring a response => in the sense of hasPageResponse() = false
- if possible, this page must be after the current page : if we clean a previous page, we avoid to redirect back in the questionnaire
- this case should appear only with bad questionnaire conception, could we assume not to handle it ?
- if there is no page requiring response, its default value would be lastReachedPage
Navigation to "first page requiring a response" : We would need to navigate to this page : it must be recalculated with cleanings
Overview : Currently we know if it an overview item has been reached (comparison between its page and lastReachedPage) We would need to know if the item page is before the "first page requiring a response" => warning : this is used for navigating to a sequence/subsequence, so it would force to recalculate the "first page requiring a response" continuously so that while modifying a response on a page the overview is updated