Skip to content

Bulk import for question and question sets#2729

Closed
snehal0904 wants to merge 13 commits intotekdi:feat-attendance-revampfrom
snehal0904:fix/maxscore-sum
Closed

Bulk import for question and question sets#2729
snehal0904 wants to merge 13 commits intotekdi:feat-attendance-revampfrom
snehal0904:fix/maxscore-sum

Conversation

@snehal0904
Copy link
Copy Markdown
Collaborator

No description provided.

APPLE and others added 13 commits February 12, 2026 15:02
Add a complete bulk import flow for creating question sets from CSV files.
Includes CSV validation, section/question hierarchy creation, and auto-submit for review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: add bulk import QuestionSet functionality to workspace MFE
Add a complete bulk import flow for creating question sets from CSV files.
Includes CSV validation, section/question hierarchy creation, and auto-submit for review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…player-lib

Create libs/player-lib NX library (following shared-lib-v2 pattern) that wraps
the new sunbird-h5p-player Web Component in a React component. The library
exports H5pPlayer which handles telemetry, EXIT events, and H5P asset paths.

Update mfes/players/Players.tsx to route H5P, HTML archive, and YouTube content
to H5pPlayer from @player-lib instead of the legacy iframe-based V1Player.

Copy H5P runtime libraries and standalone assets to mfes/players/public/ so they
are served at the correct /sbplayer/* paths in the Next.js MFE.

Other players (PDF, Video, EPUB, QuML) are unchanged. Future players can be
added to libs/player-lib and imported via @player-lib.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3 Security Hotspots
D Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

});

// Listen for navigation commands from the outer player wrapper
window.addEventListener('message', function (event) {

Check failure

Code scanning / SonarCloud

Origins should be verified during cross-origin communications High library

Verify the origin of the received message. See more on SonarQube Cloud
}, 500);

// Listen for navigation commands from the outer player wrapper
window.addEventListener('message', function (event) {

Check failure

Code scanning / SonarCloud

Origins should be verified during cross-origin communications High library

Verify the origin of the received message. See more on SonarQube Cloud
// Use window.top to reliably reach the outermost page,
// since h5p-standalone nests this in an intermediate iframe.
var target = window.top || window.parent;
target.postMessage({

Check failure

Code scanning / SonarCloud

Origins should be verified during cross-origin communications High library

Specify a target origin for this message. See more on SonarQube Cloud
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.

3 participants