adapt-security / adapt-authoring-content Goto Github PK
View Code? Open in Web Editor NEWPlugin for handling Adapt content
Plugin for handling Adapt content
Initially, the endpoint returned the top-level/root item of the created items. We now get an array of all new items.
How should this work?
These need to be updated to the latest available ID
Content items appear out of order (this likely affects all content copy, not just course).
Content objects should retain _sortOrder from original content.
Copy a course with multiple pages. Observe the incorrect order in the menu structure page.
v1
See AdaptFrameworkModule for an example (it's recommended to add a separate file with API defs for non-trivial APIs to reduce clutter (see apidefs.js).
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.
Reported by Kineo QA
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.
The bug appears when you've copied a previously copied course that had been edited, i.e. steps to replicate:
rc.3
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)
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:
Need to look into:
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)
Current API:
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
The course and config are copied, but none of the child content.
Only affects course, other types of content are working.
The course edit page displays incorrect schema extensions when creating a new course.
v1
Not sure if this is by design, but I would expect the config object to be removed with the course.
Reported by Kineo QA
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.
rc.3
Allow courses to be edited, imported and exported in multiple languages.
When copying a container item, the pasted containers appear with no children.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.