aboutsummaryrefslogtreecommitdiff
path: root/src/models/answerSlice.ts
AgeCommit message (Collapse)AuthorFilesLines
2025-06-06Question.active state (clear naming on getInitialQuestion and ↵Max Nanis1-15/+6
getNextQuestion). Explicit use of return null as an option for answerSlice. Saving motion. Questions rolling window. Question count badge to sidebar.
2025-06-06Lots of reducer work to organize active Question in redux state (rather than ↵Max Nanis1-11/+37
useState). Various UX/CSS checks for Pagination state.
2025-06-04Saving answers to server. Updating views based on reducer states (pagination ↵Max Nanis1-78/+40
disable after question is answered).
2025-06-03selectQuestionById, useMemo selector (MultiChoice.choices makes a lot of ↵Max Nanis1-36/+50
lookup). Setting up the Questions view to do Pagination to tab through available questions and view one at a time
2025-06-03AnswerSlice to do Validation and use Reducer with lookup table.Max Nanis1-165/+128
2025-06-02Updated openapi generator to use the latest version (camelCase to underscore ↵Max Nanis1-0/+241
- which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface