Skip to content

feat(past-answers): merged existing past answers submission/statistics views #7890

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

adi-herwana-nus
Copy link

  • implemented combined view, can toggle between "timeline" (old statistics) and "sequence" (old submission) view
  • moved / reworked existing view files into submission directory
  • re-implemented answer history state reducers in typescript
  • migrated old statistics answer types to submission AnswerData types
  • tweaked /statistsics/answer/show API to maintain parity with other data type
  • tweaked submissions API to new history format, return questionNumber as number

This is the same feature as #7763, but the changes have been split into several commits.

@adi-herwana-nus adi-herwana-nus force-pushed the adi/past-answers-unification-rebased branch 2 times, most recently from f0d230b to 26551dc Compare April 21, 2025 09:07
adi-herwana-nus added 2 commits April 21, 2025 17:09
- courses/:id/assessments/:id/statistics/answers/:id -> courses/:id/assessments/:id/submissions/:id/answers/:id
- courses/:id/assessments/:id/submission_question/:id/past_answers -> courses/:id/assessments/:id/submissions/:id/questions/:id/all_answers
- courses/:id/assessments/:id/statistics/suubmissions/:id/questions/:id/all_answers -> courses/:id/assessments/:id/submissions/:id/questions/:id/all_answers
@adi-herwana-nus adi-herwana-nus force-pushed the adi/past-answers-unification-rebased branch from 26551dc to 5e4dd6a Compare April 21, 2025 09:09
adi-herwana-nus added 4 commits April 21, 2025 20:39
…e view

- move AnswerDetails and child components to submissions directory
- renamed AllAttemptsDisplay to AllAttemptsTimelineView
- reimplemented submission past answers as AllAttemptsSequenceView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant