Skip to content

Chore: make preview new quiz interactive#2690

Draft
saadman30 wants to merge 5 commits into
4.0.0-devfrom
chore/make-preview-new-quiz-interactive
Draft

Chore: make preview new quiz interactive#2690
saadman30 wants to merge 5 commits into
4.0.0-devfrom
chore/make-preview-new-quiz-interactive

Conversation

@saadman30
Copy link
Copy Markdown
Collaborator

No description provided.

saadman30 added 2 commits May 11, 2026 15:10
…ading for draw, pin, and coordinates image questions. Add clear button functionality and optimize component structure for better performance.
@saadman30 saadman30 self-assigned this May 11, 2026
@saadman30 saadman30 added the 4.0.0 Tutor v4.w0w label May 11, 2026
@saadman30 saadman30 marked this pull request as ready for review May 12, 2026 10:03
@saadman30 saadman30 requested a review from b-l-i-n-d May 12, 2026 10:06
@saadman30 saadman30 marked this pull request as draft May 14, 2026 06:08
const iframeWin = iframeDocument.defaultView;
const tutorPreviewWin = iframeWin as (Window & { _tutorCoordinatesRedrawAll?: () => void }) | null;
let coordinatesRedrawTimeout: number | undefined;
if (tutorPreviewWin && typeof tutorPreviewWin._tutorCoordinatesRedrawAll === 'function') {
Copy link
Copy Markdown
Collaborator

@b-l-i-n-d b-l-i-n-d May 19, 2026

Choose a reason for hiding this comment

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

It seems this condition is only bound to the coordinate question type. Why not move this logic inside that component?

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.

2 participants