Skip to content

Feat: quiz type jigsaw#2385

Draft
saadman30 wants to merge 4 commits into4.0.0-devfrom
feat/quiz-type-jigsaw
Draft

Feat: quiz type jigsaw#2385
saadman30 wants to merge 4 commits into4.0.0-devfrom
feat/quiz-type-jigsaw

Conversation

@saadman30
Copy link
Collaborator

No description provided.

- Updated the quiz JavaScript to include 'jigsaw' as a supported question type with answer reveal mode.
- Enhanced the Question component to recognize and display the jigsaw question type.
- Introduced a new Jigsaw component for handling jigsaw-specific question logic and rendering.
- Updated the QuestionForm to include jigsaw as a selectable question type.
- Added necessary validation and configuration options for jigsaw questions in the form.
- Updated Quiz class to allow grading of jigsaw questions.
- Enhanced Utils class to include jigsaw in the quiz type options.
- Refactored the onChange handler to utilize a calculated status for quiz data updates.
- Removed the rotation configuration options from the FormJigsaw component to streamline the interface.
- Added a flag to indicate that the option is saved after an image upload.
@saadman30 saadman30 self-assigned this Feb 24, 2026
@saadman30 saadman30 added the 4.0.0 Tutor v4.w0w label Feb 24, 2026
- Adjusted spacing in the `Quiz` class for better readability in the custom answer data filter application.
- Updated the condition in `attempt-details.php` to use strict comparison for question types, enhancing code reliability.
- Eliminated the jigsaw answer data filter from the `Quiz` class to streamline the grading process for custom question types.
- This change enhances the overall clarity and efficiency of the answer processing logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.0 Tutor v4.w0w

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant