Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33349

Lessons Subpage Navigation - Non-Subpage Prerequisites Not Getting Reflected in Left Menu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0
    • Fix Version/s: 12.0, 19.0
    • Component/s: Portal
    • Labels:
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      1) In Manage Tools, add a Lessons instance and enable the lessons subpage navigation feature via the toggle that appears on the right-hand side of the screen.

      2) Within the Lessons tool, link to an assignment / forum topic / T&Q assessment (creating the item in the originating tool if needed).

      3) Once the item appears on the lessons page, edit it and mark it as required.

      4) Create a new subpage.

      5) Return to the top-level lessons page, edit the subpage and select the option to "Don't Release Item Until All Prerequisites are Completed".

      Expected Results

      Because the assignment / forum topic / T&Q assessment is marked as required, the subpage in the left menu will display as grayed-out to instructors, with hover text stating that it "[Has prerequisites]". From the student perspective, the subpage will be grayed-out and unclickable.

      Show
      1) In Manage Tools, add a Lessons instance and enable the lessons subpage navigation feature via the toggle that appears on the right-hand side of the screen. 2) Within the Lessons tool, link to an assignment / forum topic / T&Q assessment (creating the item in the originating tool if needed). 3) Once the item appears on the lessons page, edit it and mark it as required. 4) Create a new subpage. 5) Return to the top-level lessons page, edit the subpage and select the option to "Don't Release Item Until All Prerequisites are Completed". Expected Results Because the assignment / forum topic / T&Q assessment is marked as required, the subpage in the left menu will display as grayed-out to instructors, with hover text stating that it " [Has prerequisites] ". From the student perspective, the subpage will be grayed-out and unclickable.

      Description

      Currently, the Lessons subpage navigation (left menu) feature reflects the presence of required prerequisites for subpages in the left menu w/ greyed-styling / tooltips. This behavior, however, only reflects the required status of other subpages. This means that other prerequisite item types (e.g., Assignments, inline questions, etc.) do not trigger the greyed-out styling for the first subpage with "Don't Release Item Until All Prerequisites are Completed" selected.**

      NYU will be contributing an update to address this issue and ensure that all prerequisite item types are reflected in the styling of Lessons subpages in the left menu.

      Following this update, prerequisite checks will be accomplished via an AJAX request to the Lessons tool service following page load; this ensures that page load is unaffected. The subpage navigation javascript will then dynamically update the styling of the left menu to reflect any prerequisites.

      **Note that unavailable subpages remain inaccessible from the left menu, even if the greyed-out styling is not taking effect. This update simply ensures consistent visual styling for all prerequisite types.

       

        Gliffy Diagrams

          Attachments

          1. expected result.png
            328 kB
            Kyle Blythe
          2. SAK-33349_Step2_query.docx
            213 kB
            Harish

            Issue Links

              Activity

                People

                • Assignee:
                  paytengiles Payten Giles
                  Reporter:
                  kyle.blythe Kyle Blythe
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code