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

Breadcrumbs should exist on calendar pages and be displayed consistently

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-72470-master
    • Testing Instructions:
      Hide

      Prerequisites

      1. Create a course 'course_test'

      Steps to test calendar (all courses)

      1. Login as admin
      2. Click on "Calendar" on the left pane. You should see heading "Calendar".
      3. Now click on link "Import or export calendars". You should see heading as "Calendar". Also the breadcrumbs should be seen:
        a) Calendar / Import or export calendars
        b) The last one in the breadcrumbs (i.e, Import or export calendars) should not be a link. Rest of them should be a link.
      4. Click on "Import calendar" button on the right side.
      5. You should see heading as "Calendar".
      6. The breadcrumbs should be seen as "Calendar / Import or export calendars / Import calendar". Except the last one in the breadcrumbs all others should be a link.
      7. Now click on the "Import or export calendar" link on the breadcrumb. You should get navigated to the Import or export calendars page.
      8. Now click on "Export calendar" on the right side of the page.
      9. You should see heading as "Calendar". The breadcrumbs should be seen as "Calendar / Import or export calendar / Export calendar". Except the last one every other in breadcrumb should be a link.

      Steps to test calendar of a course

      1. Login as admin and navigate to the course_test.
      2. Click on "Calendar" on the left pane. You should see heading "Calendar: course_test". You should also see breadcrumbs "Courses / course_test / Calendar". Except last one every other item in breadcrumb should be a link.
      3. Now click on link "Import or export calendars". You should see heading as "Calendar: course_test". Also the breadcrumbs should be seen:
        a) Courses / course_test / Calendar / Import or export calendars
        b) The last one in the breadcrumbs (i.e, Import or export calendars) should not be a link. Rest of them should be a link.
      4. Click on "Import calendar" button on the right side.
      5. You should see heading as "Calendar: course_test".
      6. The breadcrumbs should be seen as "Courses / course_test / Calendar / Import or export calendars / Import calendar". Except the last one in the breadcrumbs all others should be a link.
      7. Now click on the "Import or export calendar" link on the breadcrumb. You should get navigated to the Import or export calendars page.
      8. Now click on "Export calendar" on the right side of the page.
      9. You should see heading as "Calendar: course_test". The breadcrumbs should be seen as "Courses / course_test / Calendar / Import or export calendar / Export calendar". Except the last one every other in breadcrumb should be a link.
      Show
      Prerequisites Create a course 'course_test' Steps to test calendar (all courses) Login as admin Click on "Calendar" on the left pane. You should see heading "Calendar". Now click on link "Import or export calendars". You should see heading as "Calendar". Also the breadcrumbs should be seen: a) Calendar / Import or export calendars b) The last one in the breadcrumbs (i.e, Import or export calendars) should not be a link. Rest of them should be a link. Click on "Import calendar" button on the right side. You should see heading as "Calendar". The breadcrumbs should be seen as "Calendar / Import or export calendars / Import calendar". Except the last one in the breadcrumbs all others should be a link. Now click on the "Import or export calendar" link on the breadcrumb. You should get navigated to the Import or export calendars page. Now click on "Export calendar" on the right side of the page. You should see heading as "Calendar". The breadcrumbs should be seen as "Calendar / Import or export calendar / Export calendar". Except the last one every other in breadcrumb should be a link. Steps to test calendar of a course Login as admin and navigate to the course_test. Click on "Calendar" on the left pane. You should see heading "Calendar: course_test". You should also see breadcrumbs "Courses / course_test / Calendar". Except last one every other item in breadcrumb should be a link. Now click on link "Import or export calendars". You should see heading as "Calendar: course_test". Also the breadcrumbs should be seen: a) Courses / course_test / Calendar / Import or export calendars b) The last one in the breadcrumbs (i.e, Import or export calendars) should not be a link. Rest of them should be a link. Click on "Import calendar" button on the right side. You should see heading as "Calendar: course_test". The breadcrumbs should be seen as "Courses / course_test / Calendar / Import or export calendars / Import calendar". Except the last one in the breadcrumbs all others should be a link. Now click on the "Import or export calendar" link on the breadcrumb. You should get navigated to the Import or export calendars page. Now click on "Export calendar" on the right side of the page. You should see heading as "Calendar: course_test". The breadcrumbs should be seen as "Courses / course_test / Calendar / Import or export calendar / Export calendar". Except the last one every other in breadcrumb should be a link.
    • Story Points:
      3
    • Sprint:
      Navigation push 8, Navigation push 9

      Description

      Recently the breadcrumbs on calendar pages were modified in the following ways:

      1. Completely removed from the site calendar pages, which removes the only means to navigate back to parent pages, for example from the export page back to its parent management page. Another value add for these breadcrumbs is that it explicitly informs the user that they are not  looking at the calendar in the context of any course.
      2. When viewing calendar pages via courses the breadcrumbs exist, but are missing the current page. The result is that the parent page is the final listed item, which means it is not being hyperlinked, and it's not possible to navigate back one level (to the parent page) using the breadcrumbs.

      Both of these are also accessibility issues.

      Affected pages include:

      • <site>/calendar/view.php (month and day view)
      • <site>/calendar/managesubscriptions.php
      • <site>/calendar/export.php
      • <site>/calendar/import.php

       Some design decisions on these pages were also made based on the breadcrumbs existing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sujith Sujith Haridasan
              Reporter:
              michaelh Michael Hawkins
              Peer reviewer:
              Mathew May Mathew May
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              Angelia Dela Cruz Angelia Dela Cruz
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 9 minutes
                  4h 9m