cancel
Showing results for 
Search instead for 
Did you mean: 

expand and collapse the activities under each header

expand and collapse the activities under each header

0 Kudos
(8)

Headers can be used to subdivide the activities in modules, but each header makes the module longer and longer.  To reduce scrolling for students, I suggest allowing the headers to be expanded and collapsed

45 Comments
bowmanr
Community Champion

@dan_baeckstrom 

I see you updated the extension to version 0.4 and that the icon display has changed to be less of a clutter - it looks good.  I need to work with it some more as it was acting a little strange when I was showing it to someone.  I noticed that you added in the options one of which is the move icons to the right of the name.  Thank You for that.

Ron

dan_baeckstrom
Community Participant

@bowmanr if you experience strange behaviour by the extension, please send a description to me. I'd like to eliminate possible bugs promptly.

bowmanr
Community Champion

@dan_baeckstrom 

I was working on my module page to answer a question someone had about linking to a module.  I created the link in a page and when I clicked on it, I went to the module in question on the modules page.  And then when your script kicks in after a few seconds, I was moved up to the top of the modules page.

Also, when I went to add content to a module with your script active, once it was added, I was pushed up to the top of the module list - this happens when you indent an item as well.

I had the show icons on the right selected and modules expanded maximally (default)

I then put show module icon on the left (default mode) and did an indent on an item in a module and I was pushed up to the top of the modules page again.

I hope that is clear enough for you to follow.  I am using chrome.

Ron

dan_baeckstrom
Community Participant

@bowmanr After discussing this matter in a private channel, the cause of this behaviour was identified as being due to an update alert box not being "clicked away" by the user. I have now uploaded a new version which will eliminate the problem, hopefully before it occurs to anyone else.

dan_baeckstrom
Community Participant

The Canvas Modules Compactor extension, which implements the feature suggested by the OP, is now updated to version 0.5.

If you wish to learn more about the new features, watch the new demo video from here.

If you are new to the extension, watch the video from the start.

The extension can be installed from Chrome Web Store.

The Firefox version will also be updated soon.

dan_baeckstrom
Community Participant

One step closer to complete control of Modules

This video demonstrates the new custom indentation feature of the upcoming 0.6 version of the Canvas Modules Compactor browser extension.

As many modules pages are not optimally structured with indentations to make compression maximally powerful, individual users may need to impose that structure on their own. The custom indentation feature makes this possible, also for students.

Please share comments if you have any ideas for improvement before release.

bowmanr
Community Champion

@dan_baeckstrom 

Once again, thanks for a great extension.  I like the fact that teachers and students can use this to change their setup as they want.

This latest upgrade is a nice addition - makes it much easier to indent items that were put in with the wrong indentation.

I have a question about how the indentation information is stored - is that done through cookies?  If so, you may want to explain that so that the information can be preserved for those of us who clean out cookies and cache every time the browser closes.

One other comment (not sure if it is even possible)- Have you given any thought to applying your learned knowledge to creating folders in pages?  As noted in the following idea request, it is a very hot topic.
https://community.canvaslms.com/t5/Idea-Conversations/Allow-folders-in-Pages/idi-p/360796

 

dan_baeckstrom
Community Participant

@bowmanr 
Thank you for kind words. The indentation info (as well as Option and User Tag info) is not stored in cookies; that is not necessary since the entire extension runs on the client computer and data do not need to be exchanged with a server. Instead, memory is provided by Chrome's storage API which is readily accessed by extensions. I guess the only way to erase that data would be by removing the extension.

Since I uploaded the video I have entered an additional checkbox on the Options page which hides the indentation menus while custom indentation is still active. This is to reduce visual clutter to a minimum. Editing indentations most likely will occur quite sporadically and in between it would not make sense to have the menus lighting up all the time.

As for Page folders, I have not experienced the need for that myself, since my courses tend to generate very few Pages. However, I do see the justification for this. It would be quite straightforward to design an extension which allows each user to organise Pages in "folders" privately according to their own preferences. Supporting a folder structure that is coordinated between users would be trickier. Tagging folder location by modification of the page name might make for very unwieldy names. Maybe some custom HTML tag could do the trick, like this:

dan_baeckstrom_0-1620256672628.png

It would be vulnerable to corruption by inept users though. A chain is only as strong as its weakest link... 🙂

Do you think coordinated folder structures is what people want, or would private ones suffice?

bowmanr
Community Champion

@dan_baeckstrom 

I do not know why your post finally became visible to me.  

In any case in answer to your question about pages, I think just private organization for instructors is all that is needed.  My guess is that the people that would use it would have pages hidden from the students.  If you look at the post in my previous message, there are almost 200 people who have voted for that feature in Canvas.  I think you would be highly praised if you could set up a way to put folders in pages.

Keep up the good work.  I for one truly appreciate it.

dan_baeckstrom
Community Participant

@bowmanr I was more thinking of sharing a folder structure between colleagues ("Where the *** is that page?" – "Oh it's in the so-and-so folder; you can't miss it") rather than with students. But if private folder structures are sufficient then the task becomes much simpler – and safer.

bowmanr
Community Champion

@dan_baeckstrom 

I would start with the easiest implementation first and then let the users give feedback on what might be something you had not thought of.  For me I would only need it for my courses - I do not need to share with anyone else.

I am sure there are plenty of people that want this feature that as they use what you start with they will have all sorts of great ideas to help you spend time with further developments.

 

bowmanr
Community Champion

@dan_baeckstrom 

Hi Dan -

 
I just tried out version 0.6, and I do not get the indentation option - I do  not see the gray column that has the selection window for the indentation - all I get is the highlight for the module item as if I have the hide indentation feature on.  I tried all possible combinations that I could think of with the options and never got it to work. I am using the latest version of chrome.
Ron
dan_baeckstrom
Community Participant

@bowmanr Sorry – I forgot to mention that this feature is only available to students and in Student View – not much point in adding custom indentations for teachers who are able to adjust the actual indentation on the back-end Canvas version... but I should of course have warned about this. Switch to Student View and the feature will be enabled.

bowmanr
Community Champion

@dan_baeckstrom 

Thanks for the information.  Although I thought it would be a quick easy way to indent the items I forgot to indent when I added them to a module - just a touch easier than selecting that option from the ellipses - mainly because if you start undented indent is at the top, but after indenting once it drops down one spot, so that the mouse is not pointing at the same thing you just clicked on for the first indent.

 

robotcars
Community Champion

@dan_baeckstrom 

Last year before hell broke loose I was tinkering with a Module Mashup of hacks shared by @dlyons and @mcowen 

The purpose was to provide a toolbar at the top of Modules to allow filtering and collapsing.

It has gone unfinished since I don't have the bandwidth to tinker at the moment, but since you are working on this I've dropped the current state and notes of the project in a gist in case you want to review any of it. I believe the step I was on was trying to deal with refresh states when students come back. I believe it's saved internally but couldn't quite hash it out to make it consistent. This is intended for use within the Canvas Themes vs a Browser Extension.

https://gist.github.com/robert-carroll/12717270d15c885f2908371e7bfab838

IanStevenson
Community Member

Modules could be more visually organised if indented pages could be collapsed in the same way the module can be collapsed. 

I tried H5P accordions within a page but these do not support images.

Feature description: Add a clickable triangle next to the parent page to reveal indented pages below. Click the triangle again to collapse indented child pages.

Thanks for listening,
Ian

dan_baeckstrom
Community Participant

@IanStevenson The Canvas Modules Compactor browser extension does just that. Have you checked out this video?

 

IanStevenson
Community Member

@dan_baeckstrom that's exactly what I am after! Great work. Unfortunately, it is difficult enough to get students to look at the canvas site without asking them to install a browser extension.

Thanks for this link Dan, let's hope the developers are reading this.

Regards,
Ian

dan_baeckstrom
Community Participant

@IanStevenson Thanks for the kind words. Yes, it is of course a major weakness that the students have to install the extension individually. However, when I told my students about it, there were quite a few who at least did download it. Then again, some students might not mind the clutter. And anyway, I believe that having the extension installed as a teacher helps you organise your modules consistently and in a structured way.

Best,
Dan

Steven_S
Community Champion

@dan_baeckstrom  Maybe you could include collapsing and expanding threaded discussions if the pages work similarly...