Hi Gareth,
I hope that you are doing well. Thanks for your continued support for a great “Collapsed Topics” plugin. I continue to use it and think it is one of the best ways to format courses.
I have discovered a “feature” of Collapsed Topics after I upgraded my Moodle 3.10 to 3.11. In 3.11, the developers added a big “Mark as Done” button to Activity Completion under every activity, more space, and a line. Apparently, someone decided that a big “Mark as Done” button is better than the smaller right-side activity-completion checkboxes. I am not sure about the extra space and line, maybe for accessibility purposes. (See my graphic – 3.11 Activities.)
I don’t like this “Mark as Done” button and preferred the smaller checkboxes. The “Mark as Done” button expands each topic and contributes to “the scroll of death.” I have seen others on Moodle.org who shared my dislike. Mary Cooch said she didn’t know how to retain the checkboxes in Moodle 3.11.
To fix the spacing and line, I added some CSS (see below.)
When I discovered that others on Moodle.org couldn’t get rid of the “Mark as Done” button and revert to the smaller checkboxes, I decided to explore and see why my Moodle still had checkboxes. (See graphic.)
I discovered that the Collapsed Topics plugin provided the small checkboxes. Wow, another great feature of Collapsed Topics! I have Moodle 3.11 (Build: 20210517), and Collapsed Topics is 3.10.1.1 (2020110905), which is currently the latest version of Collapsed Topics.
I guess you might be working on a newer version of Collapsed Topics for 3.11, so I am writing you with some suggestions. I am not sure if you are aware of this problem, and I hope you don’t switch to the “Mark as Done” button approach. I vote that you don’t change to the “Mark as Done” approach.[i]
I think Moodle should support both the “Mark as Done” button and the smaller checkboxes and provide an administrative switch. But it might take a while for the Moodle developers to realize this, and they may never realize this need. Perhaps Collapsed Topics should have a switch that allows selecting either the “Mark as Done” button or the checkbox approach?
Incidentally, when one turns on “edit course,” the “Mark as Done” buttons show, but this is not a problem for me.
So, what are your thoughts? Should I create a feature request in Tracker for Moodle to support both choices? Do you think you can either ignore the “Mark as Done” button or add a switch in future versions of Collapsed Topics?
Maybe other folks here on Moodle.org will add their thoughts to this topic.
Here is my CSS Code that fixed the spacing and extra line.
/* Moodle 3.11 changes
Each activity had more space and a line under it. Perhaps something involving new accessibility? */
.section li.activity.hasinfo {
border-bottom: 0px;
padding-top: 0rem;