adaptlearning / adapt_authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
https://www.adaptlearning.org/
GNU General Public License v3.0
515 stars 282 forks source link

Determining component category #1658

Closed barry-mckay closed 2 weeks ago

barry-mckay commented 7 years ago

There currently doesn't seem to be any way to programmatically determine what category a component falls into i.e. 'presentation' or 'question'. Since the categorisation of components is core to the framework, it would be good to have a property in the bower.json (for instance) which dictates this.

Something like: "componentCategory": "question"

or if it's unlikely that there'll ever be a new type of component category developed, it could simply be a boolean value like: "isQuestionComponent": true

This would involve updating all core components to feature this new property. Having this available means we can filter/sort on it for instance

taylortom commented 7 years ago

This sounds like a sensible addition to me, and is also linked to the issue described in https://github.com/adaptlearning/adapt_authoring/issues/1043.

taylortom commented 2 weeks ago

Closing due to inactivity & impending deprecation of the legacy codebase.