Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concept of "first page requiring a response" #1026

Open
QRuhier opened this issue Jun 6, 2024 · 0 comments
Open

Concept of "first page requiring a response" #1026

QRuhier opened this issue Jun 6, 2024 · 0 comments
Labels
Type: Feature New feature

Comments

@QRuhier
Copy link
Contributor

QRuhier commented Jun 6, 2024

Use Case

InseeFr/Drama-Queen#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant