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

When the tool menu is minimised each click on a tool causes the menu to expand and then contract

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.3, 12.0 [Tentative]
    • Fix Version/s: 12.0 [Tentative]
    • Component/s: Library, Portal
    • Labels:
      None
    • 11 status:
      Merge
    • Test Plan:
      Hide

      Minimise the tool menu sidebar.
      Click on other sites or tools in the same sites.
      the tool menu sidebar should not jump open and then close again. It should just stay where it is.

      Check the browsers javascript console when logged in and not logged in to ensure there are no errors. Before a patch on here it said

      Uncaught SyntaxError: Unexpected token {

      Show
      Minimise the tool menu sidebar. Click on other sites or tools in the same sites. the tool menu sidebar should not jump open and then close again. It should just stay where it is. Check the browsers javascript console when logged in and not logged in to ensure there are no errors. Before a patch on here it said Uncaught SyntaxError: Unexpected token {

      Description

      When the tool menu is minimised each click on a tool causes the menu to expand and then contract. This is down to the minimised state being handle by JS and a cookie, rather than the initial server side render cycle. It would be nicer if we could pass a flag to portal/tool indicating that we want the tools rendering minimised to start with and thus avoiding the glitch entirely. Or, we could push the minimised preference into the user's preferences using ajax and then honour that in the portal render.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  a.fish@lancaster.ac.uk Adrian Fish
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: