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

Support self conversations in the app

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Messages add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue should be tested both in Android and iOS.

      1. In the app, login in a site with MDL-64715 integrated.
      2. Go to messaging and check that you see a self conversation in favourites (unless you deleted or unstar it). Check that you see your picture, online status (green dot) and last message (if any).
      3. Open the self conversation and send a message. Check that everything works fine.
      4. Go offline and send a message. After that, go online and wait for it to be sent. Check that everything works fine.
      5. Open the top right menu. Check that you only see 3 options: star/unstar, show delete, and delete conversation.
      6. Check that you can star and unstar the self conversation using the top-right menu.
      7. Check that you can delete messages in the self conversation.
      8. Check that you can delete the conversation using the top-right menu.
      9. Once deleted, open the search view in messaging and search for your name. Check that you see yourself in the results.
      10. Open the self conversation from the list of search results. Check that everything works fine.
      11. Send a message to yourself from that view. Check that everything works fine.
      12. Go back to the list of discussions. Check that the self conversation is displayed there again (either in favourites or in private, depending on the setting).

      Also, please test this fix that was included in this issue:

      1. In the app, open a conversation that has more than 100 messages. If you need to send more messages to reach those 100, I recommend you to send different messages so you can tell the difference between them.
      2. Scroll top until you reach the "Load more". If it isn't triggered automatically, click the "Load more" button.
      3. Once loaded, check that the position you are in is more or less the same as you were before loading more messages. Please notice that the position could be different if the previous messages have images, videos and so. It's important that the position isn't set to top of the view.
      4. Repeat step 3 until you reach the start of the discussion.
      Show
      This issue should be tested both in Android and iOS. In the app, login in a site with  MDL-64715  integrated. Go to messaging and check that you see a self conversation in favourites (unless you deleted or unstar it). Check that you see your picture, online status (green dot) and last message (if any). Open the self conversation and send a message. Check that everything works fine. Go offline and send a message. After that, go online and wait for it to be sent. Check that everything works fine. Open the top right menu. Check that you only see 3 options: star/unstar, show delete, and delete conversation. Check that you can star and unstar the self conversation using the top-right menu. Check that you can delete messages in the self conversation. Check that you can delete the conversation using the top-right menu. Once deleted, open the search view in messaging and search for your name. Check that you see yourself in the results. Open the self conversation from the list of search results. Check that everything works fine. Send a message to yourself from that view. Check that everything works fine. Go back to the list of discussions. Check that the self conversation is displayed there again (either in favourites or in private, depending on the setting). Also, please test this fix that was included in this issue: In the app, open a conversation that has more than 100 messages. If you need to send more messages to reach those 100, I recommend you to send different messages so you can tell the difference between them. Scroll top until you reach the "Load more". If it isn't triggered automatically, click the "Load more" button. Once loaded, check that the position you are in is more or less the same as you were before loading more messages. Please notice that the position could be different if the previous messages have images, videos and so. It's important that the position isn't set to top of the view. Repeat step 3 until you reach the start of the discussion.
    • Affected Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle App 3.7.0

      Description

      Support self conversations in the app.

      The WebServices seem to return the information fine, I was able to view the conversation in the list and write to myself. We'd have to fix some things in the app though (add the new "merge" param, treat the type 3, change some strings to match the web behaviour, etc.).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: