Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Grouping functionality #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MihailMiller
Copy link

Hello,

first of all I would like to thank you for developing this plugin. In our project we wanted to implement something similar to the adapt-contents plugin. Since the adapt-contents plugin was not compatible with the current Adapt framework version, we found this repository, but we were missing an auto-grouping functionality that reflects the course structure. This pull request is intended to solve this problem. The auto-grouping functionality is added as an option in the course.json configuration ("_enabled": true; see example.json), leaving the other options untouched. The "_maxLevel" defines how deep the nested autoGroups should be / where the cutoff for contentObjects should be: 0 => menu/page; 1 => article; 2 => block; 3 => component.

The following graphic is intended to demonstrate the functionality symbolically; the CSS used to visually distinguish the contentObjects from the groups is not part of the pull request.

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant