Show
Create a new 'Folder' activity using following settings:
Display folder contents = 'Inline on a course page'
Show subfolders expanded = checked
Show download folder button = checked
Force download of files = checked
Create multiple subfolders and add files to the root folder and some of the subfolders
Click on 'Save and return to course'
Confirm the look and feel of the created 'Folder' activity is OK
Confirm there is a 'Download folder' aligned to the right.
Confirm the subfolders are expanded by default.
Confirm you can collapse expanded folders and there is no error in the Console.
Confirm you can expand collapsed folders and there is no error in the Console.
Confirm files are downloaded when you click on their name.
Go to 'Folder' settings and change the following:
Show subfolders expanded = unchecked
Show download folder button = unchecked
Force download of files = unchecked
Click on 'Save and return to course'
Confirm the look and feel of the created 'Folder' activity is OK
Confirm there is no 'Download folder' aligned to the right.
Confirm the root folder is expanded but subfolders are collapsed by default.
Confirm files are opened when you click on their name.
Go to 'Folder' settings and change the following:
Display folder contents = 'On a separate page'
Click on 'Save and return to course'
Confirm the 'Folder' activity content is not shown in the course page, and it looks like any other activity type.
Click on the 'Folder' activity and confirm everything looks and works OK in the activity page.