kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Allow import of individual content nodes for automatic import and learner initiated import

Open rtibbles opened this issue 2 years ago • 0 comments

To better support App use cases, we are aiming to allow more incremental import of metadata for channels rather than having to import the metadata for an entire channel at once.

Without this support, imports for a small number of resources could easily require a large amount of time, bandwidth, and disk space that the user may not be expecting and which will seem disproportionate. In the case of automatic synchronization of resource to support at home models, delays caused by this would be highly detrimental to the user experience.

To allow this, we will enhance our resource metadata import machinery to import subsections of a channel - the minimal ancestor path to the desired resource (so the resource and all topic ancestors) plus all associated File, LocalFile, Language etc. metadata, as well as the top level ChannelMetadata.

This will then be imported via a modified version of our current metadata import machinery, so that we can continue to leverage the considerable effort expended there for speed and backwards compatibility.

rtibbles avatar Jun 07 '22 14:06 rtibbles