adapt_authoring icon indicating copy to clipboard operation
adapt_authoring copied to clipboard

extensions to provide configurable properties for items

Open chucklorenz opened this issue 5 years ago • 0 comments

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.

Additional Information

chucklorenz avatar Feb 17 '20 23:02 chucklorenz