by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Dan Gray
    @dancgray
    Not sure, I’m just finishing the last schema changes, may get a chance to look after
    Tom Taylor
    @taylortom
    Just trying to understand what's going on here (this isn't necessarily aimed at you @dancgray, but looks like you're the only one around :D)
    We're iterating through all of the plugin folders (components, extensions, menu, theme), concatenating any globals we have in the plugin folder to the course.json globals
    couple of questions:
    1. This seems to be built afresh with each build (i.e. as opposed to just checking for any new plugins since the last build, and adding those)
    2. The file is written to src (or sourcedir) after copyJson is run, so this isn't ever copied to build - I'm assuming this is wrong?
    Tom Taylor
    @taylortom
    1. Also wondering how this fits into the development process - is the idea that the globals is populated with the defaults automatically (and copied into src/course/*), then is amended by the developer as needs be?
    (pretend that was a 3)
    Chuck Lorenz
    @chucklorenz
    I’m looking for insight into quiz banks of Assessment. I’ll post here, but you can pull me into private chat or Skype call if it makes it easier/quicker to respond. Assessment has ‘_banks’ with three attributes: ‘_isEnabled’, ‘_split’, and ‘_randomisation’. What is the expected behavior when "_randomisation”: true? Does it pertain solely to the presentation order of the questions? or does it interact with ‘_split’ to ensure the questions selected are random? Thnx!
    Oliver Foster
    @oliverfoster
    @taylortom
    2: yea that is wrong, it should happen after copyjson and (the theme+menu json stuffs) on the build folder, not the source folder. the first half, reading the schemas and bower json will still need to be from src though
    1a: there isn't any part of the grunt process which selectively rebuilds (as far as i can see), so this is inline with the rest
    1b: globals should be populated by the schemas, then overridden by the user. the grunt process does this as you said, each time it runs. so if there is stuff in the course.json the user has populated it'll always override the defaults
    @chucklorenz
    the expected behaviour is that it selects all the blocks from each bank using the split. then jumbles them up
    _split selects random blocks first however they come out in order, so _split may pick b1-q4,b1-q7,b1-q9 b2-q3,b2-q4,b2-q7 then randomise jumbles so that you end up with b2-q4, b1-q9, b1-q4, b2-q3 etc
    Tom Taylor
    @taylortom
    Ok thanks, that makes sense :)
    so with regards to the excludes, what exactly is needed? is this for compatibility with the authoring tool (e.g. you can have a load of menus installed, but only build one)?
    Oliver Foster
    @oliverfoster
    i had assumed so, you'll need to get Brian to confirm, but it'll just be about excluding those directories from the schema + bower read
    Brian Quinn
    @brian-learningpool
    hi guys
    that's correct, Tom
    Oliver Foster
    @oliverfoster
    morning
    Brian Quinn
    @brian-learningpool
    right now the authoring tool passes through the name of the theme and menu that should be used to build the course
    other themes and menus will live in those folders too, but shouldn't be pulled in
    Dan Gray
    @dancgray
    Where is it getting the name from Brian?
    Tom Taylor
    @taylortom
    Ok cool, that's fine. Will sort that now, just wanted to be sure, so didn't start last night
    Brian Quinn
    @brian-learningpool
    in bower.json, for components there's a 'component' attribute, for extensions there's 'extension', etc.
    Dan Gray
    @dancgray
    Cool, thought that was the case (pun intended) :)
    Brian Quinn
    @brian-learningpool
    :)
    Oliver Foster
    @oliverfoster
    :facepalm:
    Tom Taylor
    @taylortom
    :skull:
    Chuck Lorenz
    @chucklorenz
    @oliverfoster thnx re: expected behavior
    Oliver Foster
    @oliverfoster
    s'alright chuck
    Chuck Lorenz
    @chucklorenz
    FYI: This is my list of plug-ins that will get an accessibility section in the README addressing aria labels (globals): accordion, box menu, gmcq, hot graphic, matching, mcq, narrative, page level progress, slider, text input. Resources technically doesn’t have any globals, but it has configurable aria labels in the schema, so it already has an accessibility section addressing this topic. 11 total when including resources.
    Tom Taylor
    @taylortom
    that looks good to me, but @oliverfoster or @dancgray may be better placed to confirm
    Dan Gray
    @dancgray
    @chucklorenz Media has an ariaLabel attribute
    Chuck Lorenz
    @chucklorenz
    ariaRegion? or something more specific. I don’t see it in the develop schema.
    Dan Gray
    @dancgray
    Sorry still waiting for the PR to merge.
    Chuck Lorenz
    @chucklorenz
    OK I’ll look in the PR. Thanks for the heads up!
    Dan Gray
    @dancgray
    adaptlearning/adapt-contrib-media#112
    Zheng Xu
    @samumist
    I've done a Chinese translation of the the globals in the course.json. Don't know if it is useful for the project/community?
    Tom Taylor
    @taylortom
    @samumist that could be really useful actually - be interesting to see what's needed for a 'language pack'
    Zheng Xu
    @samumist
    @taylortom That's great! would you please let me know how can I contribute?
    Tom Taylor
    @taylortom
    I think everything needed for localisation is in course.json?
    Obviously with the exception of the course content
    it'd be cool if we had a way to easily pull down the relevant settings in course.json for a particular language
    not sure if anyone else has any thoughts on this? guess it's not too much of a hassle to just replace the file tbh
    Zheng Xu
    @samumist
    yes, most of the localisation is done in the course.json.
    For myself, I have a course.json chinese localisation sublime snippet
    whenever I need to build a couse in Chinese, I just pull in that snippet.
    Chuck Lorenz
    @chucklorenz
    While your conversation is in the early stages (which is exciting to see), may I prompt you to keep in the back of your minds when it might be appropriate either to start a new room focused on language packs and/or to start a thread in the forum (seems there’s been increased talk about translations recently)?
    Tom Taylor
    @taylortom
    Good idea Chuck, I'll start a thread
    Are you on the forums @samumist ?
    Chuck Lorenz
    @chucklorenz
    I believe that Sam is in Beijing and it’s getting late there. So I’m going to jump in and confirm that I’ve interacted with Sam in the forums.
    Tom Taylor
    @taylortom
    :+1:
    Zheng Xu
    @samumist
    @chucklorenz Thanks
    @taylortom Yes, I'm on the forums and I've seen the thread you started on "language pack". I'll will respond to that post.