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

Messaging: reorder conversations in the UI after message is sent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.4
    • 3.7
    • Messages
    • MOODLE_37_STABLE
    • MOODLE_36_STABLE
    • MDL-65134-master
    • Hide

      Prerequisites:

      1. A course with 2 students and a teacher

      Testing:

      Case 1

      1. As a teacher, open up the message drawer by clicking on the chat icon on the menu bar.
      2. Click on the search text box
      3. Search for student 1(S1) and start a conversation
      4. Click on the back button in the message drawer
      5. Click on the search text box
      6. Search for student 2(S2) and start a conversation
      7. Click on the back button in the message drawer
      8. Confirm the last message entered appears along with the time sent and the author.
      9. Confirm the conversation with S2 appears above S1.
      10. Click on the back button and continue the conversation with S1.
      11. Click on the back button and confirm S1 now appears above S2
      12. Repeat #8

      Case 2

      1. Repeat above after starring the 2 conversations

      Case 3 (Only on master)

      1. Repeat Case 1 and 2 when in the messaging index page accessed via the following steps:
        1. Open the message drawer
        2. Click the 'See all' link at the bottom of the drawer

      Case 4

      1. As a teacher go to the course dashboard
      2. Open the settings dropdown menu and click the 'More' menu item
      3. Go to the 'Users' tab and select 'Groups'
      4. Create 2 new groups with messaging enabled and the following members:
        1. Group 1 - Teacher and S1
        2. Group 2 - Teacher and S2
      5. Refresh the page and open the messaging drawer.
      6. Confirm 2 groups appear in the 'Group' section.
      7. Select 'Group 2' and enter a message.
      8. Click the back button on the conversation
      9. Confirm Group 2 appears above Group 1 with the details of the message you entered along with the time.
      10. Repeat #7-#8 with Group 1
      11. Confirm Group 1 now appears above Group 2 with the details of the message you entered along with the time. 

      Case 5

      1. Repeat steps #5- #11 (in case 4) after starring group conversations
      Show
      Prerequisites: A course with 2 students and a teacher Testing: Case 1 As a teacher, open up the message drawer by clicking on the chat icon on the menu bar. Click on the search text box Search for student 1(S1) and start a conversation Click on the back button in the message drawer Click on the search text box Search for student 2(S2) and start a conversation Click on the back button in the message drawer Confirm the last message entered appears along with the time sent and the author. Confirm the conversation with S2 appears above S1. Click on the back button and continue the conversation with S1. Click on the back button and confirm S1 now appears above S2 Repeat #8 Case 2 Repeat above after starring the 2 conversations Case 3 (Only on master) Repeat Case 1 and 2 when in the messaging index page accessed via the following steps: Open the message drawer Click the 'See all' link at the bottom of the drawer Case 4 As a teacher go to the course dashboard Open the settings dropdown menu and click the 'More' menu item Go to the 'Users' tab and select 'Groups' Create 2 new groups with messaging enabled and the following members: Group 1 - Teacher and S1 Group 2 - Teacher and S2 Refresh the page and open the messaging drawer. Confirm 2 groups appear in the 'Group' section. Select 'Group 2' and enter a message. Click the back button on the conversation Confirm Group 2 appears above Group 1 with the details of the message you entered along with the time. Repeat #7-#8 with Group 1 Confirm Group 1 now appears above Group 2 with the details of the message you entered along with the time.  Case 5 Repeat steps #5- #11 (in case 4) after starring group conversations

      Related, but not blocking this issue: MDL-65144.

      To replicate:

      1. checkout MDL-65144.
      2. Make sure you have an old conversation (older than 1 day), and a few others with messages that are from today:
      3. Notice that on the main conversations list the old conversation is at the bottom (or towards the bottom) of it's respective section.
      4. Send a message in the old conversation
      5. Navigate back to the main conversations list
      6. Notice the old conversation is now shown with a time instead of a date, but has not moved to the appropriate spot (top) in the section.

      This is an existing problem only highlighted by the switch to distinct date/time stamps based on recent message age (MDL-65144).

        1. image-2019-05-03-13-31-13-673.png
          23 kB
          Anna Carissa Sadia
        2. MDL-65134.jpg
          56 kB
          Anna Carissa Sadia

            peterdias Peter Dias
            jaked Jake Dallimore
            Ryan Wyllie Ryan Wyllie
            Jake Dallimore Jake Dallimore
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 7 hours
                3d 7h

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