Closed barry-mckay closed 2 weeks 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.
Closing due to inactivity & impending deprecation of the legacy codebase.
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