Skip to content
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

yupei/add live feedback history #7511

Conversation

syoopie
Copy link
Contributor

@syoopie syoopie commented Aug 27, 2024

Add displaying of live feedback history from the statistics page. This is a continuation of #7497

UI referenced from #7135

Now clicking on the cell in the statistics page for live help will being up the histories of live help.
Note that history will only be shown when comments exist.

image

bivanalhar and others added 23 commits August 1, 2024 18:18
- make the grade and attempt count box clickable

refactor(statistics): questionType -> type
- each grade and attempt count cell is clickable
- after clicking, the box containing question will appear
- fetch question and answer details in one API
- use Accordion for question to allow for collapsing question
- include grade display inside answer box
- include some minor refactoring in BE and FE of stats
- extend QuestionAnswerDetails to allow polymorphism
- reuse existing answer type def for defining its mini version
- Multiple Choice
- Multiple Response
- Text Response (with/without attachments)
- File Upload
- allowAttachment to be changed into maxAttachments nonzero
- fix rubocop trailing whitespace issue
- memoize BarChart to allow change when toggling between duplication
- refactor SubmissionStatusChart
- split pages for answerDisplay between attemptCount and marksPerQuestion
- create URL for past answers
- workflow state chip clickable to submission edit page
- className for using tailwind color for workflow state chip
- provide link to past answers and also submission edit page in answer box and past answer page
- Slider to show timeline of answers (from earliest to most recent one)
- add comment component into answer box and past answer
- differentiate between all passed, some passed and none passed
- give more information for how many test cases passed
- fix all indentation and formatting error in BE code
- test for API call question_answer_details
- and also all_answers
sm is also the MUI default, so other places using this component are not affected
individual live feedback histories need this information to be retrieved
@syoopie syoopie force-pushed the yupei/add-live-feedback-history branch from 2890644 to 6837a5b Compare August 28, 2024 09:11
@syoopie syoopie force-pushed the yupei/add-live-feedback-history branch from c9eb16e to f940b47 Compare August 28, 2024 09:53
@syoopie syoopie marked this pull request as ready for review August 28, 2024 10:12
@syoopie syoopie merged commit f940b47 into yupei/add-live-feedback-storage-and-statistics Aug 28, 2024
12 checks passed
@syoopie syoopie deleted the yupei/add-live-feedback-history branch August 28, 2024 10:16
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.

2 participants