Skip to content

fix(quizzes): wire up review mode in QuizContainer - #1095

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
muhahahmad68:fix/quiz-container-review-mode-1038
Jul 30, 2026
Merged

fix(quizzes): wire up review mode in QuizContainer#1095
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
muhahahmad68:fix/quiz-container-review-mode-1038

Conversation

@muhahahmad68

Copy link
Copy Markdown

Description

'Review Answers' called setCurrentQuestionIndex(0) but never actions.enterReviewMode(), so isCompleted stayed true and the QuestionCard/QuizNavigation block (gated on !isCompleted per #1038) stayed hidden - review mode was unreachable despite every question-type component already having isReviewMode-aware rendering.

  • handleReviewAnswers now calls actions.enterReviewMode()
  • QuizCompletionCard hides while isReviewMode is true
  • QuestionCard/QuizNavigation render when !isCompleted OR isReviewMode

Related Issue

Closes #1038

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • Uses Lucide icons consistently
  • Responsive design implemented
  • Starknet best practices followed

'Review Answers' called setCurrentQuestionIndex(0) but never
actions.enterReviewMode(), so isCompleted stayed true and the
QuestionCard/QuizNavigation block (gated on !isCompleted per #1038)
stayed hidden - review mode was unreachable despite every
question-type component already having isReviewMode-aware rendering.

- handleReviewAnswers now calls actions.enterReviewMode()
- QuizCompletionCard hides while isReviewMode is true
- QuestionCard/QuizNavigation render when !isCompleted OR isReviewMode
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@muhahahmad68 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER

Copy link
Copy Markdown
Contributor

Thank you for contributing to the project.

@RUKAYAT-CODER
RUKAYAT-CODER merged commit 322667a into rinafcode:main Jul 30, 2026
6 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.

Hide QuestionCard and navigation after quiz completion in QuizContainer

3 participants