aboutsummaryrefslogtreecommitdiff
path: root/src/pages/Questions.tsx
AgeCommit message (Collapse)AuthorFilesLines
2025-06-07Passing in onClick for FullProfileQuestion so that Profile Question and ↵Max Nanis1-30/+37
SoftPair are different. Using API models to POST to Softpair submission (with offerwall_id saved). Updating from Conditional to Ineligible buckets. Availability Count to app state. Using / exploring sidebar to show filtered questions for specific Bucket.
2025-06-06Question.active state (clear naming on getInitialQuestion and ↵Max Nanis1-37/+84
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-32/+69
useState). Various UX/CSS checks for Pagination state.
2025-06-04Saving answers to server. Updating views based on reducer states (pagination ↵Max Nanis1-44/+118
disable after question is answered).
2025-06-03Cleaning up the Questions page, re-use Card components, showing live Task ↵Max Nanis1-63/+77
counts.
2025-06-03selectQuestionById, useMemo selector (MultiChoice.choices makes a lot of ↵Max Nanis1-77/+77
lookup). Setting up the Questions view to do Pagination to tab through available questions and view one at a time
2025-06-02Updated openapi generator to use the latest version (camelCase to underscore ↵Max Nanis1-39/+83
- which respects API models). Updating views to use the new swagger definitions. AnswerSlice as a datastore alongside Questions TS interface
2025-05-28initial commitMax Nanis1-0/+105