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

Show Answer Details in Assessment Statistics Page (Part 3: Past Answers View) #7135

Open
wants to merge 7 commits into
base: bivan/teacher-stats-past-answer-2
Choose a base branch
from

Conversation

bivanalhar
Copy link
Contributor

Background

This is the continuation of the previous PR #7131 that completes the whole component of this Teacher Statistics by having past attempts also displayed in the answer box, should the user navigate to see the answer box from Attempt Count table in Assessment Statistics.

Other than that, the Comment component is also added on all the Answer Box, to give user the holistic view on the answer and how the interaction between graders and students occur regarding that mentioned answer.

This PR is related with the issue #4567

Features Added

When navigating to Answer box from Attempt Count Table, user will see the following:
Screenshot 2024-02-25 at 5 58 06 PM

The slider represents the timeline of the student's attempt. For the answer box, we limit the number of past answers that can be viewed up to 10, and there shall be a link provided on the bottom of this Answer Box to allow user to see all the past answers, which will be provided on the new Page..
Screenshot 2024-02-25 at 5 59 51 PM

Screenshot 2024-02-25 at 6 00 45 PM

Other than that, on top of both the answer box and also past answers view, we also have the link that provides user access to the Submission Edit Page. If the page is tabbed, user will be directed to the exact question it appears, otherwise user will just be directed to its Submission Page (the whole questions in one page)

- 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
@bivanalhar bivanalhar force-pushed the bivan/teacher-stats-past-answer-3 branch from 7450188 to fe946a0 Compare March 14, 2024 03:51
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.

None yet

1 participant