You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time the frontend page is reloaded, questionnaire starts again from the first question, even if the questionnaire is compiled up to (for example) the third question.
Proposal
Frontend page should make a GET /questionnaire (full questionnaire compiled so far) to understand which is the current step.
The text was updated successfully, but these errors were encountered:
The issue causing the questionnaire to reset on each page reload is due to the fact that the GET /questionnaire request has not been implemented yet. Currently, we're using Zustand to manage a mock state, as the backend is still a work in progress. Once the backend is fully functional, the GET request can be implemented to retrieve the questionnaire data and determine the current step. I recommend not proceeding with this implementation until the backend is stable to avoid any synchronization issues. @Mala1180
Problem
Every time the frontend page is reloaded, questionnaire starts again from the first question, even if the questionnaire is compiled up to (for example) the third question.
Proposal
Frontend page should make a
GET /questionnaire
(full questionnaire compiled so far) to understand which is the current step.The text was updated successfully, but these errors were encountered: