Coder Social home page Coder Social logo

deltanet / adapt-articleblockslider Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cgkineo/adapt-articleblockslider

0.0 0.0 0.0 706 KB

A simple left and right slider for an article's blocks

License: GNU General Public License v3.0

JavaScript 71.06% Less 15.78% Handlebars 13.15%

adapt-articleblockslider's People

Contributors

chris-steele avatar dancgray avatar deltanetdan avatar gorhgorh avatar guywillis avatar kirsty-hames avatar moloko avatar oliverfoster avatar robertpeek avatar tomgreenfield avatar

Watchers

 avatar  avatar  avatar

adapt-articleblockslider's Issues

Content is hidden on some mobile devices

Reproduced on the following:

  1. Samsung S7 edge (android 7.0) on latest chrome.
    The issue is consistent on S7 edge. Moving from portrait to landscape renders the hidden blocks.

  2. Chrome dev tools (Galaxy S5) block slider blocks remain hidden.
    This seems to be sporadic, i.e. in chrome dev tools refreshing the page does not always reproduce the issue.

jquery.resize.js not found when using framework v4.4.0 or above

This is because in the framework jquery.resize.js has moved from src/core/js/libraries to src/core/libraries

Getting the following error when trying to build or preview a course with block slider on AT using FW v4.4.0 or above.

Fatal error: Error: ENOENT: no such file or directory, open '/source/adapt/adapt_authoring/temp/5dc1a0eb4e16e44a9c1acca3/adapt_framework/src/core/js/libraries/jquery.resize.js' In module tree: core/js/app extensions/adapt-articleBlockSlider/js/articleBlockSlider extensions/adapt-articleBlockSlider/js/adapt-articleExtension

Make the layout customisable

Currently the layout types are customisable in the theme, it would be better to be able to select these in the JSON and eventually in the authoring tool.

Progress Location cannot be changed

The progress location selector (_progressLocation) can be changed selecting top of bottom. The progress icons always appear at the bottom regardless of selection.

CSS seems to be missing for the .is-top and is-bottom classes.

FW v5
Deltanet Block slider fork v4.0.3

Trickle continue button is hidden

On completing a block slider article that has trickle the continue button remains hidden. See topic 1 of First Aid for Non-First Aiders.

It appears that block slider article view is hiding the trickle button as the trickle button gets added as a child of the article model here, trickle button view appears as a component.

_blockSliderSetVisible gets run for the trickle button here

Worth noting that the article containing the block slider remains incomplete, at least 'is_complete' is not added to the article CSS.

Block slider version 4.0.1
Trickle version 5.2.3
Framework version 5.17.6

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.