marinaglancy / moodle-format_flexsections

25 stars 25 forks source link

Add multiple places to add (sub)sections not only at the bottom #56

Closed pjonker closed 1 year ago

pjonker commented 1 year ago

You can now only add (sub)sections at the bottom of the page. It would be great if you could do that at the bottom of the page.

marinaglancy commented 1 year ago

There is a PR attempting to do it - https://github.com/marinaglancy/moodle-format_flexsections/pull/45 but it does not work very well yet, maybe with some extra work it will

marinaglancy commented 1 year ago

In the version 4.0.4 that will be released today - 2023-07-02 - I have added the "Add section" link between the sections but only for the first-level sections (also for the first-level subsections for sections that are displayed as a link).

I have tried to add this link for all levels but the UI became very messy and it was hard to see which link belongs to which section.

Let me know if this is a suitable compromise for you.

marinaglancy commented 1 year ago

I'm going to close this issue as resolved