Giter Club home page Giter Club logo

adapt-authoring-content's People

Contributors

chris-steele avatar joe-allen-89 avatar taylortom avatar

Watchers

 avatar  avatar  avatar

adapt-authoring-content's Issues

_sortOrder incorrect on course copy

What happened?

Content items appear out of order (this likely affects all content copy, not just course).

Expected behaviour

Content objects should retain _sortOrder from original content.

Steps to reproduce

Copy a course with multiple pages. Observe the incorrect order in the menu structure page.

Authoring tool version

v1

Component _globals schema needs checking

In some cases we're missing the correct nesting in the _globals.

e.g. hot graphic is nested as _globals._hotgraphic, but the FW code expects _globals._components._hotgraphic.

We've agreed to try and match the schema to the FW data as closely as possible, and avoid having the server move things around.

Unable to preview on copied courses

Reported by Kineo QA

What happened?

If I copied/cloned another course and I try to preview it, then it gets stuck on the loading screen, even after I've changed the Friendly ID on the project settings page.

To 'fix' this, I must delete everything within the newest copy's menu and rebuild from scratch.

Steps to reproduce

The bug appears when you've copied a previously copied course that had been edited, i.e. steps to replicate:

  1. Create a new course from scratch
  2. Make a copy of that course and add one new element anywhere
  3. Make another copy of the 1st copy with the new element
  4. When you preview the newest copy then the course gets stuck on the loading bars

Authoring tool version

rc.3

Need to optimise recursive content deletes

These currently just call AbstractApiModule#delete multiple times, which in turn adds extra unnecessary DB calls (we do a fetch prior to ever delete to allow hooks etc)

Content clone needs profiling

This concerns ContentModule#clone

We need to look into speeding up the cloning process (the function needs profiling to identify any issues). Currently the process works as follows:

  • Clones the root content object
  • Identifies any children of the root, and recursively runs clone on those

Need to look into:

  • Number of DB calls
  • How the recursion works

In any case, the process will require individual insert calls for each cloned content item (to be able to map from the old _id to the new _id)

Expand clone API

Feature description

Current API:

  • can clone course/config
  • can clone content model into appropriate parent model
  • copy/paste is limited to within the same page

Expand this API to be more flexible and allow any descendant type (menu, page, article, block, component) to be copied to anywhere, finding the appropriate parent or filling in missing hierarchies as necessary. This will facilitate adapt-security/adapt-authoring-ui#235

Can you work on this feature?

  • I can contribute

Course copy broken

The course and config are copied, but none of the child content.

Only affects course, other types of content are working.

New course page shows incorrect schema extensions

What happened?

The course edit page displays incorrect schema extensions when creating a new course.

Steps to reproduce

  1. Go into course settings of an existing course with at least one extension enabled
  2. Go back to dashboard and create a new course
  3. Notice the same extension settings are visible from the course in step 1.

Authoring tool version

v1

New courses don't apply custom data

Reported by Kineo QA

What happened?

When I create a new course and I add all the detail, like the title etc. then it doesn't actually add that details to the newly created course - it just shows 'Untitled' - so I have to go into the project settings and add the all the detail again. This doesn't happen when I've copied a course.

image

Authoring tool version

rc.3

Multilingual support

Feature description

Allow courses to be edited, imported and exported in multiple languages.

Can you work on this feature?

  • I can contribute

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.