Giter Site home page Giter Site logo

h5p-mc's People

Contributors

fnoks avatar otacke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

daukantas otacke

h5p-mc's Issues

Status of MiniCourse

Hi @fnoks !

Some people wonder if the MiniCourse content type is still under development and I just take the liberty to ask as a proxy.

Would you mind posting a brief status update here?

  • What'd be left to do?
  • Will you continue working on it if you find some free time? Or has it maybe been abandoned? Interactive Book has quite some similar functionality although not all the options of MiniCourse.
  • Should someone in the community take over?

Replace detection of scorables?

if (scorables.indexOf(this.getMachineName()) !== -1) {

Could this be replaced by

if (typeof this.getInstance().getMaxScore === 'function' && this.getInstance().getMaxScore() > 0) {

??? If a maximum score larger than 0 can be achieved, an instance should be scorable, right? Or is there a reason for handling this using a hard coded list? There's no comment indicating why it might be used.

Having hard coded lists such as

const scorables = [
"H5P.ImageHotspotQuestion",
"H5P.Blanks",
"H5P.SingleChoiceSet",
"H5P.MultiChoice",
"H5P.TrueFalse",
"H5P.DragQuestion",
"H5P.Summary",
"H5P.DragText",
"H5P.MarkTheWords",
"H5P.MemoryGame",
"H5P.QuestionSet",
"H5P.InteractiveVideo",
"H5P.CoursePresentation",
"H5P.Flashcards"
];
causes trouble quite frequently.

Given the currently supported content types, there are only Fill in the Blanks and Column that would not get caught correctly:

  • Fill in the Blanks reports a maxScore of 0 before it is attached to the DOM, but there's already a fix pending for this problem.
  • Column is not inside that hardcoded list, although it reports the maxScore reliably (except for when it contains "Fill in the Blanks"), so I am not sure why it's excluded from the "scorables"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.