Adding Rubric content type to official H5P hub

Forums: 

A rather simple content type that allows creating reusable rubrics that allows user to select the levels ans provide evidence. The results are then being downloaded as a CSV file to a local machine and later on sent to the teacher that provided the rubtric in the first place. The teacher does not necessarily have to be the original creator of the content as it does not store that information and would be handled externally (by the respondent).

A couple of screenshots are attached (Drupal is using a non-default Bootstrap theme + a subtheme). Custom styling is kept at minimum and default h5p components and libraries as used where it made sense. The .h5p file could be found attached to the tagged releases on the GitHub. The package as created with h5p terminal utility.

The library requires a few extra JS libraries that are being incted into the header of the current page and loaded from CDN. If there is a better proposed solution, then that could be beneficial for the implementation. Creating standalone libraries for that seemed like the most organic solution, yet keeping those up to date would require an additional efferot and swapping the version numbers within the URLs seemed like an easier and quicker approach. That does load the libraries into the global (depends on the use case) scope as the content type uses the default 'div' mode and not a dedicated IFRAME. Though that should probably not be a big issue.

The code could be found here (both main library and editor component):

https://github.com/Oppevara/h5p-rubric

https://github.com/Oppevara/h5p-editor-rubric

BV52's picture

Hi pjotr.savitski,

Thank you for your contribution. I've created a task for review by the core team

-BV52

icc's picture

The review has been posted here: HFP-2757

Thank you. I've seen it, but was a bit occupied with other issues. I will try to go through it as soon as possible and make the necessary changes. That could still take some time and might even happen during christmas holidays.

BV52's picture

Hi pjotr.savitski,

Thank you in advance we truly appreciate it.

-BV52

I've changed the code and fixed any of the issues outlined in the review. The only possible exception is the WAI-ARIA part, but it does not seem to be a big issue at least for now. I hope there is still a way to get through the review process.