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

Reduce footprint of courses with no events in timeline courses view

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Blocks
    • Labels:
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      MDL-72629-master-2
    • Testing Instructions:
      Hide
      1. Have a student enrolled in a course with no activities (or no upcoming events due).
      2. Log in as the student and visit their dashboard (and add the timeline block if it is not visible already).
      3. Switch the timeline block view to sort by courses.
      4. CONFIRM that under the course from step 1, the "No upcoming activities due"  text is left aligned under the course name and CONFIRM you do not see an image above that text (this should look like the "After" image in the issue description, and not like the "Before" image).
      Show
      Have a student enrolled in a course with no activities (or no upcoming events due). Log in as the student and visit their dashboard (and add the timeline block if it is not visible already). Switch the timeline block view to sort by courses. CONFIRM that under the course from step 1, the "No upcoming activities due"  text is left aligned under the course name and CONFIRM you do not see an image above that text (this should look like the "After" image in the issue description, and not like the "Before" image).
    • Story Points:
      1
    • Sprint:
      HQ Team International Sprint 9

      Description

      Currently, we show the standard centered image and "No upcoming activities due" text in the timeline block courses view if a course contains no events for the current filtering, which takes up a lot of unnecessary vertical space. It's also centered while the rest of the courses containing events will be left aligned, so that also does not make sense in this context (compared to when the entire block is empty, where centered makes more sense).

      In this issue, we should remove the relevant image where the "no upcoming activities due" is displayed below a specific course in the courses view, and also left align the text. This should make it more consistent and compact, which will improve the user experience and understanding.

      The existing text can also be improved, as it mentions things being "due", which is not appropriate for all activities, and "upcoming" does not make sense where filtering could include events in the past (All and Overdue). For this reason, and for consistency with our generic fallback text for events in this block, it has been decided to use "No activities require action".

      Before:

      After:

        Attachments

          Activity

            People

            Assignee:
            michaelh Michael Hawkins
            Reporter:
            michaelh Michael Hawkins
            Peer reviewer:
            Dongsheng Cai Dongsheng Cai
            Integrator:
            Shamim Rezaie Shamim Rezaie
            Tester:
            Angelia Dela Cruz Angelia Dela Cruz
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 22 minutes
                2h 22m