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

Support tags in the app

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.7.1
    • Component/s: Tags
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device of your choice.

      1. In the app, log in to moodle.org.
      2. Check the main menu has a "Tags" item between "Files" and "Website".
      3. Go to Tags and check that a tag cloud is displayed, and "Showing 150 most popular tags" is displayed at the bottom of the page.
      4. Search for "cats" and check a few tags are displayed, but not the message at the bottom.
      5. Search for "tardigrades" and check the message "No tags matching "tardigrades" found" is displayed.

      6. In web, go to a 3.7 site with enabled tags.
      7. Go to Site administration > Appearance > Manage tags
      8. Create a new collection called "Courses collection" and set it as the collection for the "Courses" tag area.
      9. Add a tag called "Testing" to different types of items:

      • Activities and resources
      • Blog posts
      • User interests (in user profiles)
      • Book chapters
      • Data records
      • Glossary entries
      • Wiki pages

      10. Add the "Testing" tag to 21 forum posts.
      11. Add a tag called "Courses" to some courses.

      12. In the app, log in to the 3.7 site and go to the Tags page.
      13. Check the created tags are displayed and there'se a sselector with the tag collections.
      14. Select the "Default collection" and check the "Courses" tag is not displayed in the cloud.
      15. Select the "Courses collection" and check the "Courses" tag is displayed.
      16. Select "Everywhere" collection and check all tags are displayed.
      17. Click the "Testing" tag. Check that a list of tag areas is displayed (all except Courses):

      • Activities and resources
      • Blog posts
      • User interests
      • Book chapters
      • Data records
      • Forum posts
      • Glossary entries
      • Wiki pages

      18. Go to "Activities and resources" and check that the list of tagged activities is displayed with the activity name, course name and module icon.
      19. Click an item and check the activity is opened in the app.
      20. Go back to the list of tag areas, click "Blog posts" and check the list of tagged posts is displayed with the subject, user name, user avatar and time.
      21. Click an item and check the post is opened in the app.
      22. Check the post contains the list of tags of the post.
      23. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      24. Click "User interests" and check the list of tagged users is displayed with the user name and avatar.
      25. Click an item and check the user profile is opened in the app.
      26. Go back to the list of tag areas, click "Book chapters" and check the list of tagged chapters is displayed with the title, the name of the book, the name of the course and book icon.
      27. Click an item and check the book is opened in the app.
      28. Check the page contains the list of tags of the page.
      29. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      30. Go back to the list of tag areas, click "Data records" and check the list of tagged records is displayed with the title, the name of the activity, the name of the course and database icon.
      31. Click an item and check the record is opened in the app.
      32. Check the data records contains the list of tags of the record.
      33. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      35. Click "Forum posts" and check the list of tagged posts is displayed with the subject, the name of the activity, the name of the course and forum icon.
      36. Scroll to the bottom and make sure 21 items are displayed.
      37. Click an item and check the post is opened in the app.
      38. Check the post contains the list of tags of the post.
      39. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      40. Click "Glossary entries" and check the list of tagged entries is displayed with the name of the entry, the name of the activity, the name of the course and glossary icon.
      41. Click an item and check the entry is opened in the app.
      42. Check the entry contains the list of tags of the entry.
      43. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      44. Click "Wiki pages" and check the list of tagged pages is displayed with the name of the page, the name of the wiki, the name of the course and wiki icon.
      45. Click an item and check the page is opened in the app.
      46. Check the page contains the list of tags of the page.
      47. Click the "Testing" tag and check the tag page is opened with the list of tag areas.
      48. Go back to the tags page and click the "Courses" tag.
      49. Click "Courses" and check the list of tagged courses is displayed with the name of the course and the category.
      50. Click an item and check the course is opened in the app.

      51. Go to the database activity that has some tagged records.
      52. Click on the add button. Check that the tags fields contains the message: "Sorry, editing tags is not supported by the app".
      53. Click on the edit button of an entry. Check that the tags fields contains the message: "Sorry, editing tags is not supported by the app".
      54. Go back to the list of entries.
      55. Click the search button in the toolbar and go to the Advanced search tab. Check that the tags fields contains the message: "Sorry, searching by tags is not supported by the app".

      56. Add a forum post with links to these URLs in the app:
           A) /tag/search.php
           B) /tag/search.php?query=Testing
           C) /tag/search.php?tc=1
           D) /tag/search.php?tc=1&query=Testing
           E) /tag/index.php
           F) /tag/index.php?tag=Testing
           G) /tag/index.php?tc=1&tag=Testing
           H) /tag/index.php?tc=1&tag=Testing&ta=1
      57. In the app, click on each of the links and check they open these pages:
           A) The Tags page showing all tags.
           B) The Tags page filtered by "Testing".
           C) The Tags page showing the "Default collection".
           D) The Tags page showing the "Default collection" filtered by "Testing".
           E) Same as A
           F) Same as A
           G) The page of tag areas for tag "Testing".
           H) The page of users tagged with "Testing".

      58. In web, go to a 3.6 site with tags enabled.
      59. Add a tag to an item of each type:

      • Blog posts
      • Book chapters
      • Data records
      • Forum posts
      • Glossary entries
      • Wiki pages

      60. In the app, log in to the 3.6 site.
      61. Check the main menu does not include the "Tags" item.
      62. Go to each tagged item and check tags are not displayed.

      63. Install the attached plugin (local_mobile_2201.zip) in a 3.7 site. This plugin defines a tag area that is not supported by the app.
      64. Make sure tags are enabled on the site and at least one item has been tagged (a forum post for example).
      65. In the app, log in to the site and go to "Tags" in the main menu.
      66. Click on a tag and check the following warning is displayed on top of the list of tag areas: "Some of the tag areas are not displayed because they are not supported by the app".

      Show
      Test on any device of your choice. 1. In the app, log in to moodle.org. 2. Check the main menu has a "Tags" item between "Files" and "Website". 3. Go to Tags and check that a tag cloud is displayed, and "Showing 150 most popular tags" is displayed at the bottom of the page. 4. Search for "cats" and check a few tags are displayed, but not the message at the bottom. 5. Search for "tardigrades" and check the message "No tags matching "tardigrades" found" is displayed. 6. In web, go to a 3.7 site with enabled tags. 7. Go to Site administration > Appearance > Manage tags 8. Create a new collection called "Courses collection" and set it as the collection for the "Courses" tag area. 9. Add a tag called "Testing" to different types of items: Activities and resources Blog posts User interests (in user profiles) Book chapters Data records Glossary entries Wiki pages 10. Add the "Testing" tag to 21 forum posts. 11. Add a tag called "Courses" to some courses. 12. In the app, log in to the 3.7 site and go to the Tags page. 13. Check the created tags are displayed and there'se a sselector with the tag collections. 14. Select the "Default collection" and check the "Courses" tag is not displayed in the cloud. 15. Select the "Courses collection" and check the "Courses" tag is displayed. 16. Select "Everywhere" collection and check all tags are displayed. 17. Click the "Testing" tag. Check that a list of tag areas is displayed (all except Courses): Activities and resources Blog posts User interests Book chapters Data records Forum posts Glossary entries Wiki pages 18. Go to "Activities and resources" and check that the list of tagged activities is displayed with the activity name, course name and module icon. 19. Click an item and check the activity is opened in the app. 20. Go back to the list of tag areas, click "Blog posts" and check the list of tagged posts is displayed with the subject, user name, user avatar and time. 21. Click an item and check the post is opened in the app. 22. Check the post contains the list of tags of the post. 23. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 24. Click "User interests" and check the list of tagged users is displayed with the user name and avatar. 25. Click an item and check the user profile is opened in the app. 26. Go back to the list of tag areas, click "Book chapters" and check the list of tagged chapters is displayed with the title, the name of the book, the name of the course and book icon. 27. Click an item and check the book is opened in the app. 28. Check the page contains the list of tags of the page. 29. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 30. Go back to the list of tag areas, click "Data records" and check the list of tagged records is displayed with the title, the name of the activity, the name of the course and database icon. 31. Click an item and check the record is opened in the app. 32. Check the data records contains the list of tags of the record. 33. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 35. Click "Forum posts" and check the list of tagged posts is displayed with the subject, the name of the activity, the name of the course and forum icon. 36. Scroll to the bottom and make sure 21 items are displayed. 37. Click an item and check the post is opened in the app. 38. Check the post contains the list of tags of the post. 39. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 40. Click "Glossary entries" and check the list of tagged entries is displayed with the name of the entry, the name of the activity, the name of the course and glossary icon. 41. Click an item and check the entry is opened in the app. 42. Check the entry contains the list of tags of the entry. 43. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 44. Click "Wiki pages" and check the list of tagged pages is displayed with the name of the page, the name of the wiki, the name of the course and wiki icon. 45. Click an item and check the page is opened in the app. 46. Check the page contains the list of tags of the page. 47. Click the "Testing" tag and check the tag page is opened with the list of tag areas. 48. Go back to the tags page and click the "Courses" tag. 49. Click "Courses" and check the list of tagged courses is displayed with the name of the course and the category. 50. Click an item and check the course is opened in the app. 51. Go to the database activity that has some tagged records. 52. Click on the add button. Check that the tags fields contains the message: "Sorry, editing tags is not supported by the app". 53. Click on the edit button of an entry. Check that the tags fields contains the message: "Sorry, editing tags is not supported by the app". 54. Go back to the list of entries. 55. Click the search button in the toolbar and go to the Advanced search tab. Check that the tags fields contains the message: "Sorry, searching by tags is not supported by the app". 56. Add a forum post with links to these URLs in the app:      A) /tag/search.php      B) /tag/search.php?query=Testing      C) /tag/search.php?tc=1      D) /tag/search.php?tc=1&query=Testing      E) /tag/index.php      F) /tag/index.php?tag=Testing      G) /tag/index.php?tc=1&tag=Testing      H) /tag/index.php?tc=1&tag=Testing&ta=1 57. In the app, click on each of the links and check they open these pages:      A) The Tags page showing all tags.      B) The Tags page filtered by "Testing".      C) The Tags page showing the "Default collection".      D) The Tags page showing the "Default collection" filtered by "Testing".      E) Same as A      F) Same as A      G) The page of tag areas for tag "Testing".      H) The page of users tagged with "Testing". 58. In web, go to a 3.6 site with tags enabled. 59. Add a tag to an item of each type: Blog posts Book chapters Data records Forum posts Glossary entries Wiki pages 60. In the app, log in to the 3.6 site. 61. Check the main menu does not include the "Tags" item. 62. Go to each tagged item and check tags are not displayed. 63. Install the attached plugin (local_mobile_2201.zip) in a 3.7 site. This plugin defines a tag area that is not supported by the app. 64. Make sure tags are enabled on the site and at least one item has been tagged (a forum post for example). 65. In the app, log in to the site and go to "Tags" in the main menu. 66. Click on a tag and check the following warning is displayed on top of the list of tag areas: "Some of the tag areas are not displayed because they are not supported by the app".
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      i am trying to find courses by tags on mooodle mobile but it is not showing respective result. am i missing any setting .? 

        Balsamiq Wireframes

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                albert.gasset Albert Gasset
                Reporter:
                sdnyanesh Dnyanesh
                Peer reviewer:
                Dani Palou
                Integrator:
                Juan Leyva
                Tester:
                Pau Ferrer
                Participants:
                Component watchers:
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Aug/19