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

In course overview, on some sites, the timeline is usually/always going to be empty, forcing user to do extra navigation

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Testing the system setting
      1. Visit 'Site administration' > 'Plugins' > 'Manage blocks'.
      2. Click on the 'Settings' link next to 'Course overview'.
      3. Confirm the setting is set to 'Timeline'.
      4. Open up another tab.
      5. Visit your dashboard.
      6. Add the 'Course overview' block if it isn't already there.
      7. Confirm you see the 'Timeline' content and that tab is the one selected (do not click on any tab at this point - the URL should remain <yoursite>/my with no additional parameters).
      8. In your other browser tab change the setting to 'Courses' and save.
      9. Refresh the page on your browser tab on the dashboard.
      10. Confirm you see the 'Courses' content and that tab is the one selected.
      Testing the URLs
      1. Visit your dashboard.
      2. Add the 'Course overview' block if it isn't already there.
      3. Click on the 'Courses' tab and confirm the URL changes.
      4. Click on the 'Timeline' tab and confirm the URL changes.
      5. Click back on the 'Courses' tab.
      6. Replace 'courses' in the browser's URL with 'timeline' and hit enter.
      7. Confirm you see the 'Timeline' content and that tab is the one selected.
      8. Replace 'timeline' in the URL with 'courses' in your browser and hit enter.
      9. Confirm you see the 'Courses' content and that tab is the one selected.
      Testing remembering the active tab
      1. Visit your dashboard.
      2. Add the 'Course overview' block if it isn't already there.
      3. Click on the 'Courses' tab.
      4. Click on 'Site administration' and click on a few links to get to a course.
      5. Click back on 'Dashboard'.
      6. Confirm you see the 'Courses' content and that tab is the one selected.
      7. Click on the 'Timeline' tab.
      8. Click on 'Site administration' and click on a few links to get to a course.
      9. Click back on 'Dashboard'.
      10. Confirm you see the 'Timeline' content and that tab is the one selected.
      Show
      Testing the system setting Visit 'Site administration' > 'Plugins' > 'Manage blocks'. Click on the 'Settings' link next to 'Course overview'. Confirm the setting is set to 'Timeline'. Open up another tab. Visit your dashboard. Add the 'Course overview' block if it isn't already there. Confirm you see the 'Timeline' content and that tab is the one selected (do not click on any tab at this point - the URL should remain <yoursite>/my with no additional parameters) . In your other browser tab change the setting to 'Courses' and save. Refresh the page on your browser tab on the dashboard. Confirm you see the 'Courses' content and that tab is the one selected. Testing the URLs Visit your dashboard. Add the 'Course overview' block if it isn't already there. Click on the 'Courses' tab and confirm the URL changes. Click on the 'Timeline' tab and confirm the URL changes. Click back on the 'Courses' tab. Replace 'courses' in the browser's URL with 'timeline' and hit enter. Confirm you see the 'Timeline' content and that tab is the one selected. Replace 'timeline' in the URL with 'courses' in your browser and hit enter. Confirm you see the 'Courses' content and that tab is the one selected. Testing remembering the active tab Visit your dashboard. Add the 'Course overview' block if it isn't already there. Click on the 'Courses' tab. Click on 'Site administration' and click on a few links to get to a course. Click back on 'Dashboard'. Confirm you see the 'Courses' content and that tab is the one selected. Click on the 'Timeline' tab. Click on 'Site administration' and click on a few links to get to a course. Click back on 'Dashboard'. Confirm you see the 'Timeline' content and that tab is the one selected.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58907_master

      Description

      In course overview, the timeline is usually/always going to be empty on some sites, making life worse for the user

      If the timeline is empty, then we could show courses tab by default.

      This makes the dashboard far more immediately useful, especially on sites that don't use activities with dates.

      The scope of this issue is limited to:
      1. Remember the users active tab (courses or timeline) and return to it when navigating back to this page
      2. Add an anchor param representing the current tab so that the url can be copy/pasted/bookmarked
      3. System setting for the default tab to display

      These are considered bugs and should be backported.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17