Giter Site home page Giter Site logo

adapt-authoring-jsonschema's People

Contributors

dependabot[bot] avatar joe-allen-89 avatar taylortom avatar tomgreenfield avatar

Watchers

 avatar  avatar

adapt-authoring-jsonschema's Issues

overwriteProperties in JsonSchema.js patch function

What happened?

After discussing we've changed overwriteProperties to true to allow schemas to override blank default values. Further investigation needed into why overwriteProperties was introduced and _.defaultsDeep was being used rather than _.merge.

Expected behaviour

No response

Steps to reproduce

n/a

Authoring tool version

n/a

Framework version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Defaults not pulling through correctly

What happened?

When creating a new component the default instruction text is not showing, however on the hotgraphic/narrative the mobile instruction default is showing. Seems to be a schema issue.

The help icon and text is also missing from the instruction input.

Steps to reproduce

  • Create a course
  • Add a new component (hotgraphic/narrative)
  • Check defaults are being pulled through

If-Then-Else conditions

What happened?

The If-Then conditions for https://github.com/adaptlearning/adapt-contrib-scoringAssessment/blob/issue/8/schema/article.schema.json#L209-L225 prevent the plugin from being enabled. The schema is correctly validated in the tool, i.e. an error is raised if the plugin is enabled and the _id is empty. However, the _isEnabled property is never saved and the plugin remains disabled.

Expected behaviour

No response

Steps to reproduce

Authoring tool version

https://staging.kineoadapt.com

Framework version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

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.