Closed kabalin closed 1 year ago
Hi Ruslan, thanks for this PR. Unfortunately it does not work very well for me, there are several things:
It looks like it needs a little more work
Hi Ruslan, I have added "Add section" link between first-level sections (see also https://github.com/marinaglancy/moodle-format_flexsections/issues/56 ), it uses the same/similar element as the format_topics.
Hi Ruslan, I have added "Add section" link between first-level sections (see also #56 ), it uses the same/similar element as the format_topics.
Yeah, not quite the same though, the purpose of this was to simplify adding same level subsections in between others without need to scroll and find its parent. I might get to this one and resubmit with fixes one day.
This patch suggests a feature to simplify adding the section to the same level. Suppose you have several subsections with content, in order to add another one to bottom, one would need to locate the parent and use its actions menu. If one needs to add section after any existing subsections, one would need to locate the parent and use its actions menu, then move newly created section to the right location. This is very inconvenient especially at content-rich courses.
Suggested solution:
Notice, the patch contains commit from #44 which it depends on (needs to be merged after that one).