Commit Graph

19 Commits

Author SHA1 Message Date
Andrew Nicols 551371c710 Merge branch 'MDL-71834-master-v02' of git://github.com/ferranrecio/moodle 2021-10-11 14:06:23 +08:00
Andrew Nicols b7687bfef8 Merge branch 'MDL-72463-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:20:41 +02:00
Andrew Nicols 8b7fb0f7ab Merge branch 'MDL-71795-master' of git://github.com/ferranrecio/moodle 2021-10-05 23:18:46 +02:00
Ferran Recio 5a165c86a2 MDL-71795 courseformat: add cache to course index 2021-10-01 09:03:56 +02:00
Andrew Nicols d46ff2929e Merge branch 'MDL-71727-master-v03' of git://github.com/ferranrecio/moodle 2021-09-30 09:52:56 +08:00
Ferran Recio 639a99014d MDL-71834 course: lock elements
Now components has a new property lock to disable all user interactions.
This is applied directly into the course index and course content to
freeze an element if some action is performed over it. To set this
locked value there are 2 new mutations cmLock and sectionLock.
2021-09-29 11:34:43 +02:00
Ferran Recio 96c6dc53cd MDL-72463 courseformat: course index highlight section badge 2021-09-29 11:32:03 +02:00
Ferran Recio 9abf7e1a72 MDL-71727 course: sync dragged elements
Two new mutations are added to indicate that a section
or a cm is being dragged. The logic related to refresh
a section or a cm has been moved to components to
simplify the code.
2021-09-29 10:01:25 +02:00
Ferran Recio a0b4cacc8c MDL-71828 courseformat: course index section link toggler 2021-09-29 09:57:24 +02:00
Ilya Tregubov 6cc0d5dfbd Merge branch 'MDL-71828-master' of git://github.com/ferranrecio/moodle 2021-09-24 08:49:32 +02:00
Ferran Recio 05b6f68f65 MDL-71828 courseformat: course index section link toggler 2021-09-22 20:10:04 +02:00
Ferran Recio 23499e6447 MDL-71664 course: add browser native drag and drop 2021-09-22 11:08:06 +02:00
Ilya Tregubov de814baafe Merge branch 'MDL-72310-master' of git://github.com/aanabit/moodle 2021-09-15 14:06:17 +02:00
Ferran Recio 7659a18993 MDL-71228 course: sorting course on section state change 2021-09-09 11:16:10 +02:00
Ferran Recio 7f750dc01c MDL-71228 course: course index drag and drop 2021-09-09 11:16:10 +02:00
Amaia Anabitarte c5578db866 MDL-72310 core_course: Expand course index sections by default 2021-09-03 12:25:33 +02:00
Ferran Recio 830c3eb907 MDL-71209 courseformat: add course index modules
The course index is the first UI component that implements the new
drawers and the reactive components. The course index uses the course
state to present the current course structure and changes whenever
that structure change.
2021-08-20 16:49:06 +02:00
Ferran Recio 176bf81cb1 MDL-71863 courseformat: new course editor methods in courseeditor AMD
The module now exports a getCourseEditor and a getCurrentCourseEditor
methods. The module is more consistent as it can be used to get
other course than the current one.
2021-06-28 13:50:18 +02:00
Ferran Recio 21d93554d4 MDL-71863 courseformat: create courseformat subsystem 2021-06-28 13:50:18 +02:00