Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59407

Folder resource: remember recent view mode (icons, tree, details)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.4
    • 3.1.6, 3.2, 3.3, 3.4
    • Usability
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59407-folder-remember-view-mode
    • Hide

      1. Login as Admin and go to any course
      2. Turn editing on and add a Folder resource
      3. Click "Save and display"
      4. Click "Edit"
      5. Upload some files
      6. Click "Display folder with file details"
      7. Click "Save changes"
      8. Click "Edit"
      9. Verify that the folder is displayed in list mode with file details
      10. Switch between visibility options, make sure it keep track of your last selected option.
      11. Log out, log in again as the same user and access the Folder resource
      12. Check that the last selected option is used

      Show
      1. Login as Admin and go to any course 2. Turn editing on and add a Folder resource 3. Click "Save and display" 4. Click "Edit" 5. Upload some files 6. Click "Display folder with file details" 7. Click "Save changes" 8. Click "Edit" 9. Verify that the folder is displayed in list mode with file details 10. Switch between visibility options, make sure it keep track of your last selected option. 11. Log out, log in again as the same user and access the Folder resource 12. Check that the last selected option is used

    Description

      Currently there is the minor but annoying problem with Folder resource:

      1. Login as Admin and go to any course
      2. Turn editing on and add a Folder resource
      3. Click "Save and display"
      4. Click "Edit"
      5. Upload some files
      6. Click "Display folder with file details"
      7. Click "Save changes"
      8. Click "Edit"

      Expected behavior: folder opens in details mode.

      Actual behavior: folder opens in icons mode.

      There is a TODO item in the code suggesting that recent view mode should be taken from cookie (https://github.com/moodle/moodle/blob/master/lib/form/filemanager.js#L129).

      Attachments

        Activity

          People

            vvzh Vladimir Zhirov
            vvzh Vladimir Zhirov
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Jun Pataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.