Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65529

Move "mark all as read" link for unread posts in a discussion into the dropdown menu

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites:

      1. A course with a forum activity
      2. 2 discussions within the forum - Discussion1 and Discussion2
      3. 2 users enrolled into the course - user1 as a teacher and user2 as a student.
      4. Forum tracking disabled for both users.
      5. 2 browsers(or  incognito tab) - User 1 in Browser 1 and User2 in browser2

      Testing Instructions:

      1. In browser2, as user2 go the 'Forum Preferences' in the profile settings
      2. Enable forum tracking
      3. In browser1 as user1 go to discussion1 and post a reply
      4. In browser2, go to the forum activity page and confirm you can see the unread count column.
      5. Confirm there is a count showing against the discussion1 and no tick mark next to it.
      6. Confirm you can see the action menu only for discussion1
      7. Confirm in the action menu accessed via the ellipsis icon, there exists only a "Mark all as read" option for discussion1
      8. Confirm there is a no count showing against the discussion2 and no tick mark next to it and no action menu option.
      9. Click on the 'Mark all as read' option in discussion1's action menu
      10. Confirm for discussion1, the count is 0 in the unread column and the action menu is not available available anymore.
      11. Still in browser2, post a reply in discussion1.
      12. In browser1, got to the forum activity
      13. Confirm in the action menu accessed via the ellipsis icon, there does not exist a "Mark all as read" option for discussion1
      14. Go to the 'Forum Preferences' in the profile settings and enable forum tracking
      15. Go back to the forum activity and confirm in the action menu accessed via the ellipsis icon, there exists a "Mark all as read" option for discussion1
      16. Repeat #3
      17. In browser2, go to the forum activity and into discussion1 and confirm you do not see a 'Settings' link on the top right.
      18. Repeat #11
      19. In browser1, go into discussion1
      20. Click on the 'Settings' link on the top right
      21. Confirm you do not see the 'Mark all as read' option.
      Show
      Prerequisites: A course with a forum activity 2 discussions within the forum - Discussion1 and Discussion2 2 users enrolled into the course - user1 as a teacher and user2 as a student. Forum tracking disabled for both users. 2 browsers(or  incognito tab) - User 1 in Browser 1 and User2 in browser2 Testing Instructions: In browser2, as user2 go the 'Forum Preferences' in the profile settings Enable forum tracking In browser1 as user1 go to discussion1 and post a reply In browser2, go to the forum activity page and confirm you can see the unread count column. Confirm there is a count showing against the discussion1 and no tick mark next to it. Confirm you can see the action menu only for discussion1 Confirm in the action menu accessed via the ellipsis icon, there exists only a "Mark all as read" option for discussion1 Confirm there is a no  count showing against the discussion2 and no tick mark next to it and no action menu option. Click on the 'Mark all as read' option in discussion1's action menu Confirm for discussion1, the count is 0 in the unread column and the action menu is not available available anymore. Still in browser2, post a reply in discussion1. In browser1, got to the forum activity Confirm in the action menu accessed via the ellipsis icon, there does not exist a "Mark all as read" option for discussion1 Go to the 'Forum Preferences' in the profile settings and enable forum tracking Go back to the forum activity and confirm in the action menu accessed via the ellipsis icon, there exists a "Mark all as read" option for discussion1 Repeat #3 In browser2, go to the forum activity and into discussion1 and confirm you do not see a 'Settings' link on the top right. Repeat #11 In browser1, go into discussion1 Click on the 'Settings' link on the top right Confirm you do not see the 'Mark all as read' option.
    • Affected Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65529-master

      Description

      When a user is tracking a forum so that they get notified about unread posts we show them the number of unread posts and a link to mark all of the posts as read when they view the forum.

      However the number of unread posts is a link to view the first of the unread posts and the link to mark all posts as read is right next to it. Both links are very small. It would be very easy to accidentally click on one rather than the other (particularly on a mobile device).

      One suggestion would be to move the link to mark all of the posts as read into the action menu at the end of the row. This should prevent users accidentally clicking it.

      Will need to coordinate with the UX team here too.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m