Skip to content

v1.1.0

Compare
Choose a tag to compare
@darylhedley darylhedley released this 28 May 13:05
· 2787 commits to master since this release

Added

  • Drawer: a slide out panel for plugins like resources and pageLevelProgress to place their data.
  • Notify: a core notification system that allows plugins to display four types of notifications (popups, prompts, alerts and push).
  • PopupManager: a simple manager that tracks the user’s scroll position when a popup is triggered.
  • Handlebars partials templates have been added for buttons and components.
  • Menu progress bars.
  • New components!
    • Slider
    • Confidence slider
    • Linked confidence slider
  • New extensions!
    • Resources
    • Page-level progress

Changed

  • Updated all question components with the following:
    • Every core bundled question component now triggers a visual validation when a user interacts in the wrong way.
    • Feedback object in the JSON has been cleared up.
    • Triggers feedback event based upon lockedAttribute _canShowFeedback being true.
    • QuestionView now triggers an event even if _canShowFeedback is false.
    • QuestionModel now has _isQuestionType:true attached to the model to determine if the component is a question type.
  • JSON notation standardised:
    • All JSON data now ‘_’ notation
    • Added instruction text and display title attributes.
  • Navigation icons/buttons have been updated to work on smaller devices by increasing the hit area.
  • The global Adapt object has been updated:
    • Adapt.device has been updated.
    • Adapt.location has been updated.
    • Adapt.scrollTo enables the page to scroll to an element.
    • Adapt.navigateToElement enables Adapt to route and then scroll to an element.
    • lockedAttributes are used to mediate between plugins setting attributes on models.
    • AdaptModel.getSiblings() now allows a boolean argument to pass back the model who called this method.
  • Router has been rewritten:
    • Now allows plugins to use the core router without having to create their own.
    • The ‘back’ button now works similar to the browser back
      button.
  • Performance enhancements:
    • Added velocity.js for animations.
    • Cleaned up model methods.
  • Media component now has multiple completion criteria.
  • Added component LESS classes to allow for better customisation.
  • Tutor updates:
    • Now sits across the middle of the page ­ this is now easier to close.
    • Triggers popup manager and resizes based upon device
      width and height.
  • The vanilla theme now includes an extended list of variables.
  • Functional LESS has been moved from the theme into core.