...
- Add from Library
We will use the sunbird-collection-editor to search and add new questions to question sets from the existing library.
...
We will add an enableLibrary
attribute to the configuration
...
create a new add-from-library Angular library to add questions from library to question sets.
Scope:
- In release-4.3.0
We will invoke this library from the portal for an existing question set.
The question set and unit identifiers will be passed to the library, which will use the existing library and player components
On returning/saving, the library will emit the question identifiers that have been added
The portal will then make an update hierarchy call for the given section
Caveat: We will only add questions to the section that was passed to the library to begin with.
We will use the following components of the existing collection editor:
Library: We will need to enable the existing library components for objects of type
Question
Quml Player: We will need to support previewing QuML questions in the library component etc.
...
- In future releases, we will integrate this library with mvc-library
and sunbird-collection-editor
In the creation-portal, we will have to enable changes to invoke the sunbird-collection-editor
and handle events emitted by it.
...
Only for projects with target objects of type
QuestionSet
, we will implement opening thesunbid-collection-editor
new library on "Add from Library" being clicked - for the rest, the existingmvc-library
component will continue to be used.
...