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

Standardize the Lessons subpage next / back button behavior

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.7, 19.2, 20.0
    • Fix Version/s: None
    • Component/s: Lessons
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      I have a question about Lessons subpage next / back button behavior.
      For example if you have sub pages set up like:

      https://trunk-mysql.nightly.sakaiproject.org/portal/site/8b24b84f-a5db-4c58-af43-371e3741beff

      • animals
        • cats
        • dogs
          • hound
          • hotdog
          • beagle
          • husky
          • bulldog
          • poodle
        • fish
        • giraffe

      Then

      1. click 'animals'
      2. click 'dogs'
      3. click 'beagle'
      4. click next, it will go to 'husky' (the next page in the sequence on that level)
      5. click next, it will go to 'bulldog'
      6. click next, it will go to 'poodle'
      7. click back, it will go to 'bulldog'
      8. click back, it will go to 'husky'
      9. click back, it will go to 'beagle'
      10. click back, it will go to 'dogs'... I was expecting it to go to 'hotdog'?

      In this scenario, It the 'next' button shows the next page in the sequence (or level?). But the back button behaves like a "browser back button" where it goes the the previous pave visited. It's a bit confusing that the two buttons have different behaviors.

      Here's another scenario:

      1. click 'animals'
      2. click 'dogs'
      3. click 'bulldog'
      4. click next, it will go to 'poodle'
      5. click next, it will go to 'dogs' (the parent level)
      6. click back, it will go to 'animals' (the root level)

      When you click next from poodle and it goes to 'dogs', that seems ok since 'poodle' is the last subpage on that level, so it goes back to it's parent level. But then when you click 'back' and it goes to 'animals' that's a bit confusing... considering the previous example where the back button sort of behaved like a 'browser back button'.

      Similarly:

      1. click 'animals'
      2. click 'cats'
      3. click 'dogs'
      4. click 'bulldog'
      5. click next, it will go to 'poodle'
      6. click next, it will go to 'dogs'
      7. click back, it will go to 'cats'

      Compared to the previous example, when you clicked 'back' in the last step, it went to 'cats' because you visited 'cats'.

      Perhaps both buttons should have similar behaviors? Either both should go forwards and backwards to all pages on the same level. Or both should behave like the browser next/back buttons. With the next button greyed out until you visit that page?

      Also, here are some existing JIRAs that sounded similar:

      https://jira.sakaiproject.org/browse/SAK-37681 Next pages confusing (closed as non-issue)
      https://jira.sakaiproject.org/browse/SAK-37417 Next button on a Lessons subpage does not work as expected
      https://jira.sakaiproject.org/browse/SAK-37630 Breadcrumb logic for subpages of next pages

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  austinUH Austin
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration