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

Reimplement breadcrumbs in site administration.

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      MDL-72652-master
    • Testing Instructions:
      Hide
      1. Login as admin.
      2. Go to site administration.
        • confirm that you do NOT see breadcrumbs navigation at the top of the page
      3. Go to Badges > Manage badges in site administration
        • confirm that you see breadcrumbs navigation at the top of the page
        • confirm that you do NOT see "Site administration" as an item in the breadcrumbs navigation
      4. Go to Plugins > Activity modules > Assignment > Assignment settings in site administration
        • confirm that you see breadcrumbs navigation at the top of the page
        • confirm that you do NOT see "Site administration" as an item in the breadcrumbs navigation
        • confirm that you do NOT see "Plugins" as an item in the breadcrumbs navigation
      Show
      Login as admin. Go to site administration. confirm that you do NOT see breadcrumbs navigation at the top of the page Go to Badges > Manage badges in site administration confirm that you see breadcrumbs navigation at the top of the page confirm that you do NOT see "Site administration" as an item in the breadcrumbs navigation Go to Plugins > Activity modules > Assignment > Assignment settings in site administration confirm that you see breadcrumbs navigation at the top of the page confirm that you do NOT see "Site administration" as an item in the breadcrumbs navigation confirm that you do NOT see "Plugins" as an item in the breadcrumbs navigation
    • Story Points:
      5
    • Sprint:
      Navigation push 7

      Description

      After discussion both inside and outside of Moodle it has been decided upon that we need to investigate and implement a back button that behaves in a similar fashion to the back button within the browser.

      It would be preferable if we could store the anchor of the previous page so that when we navigate back we can set focus to the actioned item.

      The back button should show on pages where a combination of primary & secondary navigation items does not allow the user to navigate back easily i.e. when on the admin settings page navigating to online text assignment you should be able to navigate back to admin settings > plugins rather than navigating back to the top page of site administration.

      This may be of interest: https://developer.mozilla.org/en-US/docs/Web/API/History/back 

      Cheers,

       For now we are going to put the breadcrumbs back for the site administration pages.
      Things to do:

      1. Items that exist in the primary and secondary navigation should be removed. e.g Site administration/Plugins. These are in the primary and secondary navigation respectively.
      2. MDL-72427 has been reverted.
        So we want to check that the behaviour that we had in 3.11 is still present here.

       

        Attachments

        1. MDL-72652_Step 2.png
          MDL-72652_Step 2.png
          108 kB
        2. MDL-72652_Step 3.png
          MDL-72652_Step 3.png
          69 kB
        3. MDL-72652_Step 4.png
          MDL-72652_Step 4.png
          153 kB

          Issue Links

            Activity

              People

              Assignee:
              Geshoski Mihail Geshoski
              Reporter:
              mathewmay Mathew May
              Peer reviewer:
              Mathew May Mathew May
              Integrator:
              Jun Pataleta Jun Pataleta
              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:
              8 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 - 4 hours, 15 minutes
                  4h 15m