-
Notifications
You must be signed in to change notification settings - Fork 3
Add confirmation modal when accessing a web questionnaire #262
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
base: feat/other-mode-notification
Are you sure you want to change the base?
Add confirmation modal when accessing a web questionnaire #262
Conversation
laurentC35
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some review, but i think we need a merge with main before
| ...surveyUnit, | ||
| priority: true, | ||
| }); | ||
| navigate(`/queen/survey-unit/${id}/synchronize`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It must be /queen/interrogations/${id}/synchronize
But i think, your started branch is outdated with main
| const handleOpenModal = () => { | ||
| const openQuestionnaire = () => { | ||
| if (!isWebQuestionnaire) { | ||
| navigate(`/queen/survey-unit/${id}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It must be /queen/interrogations/${id}
But i think, your started branch is outdated with main
d563104 to
34fd5ad
Compare
Add conditions to display the modal for the questionnaire and replace the useArticulationTable
Need InseeFr/Drama-Queen#392 to work
Fix #257
Fix #258