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

Improve admin tree navigation from crumb trail links

    XMLWordPrintable

    Details

      Description

      A constant things that bugs me and that I also notice every time with an admin new to Moodle is they expect the crumb trail to take them back to the tabs they used to navigate there.

      Eg :1

      1) I go to admin: admin/search.php

      2) I go to Users admin/search.php#linkusers 

      3) I got to Browse users /admin/user.php

      Now the crumb trail shows:

      Dashboard > Site administration > Users > Accounts > Browse list of users

      The first two links work as expected as well as the last.

      But 'Users' takes to you here:

      /admin/category.php?category=users when everyone expects it to go to admin/search.php#linkusers

      Likewise the 'Users' link, most people would expect you to also go to that same tab, but then also scroll you down to the Accounts section in the Users tab.

       

      So proposing:

      a) first level category items in the admin tree override their url to go to the tab deep link

      b) we add hash anchor ids to the sections with in tabs. They should have their parent id in them so they don't clash, something like #users-users #users-accounts #users-permissions

      c) the second level category items override to use the links about

      d) the js tab widget is refined to it can select a both select a tab, and scroll down to an anchor inside the tab onload

      e) bonus points: It would also be nice, especially for the plugins tab, to have a table of contents which lists the major sections on that page. Possibly it only appears if there is > 3 sections, it could also be sticky on the right side if you have a big enough screen.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              brendanheywood Brendan Heywood
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Barbara Ramiro, Bas Brands
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: