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

Course selector shows options even if they are empty

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course, with the start and end dates set so that the course is in progress.
      2. Enrol a user on the course as a student.
      3. Log in to the app as the student user.
      4. The Course overview block should display the course.  The filter selector should be displayed with "In progress" selected.
      5. Click the filter selector
      6. "All" and "In progress" should be enabled.  All other options should be disabled.
      7. Create a second course, with the start and end dates set so that the course has finished.
      8. Enrol a user on the course as a student.
      9. Reload the app
      10. The Course overview block should display the "In progress" course.  The filter selector should be displayed, with "In progress" selected.
      11. Click on the filter selector
      12. The options "All", "In progress" and "Past" should be enabled, all other options should be disabled.
      13. Create a third course, with the start and end dates set so that the course has not yet started.
      14. Enrol a user on the course as a student.
      15. Reload the app.
      16. The Course overview block should display the "In progress" course.  The filter selector should be displayed, with "In progress" selected.
      17. Click on the filter selector
      18. The options "All", "In progress", "Past" and "Future" should be enabled. "Hidden" and "Starred" should be disabled.
      19. Log in to the Moodle site as the student user.  Using the Course overview block on the Dashboard, mark the "In progress" course as Hidden from view
      20. Reload the app
      21. The Course overview block should display the "Past" and "Future" courses.  The filter selector should be displayed, with "All" selected.
      22. Click on the filter selector
      23. The options "All", "Past" and "Future" and "Hidden" should be enabled. "In progress" and "Starred" should be disabled.
      24. Log in to the Moodle site as the student user.  Using the Course overview block on the Dashboard, mark the "Past" course as Starred
      25. Reload the app
      26. The Course overview block should display the "Past" and "Future" courses.  The filter selector should be displayed, with "All" selected.
      27. Click on the filter selector
      28. The options "All", "Past" and "Future", "Hidden" and "Starred" should be enabled. "In progress" should be disabled.
      Show
      Create a course, with the start and end dates set so that the course is in progress. Enrol a user on the course as a student. Log in to the app as the student user. The Course overview block should display the course.  The filter selector should be displayed with "In progress" selected. Click the filter selector "All" and "In progress" should be enabled.  All other options should be disabled. Create a second course, with the start and end dates set so that the course has finished. Enrol a user on the course as a student. Reload the app The Course overview block should display the "In progress" course.  The filter selector should be displayed, with "In progress" selected. Click on the filter selector The options "All", "In progress" and "Past" should be enabled, all other options should be disabled. Create a third course, with the start and end dates set so that the course has not yet started. Enrol a user on the course as a student. Reload the app. The Course overview block should display the "In progress" course.  The filter selector should be displayed, with "In progress" selected. Click on the filter selector The options "All", "In progress", "Past" and "Future" should be enabled. "Hidden" and "Starred" should be disabled. Log in to the Moodle site as the student user.  Using the Course overview block on the Dashboard, mark the "In progress" course as Hidden from view Reload the app The Course overview block should display the "Past" and "Future" courses.  The filter selector should be displayed, with "All" selected. Click on the filter selector The options "All", "Past" and "Future" and "Hidden" should be enabled. "In progress" and "Starred" should be disabled. Log in to the Moodle site as the student user.  Using the Course overview block on the Dashboard, mark the "Past" course as Starred Reload the app The Course overview block should display the "Past" and "Future" courses.  The filter selector should be displayed, with "All" selected. Click on the filter selector The options "All", "Past" and "Future", "Hidden" and "Starred" should be enabled. "In progress" should be disabled.
    • Affected Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MOBILE-3092_integration
    • Sprint:
      Moodle App 3.7.1

      Description

      On the Dashboard page, the course selector has 6 possible options:

      • All
      • In Progress
      • Past
      • Future
      • Hidden
      • Starred

      These options display regardless of whether there are any courses to show under each category. During our user testing, this has been a cause for confusion. Most of our users will only have options under the In Progress category at first, in which case it will show exactly the same courses as the "All" option.  They may also have courses under the Past category in the future.

      We'd like to make this UI simpler by hiding options which don't have any contents.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: