Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

- 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

  1. We will invoke this library from the portal for an existing question set.

  2. The question set and unit identifiers will be passed to the library, which will use the existing library and player components

  3. On returning/saving, the library will emit the question identifiers that have been added

  4. The portal will then make an update hierarchy call for the given section

  5. Caveat: We will only add questions to the section that was passed to the library to begin with.

  6. 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.

...

  1. Only for projects with target objects of type QuestionSet, we will implement opening the sunbid-collection-editor new library on "Add from Library" being clicked - for the rest, the existing mvc-library component will continue to be used.

...