correction on surveys
- déc. 11, 2024
-
-
Brieuc Dubois a rédigé
# Conflicts: # frontend/src/routes/tests/[id]/+page.svelte
-
- déc. 10, 2024
-
-
Delphine van Rossum a rédigé
-
I think there were tiny changes that got lost with the merge.
The sample question didn't appear first, and a const
variable was defined twice in the same place.
There is still a bug, but it doesn't cause the app to malfunction. When it's the end of the survey, and we get to the special group there is two errors in the console. I think it's maybe due to the fact that with derived variable could get updated one time to much (I'm really not sure, e.g. let type = $derived(currentQuestion.question.split(':')[0]);
if currentQuestion isn't defined .question
won't work). I can keep looking at that tomorrow.
# Conflicts: # frontend/src/routes/tests/[id]/+page.svelte