Problem Statement:
Currently, an Assessment is created as a two-step process and most of the activities are done in the back end. Content is created with type as "Resource" which is reviewed and published and later the content type is changed to "Self-Assess” and made available to the user. Instead, the whole creation and publishing process should happen from the portal
Solution 1:
Handling on editor side(adding summary slide into content)
Whenever the content editor will create content as self-assessment content, we will extend the ECML with a new stage block which contains the summary plugin.
If content editor edits the same content we will hide the stage from the content editor and after saving we will add the stage again.
Pros:
This will take less development time and no other changes in the existing flow.
Cons:
For new content types we are adding forcefully adding new stage programmatically, what if some other content types introduce in the future.
Solution 2:
Handling on consumption side as a end-page plugin(mergeing summary plugin & endpage)
we can club the summary and end page plugin which will behave as an assessment end page plugin. Based on the config received by the player we will switch the end page.
Pros:
We do not need to change content editor code for a new content type, just a plugin change will suffice this requirement.
Cons:
We will be handling two endpage plugins based on the different type of content type [ not a cons though ]