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

444 - Early redirects get overwritten by home tabs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 4.0.2
    • Site home add-on
    • MOODLE_400_STABLE

    Description

      Reported by Noel: When a user logs into the app, they are directed towards /main/home and the home page will, in turn redirect to /main/home/dashboard or elsewhere as necessary.

      The problem with this is that if a navigation happens before the home screen is loaded, the focus will be brought back again to the home tabs once loaded.

      This can be tested easily with upsell alerts, pressing "upgrade" as soon as the message appears (and before the home page is loaded completely). But it's probably relevant in other edge-cases, so it should be fixed holistically rather than making a patch for this particular use-case.


      Related test case: https://apps.next.moodle.com/local/apps_test/test.php?testcase=444&id=&os=android&version=25&componentfilter=0

      Considering that this is not a regression and it's likely that it was already happening, I'm leaving this for 4.2. I have tried to fix it but it caused other problems, so for now I'll leave it here. Here's the wip code: https://github.com/NoelDeMartin/moodleapp/tree/MOBILE-4081-fix-tabs-loading

      Attachments

        Activity

          People

            Unassigned Unassigned
            jleyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

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