adapt_authoring
adapt_authoring copied to clipboard
extensions to provide configurable properties for items
Affected Area
Properties.schema of extensions currently displays config fields only in .form-container
> .fieldset-extensions
.
Requested Feature
Permit extensions to add config fields to .scaffold-items-modal-sidebar
for components with items, such as Accordion, Narrative, Hot Graphic, Hot Grid, Tabs, StackList, flip cards, etc.
Use Case
For example, an extension that plays audio narration. When the learner encounters a Narrative component, a different audio file should play for each item.
Current Workarounds
- Create an array of mp3s within the current extension config area with no visual association with each item. Flaw: No implicit guarantee that array length matches items length.
- Create (or extend) an existing component in order to provide a more complete schema. Flaw: Simply messy keeping track of customised components that must be used with particular extensions.