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

Support database entries rating

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.1
    • Component/s: Database add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device on a 3.4+ site.

      1. On web, enable rating in a database activity with some entries, with any aggregate method or scale.
      2. Rate an entry with different teachers / admins.
      3. Access the app with a teacher and go to a datavase entry.
      4. Check that the entry page display the current user rating and the aggregate of ratings.
      5. Click on the aggregate and check a page is displayed with the individual ratings.
      6. Change the rating an check the rating is saved on  web. Click on the aggregate again and check the new rating is displayed in the list of individual ratings.
      7. Switch to offline.
      8. Change the rating of an entry. Check that a toast is displayed saying the rating is saved offline and a warning is displayed on top of the list of entries.
      9. Switch to online and refresh the list of entries.
      10. Check that the offline warning is no longer displayed and check that the rating is saved on web.
      11. Access the app with a student and go to the database.
      12. Check that the student cannot rate entries and the aggregate of ratings  is not displayed.
      13. Using a database without rating, check that it still work as expected without any ui or functionality change
      Show
      Test on any device on a 3.4+ site. On web, enable rating in a database activity with some entries, with any aggregate method or scale. Rate an entry with different teachers / admins. Access the app with a teacher and go to a datavase entry. Check that the entry page display the current user rating and the aggregate of ratings. Click on the aggregate and check a page is displayed with the individual ratings. Change the rating an check the rating is saved on  web. Click on the aggregate again and check the new rating is displayed in the list of individual ratings. Switch to offline. Change the rating of an entry. Check that a toast is displayed saying the rating is saved offline and a warning is displayed on top of the list of entries. Switch to online and refresh the list of entries. Check that the offline warning is no longer displayed and check that the rating is saved on web. Access the app with a student and go to the database. Check that the student cannot rate entries and the aggregate of ratings  is not displayed. Using a database without rating, check that it still work as expected without any ui or functionality change
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      Allow database entries to be rated

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  29/Mar/19