Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4028

Improve UX of logout when there is a form active (tablet only)

XMLWordPrintable

    • Hide

      This issue only needs to be tested in 1 device. It needs to be a tablet.

      I added behat tests to cover most of the use cases, but we'll also do some manual testing here.

      1. Login in any site, open a forum and open any discussion.
      2. Open the user menu at the top left (that's why you need a tablet) and do a Logout or Switch account. Check that the logout/switch is done successfully, it's no longer blocked as it used to be.
      3. Open a forum again but now click to add a new discussion.
      4. Write something in title or message.
      5. Open the user menu at the top left and click to do a Logout or Switch account. Check that you see a confirm modal saying the changes will be lost.
      6. Click Cancel. Check that you aren't logged out, e.g. you can leave the forum and open another activity.
      7. Now open the forum again, click to add new discussion and write something in title or message.
      8. Do a Logout or Switch account and, in the confirm modal, click OK. Check that the logout/switch is done successfully.
      9. Apart from this, the Logout and Switch account should behave as it used to, we'll test this more thoroughly during the pre-release QA.
      Show
      This issue only needs to be tested in 1 device. It needs to be a tablet . I added behat tests to cover most of the use cases, but we'll also do some manual testing here. Login in any site, open a forum and open any discussion. Open the user menu at the top left (that's why you need a tablet) and do a Logout or Switch account. Check that the logout/switch is done successfully, it's no longer blocked as it used to be. Open a forum again but now click to add a new discussion. Write something in title or message. Open the user menu at the top left and click to do a Logout or Switch account. Check that you see a confirm modal saying the changes will be lost. Click Cancel. Check that you aren't logged out, e.g. you can leave the forum and open another activity. Now open the forum again, click to add new discussion and write something in title or message. Do a Logout or Switch account and, in the confirm modal, click OK. Check that the logout/switch is done successfully. Apart from this, the Logout and Switch account should behave as it used to, we'll test this more thoroughly during the pre-release QA.
    • MOODLE_402_STABLE
    • Moodle Apps - 2024 i4.2, Moodle Apps - 2024 i4.3

      For now we decided to block logout if there is an active form to prevent problems. We should display the confirm to discard changes before doing the logout, and if the user confirms then we should logout.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 12 minutes
                3d 12m

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