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

Add standard method to retrieve all navigation nodes for a requested section

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72930-master
    • Hide
      1. Extract navtester.zip in admin/tool/ - You should end up with a directory of admin/tool/navtester.

      Single navigation item

      1. Go to a course.
      2. In the secondary navigation click "participants"
      3. There should be a select menu at the top with the first item being "Enrolled users". Open that select and check that the last item is "Setting for the participants nav test".
      4. In the secondary navigation click "Reports"
      5. There should be a select menu at the top with the first item being "Competency breakdown". Open that select and check that the last item is "Navigation test report setting".
      6. In the secondary navigation more menu click "Question bank"
      7. There should be a select menu at the top with the first item being "Questions". Open that select and check that the last item is "Question bank single setting".
      8. In the secondary navigation more menu click "Badges"
      9. Check that there is a button that says "Nav test - Badge setting"

      Category with navigation items

      1. Go to a course.
      2. In the secondary navigation more menu click "Navigation test all settings"
      3. For each of the settings, click the second option for more settings, such as, "Two settings under a category"
      4. Go to each of the locations in the secondary navigation (Participants, Reports, Question bank, Badges) and check:
        1. Participants - A title (Navigation test user settings), and two options (A setting for the user menu, Another setting for the user menu)
        2. Reports - A title (Navigation test settings), and one option (Navigation test report setting)
        3. Question bank - A title (Question bank forever!), and two options (A setting for the question bank menu, Another setting for the question bank menu)
        4. Badges - A select menu (Other navigation ...) and two options (Nav test - badge setting, A second setting)

      Quiz

      1. Go to a course.
      2. Add a quiz.
      3. In the secondary navigation click "Results"
      4. Check there is a select menu with four items in it (Grades, Responses, Statistics, Manual grading)

      No duplicated navigation selectors

      1. Go to a course.
      2. Add Assignment, Database and Forum activity.
      3. Go to Assignment.
      4. In the secondary navigation click "Advanced grading".
        1. confirm that there is only one navigation selector [Marking guide, Rubric, Simple direct grading] on this page.
      5. Click on 'Define new grading form from scratch'
        1. confirm that there isn't any navigation selectors on this page.
      6. Go back to the Course homepage
      7. Go to Database
      8. Add some database fields
      9. In the secondary navigation click "Templates"
        1. confirm that there is only one navigation selector [List template, Single template, ...] on this page**
      10. Go back to the Course homepage.
      11. Go to Forum
      12. In the secondary navigation click "Advanced grading".
        1. confirm that there is only one navigation selector [Marking guide, Rubric, Simple direct grading] on this page.
      13. Click on 'Define new grading form from scratch'
        1. confirm that there isn't any navigation selectors on this page.
      Show
      Extract navtester.zip in admin/tool/ - You should end up with a directory of admin/tool/navtester. Single navigation item Go to a course. In the secondary navigation click "participants" There should be a select menu at the top with the first item being "Enrolled users". Open that select and check that the last item is "Setting for the participants nav test". In the secondary navigation click "Reports" There should be a select menu at the top with the first item being "Competency breakdown". Open that select and check that the last item is "Navigation test report setting". In the secondary navigation more menu click "Question bank" There should be a select menu at the top with the first item being "Questions". Open that select and check that the last item is "Question bank single setting". In the secondary navigation more menu click "Badges" Check that there is a button that says "Nav test - Badge setting" Category with navigation items Go to a course. In the secondary navigation more menu click "Navigation test all settings" For each of the settings, click the second option for more settings, such as, "Two settings under a category" Go to each of the locations in the secondary navigation (Participants, Reports, Question bank, Badges) and check : Participants - A title (Navigation test user settings), and two options (A setting for the user menu, Another setting for the user menu) Reports - A title (Navigation test settings), and one option (Navigation test report setting) Question bank - A title (Question bank forever!), and two options (A setting for the question bank menu, Another setting for the question bank menu) Badges - A select menu (Other navigation ...) and two options (Nav test - badge setting, A second setting) Quiz Go to a course. Add a quiz. In the secondary navigation click "Results" Check there is a select menu with four items in it (Grades, Responses, Statistics, Manual grading) No duplicated navigation selectors Go to a course. Add Assignment, Database and Forum activity. Go to Assignment. In the secondary navigation click "Advanced grading". confirm that there is only one navigation selector [Marking guide, Rubric, Simple direct grading] on this page. Click on 'Define new grading form from scratch' confirm that there isn't any navigation selectors on this page. Go back to the Course homepage Go to Database Add some database fields In the secondary navigation click "Templates" confirm that there is only one navigation selector [List template, Single template, ...] on this page ** Go back to the Course homepage. Go to Forum In the secondary navigation click "Advanced grading". confirm that there is only one navigation selector [Marking guide, Rubric, Simple direct grading] on this page. Click on 'Define new grading form from scratch' confirm that there isn't any navigation selectors on this page.
    • 3
    • Navigation push 10

      This is specific for the secondary navigation views.

      The standard navigation has a few nodes (user, reports, badges, and question bank) that are categories. There are a couple of callbacks that extend the navigation tree and this allows a lot of freedom to add an update the tree anywhere.

      In this case we are looking at the potential of third party plugins adding navigation nodes into the above mentioned categories.

      On those pages we need to retrieve the navigation tree for that category and display the inserted third party categories and child nodes.

      As we have to do the same thing in all of these places we should have a centralised function.

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Mihail Geshoski Mihail Geshoski
            Shamim Rezaie Shamim Rezaie
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 37 minutes
                1w 1d 37m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.