Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4062 Moodle App UI&UX improvements for 4.1.0
  3. MOBILE-4034

Improve the UX when the user needs to complete some required profile fields

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0
    • 4.0.2
    • Users
    • Hide

      This issue only needs to be tested in 1 device.

      Test complete profile

      1. As admin, go to "Site administration > Users > Accounts > User profile fields".
      2. Click "Create a new profile field" and select "Text input".
      3. Set a name and short name, and also mark Yes in "Is this field required?".
      4. Save changes, you will be redirected to the edit profile page.
      5. In the app, login with any user. Check that you see a page explaining that you need to complete your profile.
      6. Click "Complete profile", check that InAppBrowser is opened to edit the profile.
      7. Set a value to the new required field and save changes. Check that the InAppBrowser is closed automatically and the app renders the site initial page (e.g. My Courses).

      Test force password change

      1. As admin, edit a user profile and mark the checkbox to force password change.
      2. In the app, login with the user that was edited in step 1. Check that you see the page explaining that you need to change the password.
      3. Click "Change password", check that InAppBrowser is opened to change the password.
      4. Set a new password and save changes. Check that the InAppBrowser is closed automatically and the app renders the site initial page (e.g. My Courses).
      Show
      This issue only needs to be tested in 1 device. Test complete profile As admin, go to "Site administration > Users > Accounts > User profile fields". Click "Create a new profile field" and select "Text input". Set a name and short name, and also mark Yes in "Is this field required?". Save changes, you will be redirected to the edit profile page. In the app, login with any user. Check that you see a page explaining that you need to complete your profile. Click "Complete profile", check that InAppBrowser is opened to edit the profile. Set a value to the new required field and save changes. Check that the InAppBrowser is closed automatically and the app renders the site initial page (e.g. My Courses). Test force password change As admin, edit a user profile and mark the checkbox to force password change. In the app, login with the user that was edited in step 1. Check that you see the page explaining that you need to change the password. Click "Change password", check that InAppBrowser is opened to change the password. Set a new password and save changes. Check that the InAppBrowser is closed automatically and the app renders the site initial page (e.g. My Courses).
    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Moodle App 4.1.0

      Right now the app displays the error returned by Moodle (User not fully set-up) and opens the InAppBrowser. IMO it's better to have an implementation similar to the one we have with force password change (see screenshots).

      I discussed this with Edu and he agrees with using a similar approach to force password change:

      1. When the user logins or opens the app with an account that has a missing required profile field, he will see a specific page explaining the problem with 2 buttons: edit the profile (in InAppBrowser) or Switch account.
      2. If the user clicks to edit the profile, InAppBrowser will be opened with the page to edit the profile.
      3. Once the user has edited the profile, he will need to close the InAppBrowser. I'll check if there is any way to detect that the user already edited the profile so we can close it dynamically.
      4. After closing the browser, the user will be able to click a Reconnect button to access the site again. If the app is able to close IAB automatically in step 3 then the app should probably try to Reconnect automatically.

            dpalou Dani Palou
            dpalou Dani Palou
            Noel De Martin Noel De Martin
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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