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

Most recent message in conversation shown in popover and contact panel should indicate who sent it

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Create two students on the site and enrol them into a course.
      2. Log in as student A and visit the messaging page.
      3. Search for student B on the contacts panel and click 'View conversation'.
      4. Send student B a message.
      5. Check that on the left contact panel it says 'You:' before the message you wrote.
      6. Click on the message drop down in the top right and ensure it says 'You:' before the message you wrote.
      7. Do a search for the content of the message and ensure it says 'You'.
      8. Log in as student B.
      9. Go to your messages page and check that on the left contact panel it does not say 'You:' before the message.
      10. Click on the message drop down in the top right and ensure it does not say 'You:' before the message.
      11. Do a search for the content of the message and ensure it does not say 'You:' before the message.
      12. Send a reply and check that on the left contact panel it says 'You:' before the message you wrote.
      13. Do a search for the content of the message and ensure it says 'You'.
      14. Refresh the page.
      15. Click on the message drop down in the top right and ensure it says 'You:' before the message you wrote.
      16. Log in as student A.
      17. Go to your messages page and check that on the left contact panel it does not say 'You:' before the message.
      18. Click on the message drop down in the top right and ensure it does not say 'You:' before the message.
      19. Do a search for the content of the message and ensure it does not say 'You:' before the message.
      20. Send another message to student B.
      21. Check that on the left contact panel it does say 'You:' before the message.
      22. Delete the last message in the conversation.
      23. Check that on the left contact panel it does not say 'You:' before the message.
      24. Delete the last message in the conversation.
      25. Check that on the left contact panel it does say 'You:' before the message.
      Show
      Create two students on the site and enrol them into a course. Log in as student A and visit the messaging page. Search for student B on the contacts panel and click 'View conversation'. Send student B a message. Check that on the left contact panel it says 'You:' before the message you wrote. Click on the message drop down in the top right and ensure it says 'You:' before the message you wrote. Do a search for the content of the message and ensure it says 'You'. Log in as student B. Go to your messages page and check that on the left contact panel it does not say 'You:' before the message. Click on the message drop down in the top right and ensure it does not say 'You:' before the message. Do a search for the content of the message and ensure it does not say 'You:' before the message. Send a reply and check that on the left contact panel it says 'You:' before the message you wrote. Do a search for the content of the message and ensure it says 'You'. Refresh the page. Click on the message drop down in the top right and ensure it says 'You:' before the message you wrote. Log in as student A. Go to your messages page and check that on the left contact panel it does not say 'You:' before the message. Click on the message drop down in the top right and ensure it does not say 'You:' before the message. Do a search for the content of the message and ensure it does not say 'You:' before the message. Send another message to student B. Check that on the left contact panel it does say 'You:' before the message. Delete the last message in the conversation. Check that on the left contact panel it does not say 'You:' before the message. Delete the last message in the conversation. Check that on the left contact panel it does say 'You:' before the message.
    • Affected Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55623_master

      Description

      We need to indicate who was the person who sent the last message viewed. This is done in numerous apps (see FB, telegram, skype, text messaging). Currently you have no idea if the last message shown in the popover or contact panel was from you or the other user.

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Ryan Wyllie
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: