Skip to content

added export to csv feature to all results pages#192

Merged
AarifLamat merged 31 commits into
mainfrom
issue-191-Export_functionality_on_all_results_pages
Jul 2, 2025
Merged

added export to csv feature to all results pages#192
AarifLamat merged 31 commits into
mainfrom
issue-191-Export_functionality_on_all_results_pages

Conversation

@AarifLamat

@AarifLamat AarifLamat commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

Change Summary

  • Added Export to CSV option on every results page,
  • moved results section out of the test management section
  • added Pages: question attempts, quiz attempts and teamlist
  • added a get_quiz_id action

Change Form

Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

  • there is currently a 'bug' where if a student has already attempted a question in a previous quiz (quiz A), their answers will be prefilled when answering it in another quiz (quiz B). When quiz B is marked, the questions the student answered in quiz A are not marked and it is not recorded that they make a 'question-attempt' for this quiz.

Related issue

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds CSV export functionality across various results pages and fixes a bug in the team member display.

  • Added CSV download functionality for teams, insights, and individuals.
  • Fixed a bug in the team member name fallback in the users/team page.
  • Renamed the component in the results index to reflect its actual purpose.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
client/src/pages/dashboard/users/team/[id].tsx Corrects the fallback for displaying the last name.
client/src/pages/dashboard/test/results/teams.tsx Introduces CSV export functionality for team results.
client/src/pages/dashboard/test/results/insights.tsx Introduces CSV export functionality for insights data.
client/src/pages/dashboard/test/results/individuals.tsx Introduces CSV export functionality for individual results.
client/src/pages/dashboard/test/results/index.tsx Updates component naming and routing for the results page.

Comment thread client/src/pages/dashboard/test/results/teams.tsx
Comment thread client/src/pages/dashboard/test/results/insights.tsx
…ssue-191-Export_functionality_on_all_results_pages
…uiz_question_id to the QuizSLot model to uniquely identify a question within a quiz
@AarifLamat AarifLamat merged commit 85aa3ad into main Jul 2, 2025
10 checks passed
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.

Export functionality on all results pages

2 participants