From 3679c3cb354c454bea988d623ae281b48004d9b6 Mon Sep 17 00:00:00 2001
From: Raphael Jess Bacordio
<91072520+raisondetre1207@users.noreply.github.com>
Date: Wed, 13 Mar 2024 18:41:20 +0800
Subject: [PATCH] Feat: Add quiz set name in quiz session; Move correct and
wrong indicators to front of answer; Add y overflow on leaderboard
---
.../IndividualParticipantAnswersReport.tsx | 6 +--
.../app/room/quiz/components/header.js | 37 +++++++++++--------
.../app/room/quiz/components/leaderboard.js | 2 +-
3 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/WebApp/frontend/quiz-master/app/reports/components/pdfReports/IndividualParticipantAnswersReport.tsx b/WebApp/frontend/quiz-master/app/reports/components/pdfReports/IndividualParticipantAnswersReport.tsx
index 448b0529..7be3bb1c 100644
--- a/WebApp/frontend/quiz-master/app/reports/components/pdfReports/IndividualParticipantAnswersReport.tsx
+++ b/WebApp/frontend/quiz-master/app/reports/components/pdfReports/IndividualParticipantAnswersReport.tsx
@@ -138,13 +138,13 @@ function ParticipantAnswersTableRow({
{ color: isParticipantCorrect ? "#17A14B" : "red" },
]}
>
- {`${participantAnswer.answer} ${
- isParticipantCorrect ? " ✅" : " ❌"
+ {`${isParticipantCorrect ? "✅ " : "❌ "} ${
+ participantAnswer.answer
}`}
) : (
+ {metadata?.currentSetName} +
+