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

Remove old messaging UI and replace with new widget

XMLWordPrintable

    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-63915_master
    • Hide
      Prerequisites.
      1. A site with multiple users.
      2. Site-wide messaging enabled ('messagingallusers' is the setting name).
      3. Create a course.
      4. Enrol multiple users.
      5. Create a group with 'Group messaging' to 'Yes'.
      6. Assign all the users you enrolled into that group.
      7. Log in as one of the users in the group.
      8. In the messaging UI search for another user.
      9. Send them a message.
      10. Search for another user.
      11. Send them a message.
      12. View one of the conversations in 'Private' and click on the '...' on the top-right.
      13. Select 'Star'.
      Test 1
      1. Do a grep for 'MDL-63915' and confirm there are no occurrences (ignore the one in message/upgrade.txt).
      Test 2
      1. Log in as an admin.
      2. Visit a user's profile.
      3. Confirm clicking on 'Message' in their profile opens up the messaging drawer.
      4. Confirm you can send them a message.
      Test 3
      1. Log in as the user in multiple conversations (see Prerequisites).
      2. Open up your messaging drawer.
      3. Click on the link 'See all'.
      4. Repeat steps in MDL-63303 on the message/index.php page but there is no need to test on multiple browsers, or RTL or screen readers (but please test on themes 'Boost' and 'Clean').
      Test 4 (Regression test)
      1. Repeat steps in MDL-63303 on the messaging drawer but there is no need to test on multiple browsers, or RTL or screenreaders (but please test on themes 'Boost' and 'Clean').
      Show
      Prerequisites. A site with multiple users. Site-wide messaging enabled ('messagingallusers' is the setting name). Create a course. Enrol multiple users. Create a group with 'Group messaging' to 'Yes'. Assign all the users you enrolled into that group. Log in as one of the users in the group. In the messaging UI search for another user. Send them a message. Search for another user. Send them a message. View one of the conversations in 'Private' and click on the '...' on the top-right. Select 'Star'. Test 1 Do a grep for ' MDL-63915 ' and confirm there are no occurrences (ignore the one in message/upgrade.txt). Test 2 Log in as an admin. Visit a user's profile. Confirm clicking on 'Message' in their profile opens up the messaging drawer. Confirm you can send them a message. Test 3 Log in as the user in multiple conversations (see Prerequisites). Open up your messaging drawer. Click on the link 'See all'. Repeat steps in MDL-63303 on the message/index.php page but there is no need to test on multiple browsers, or RTL or screen readers (but please test on themes 'Boost' and 'Clean'). Test 4 (Regression test) Repeat steps in MDL-63303 on the messaging drawer but there is no need to test on multiple browsers, or RTL or screenreaders (but please test on themes 'Boost' and 'Clean').

      Unfortunately the old messaging UI needed to stay for the 3.6 release. By default landing on the message/index.php page will simply open the new messaging drawer except for in one specific case where a person with sufficient capabilities (i.e. admin) is able to view the conversation between two other users.

      This functionality can be access from only one place in Moodle which is from the event logs in the site admin. Clicking on the related URL for a messaging log (for example blocking a user or deleting a message) will take the admin to the old messaging interface and load up that conversation.

      We need to determine what we want to do with that functionality, either remove it or implement it in the new messaging UI. Once the decision is made we can remove the old UI.

      Don't forget that we need to also remove all of the related CSS, templates in both themes when removing the old UI.

      Update (03 Jan 2019):

      Rather than remove the old UI we will also embed the new messaging UI on the old index.php page. Giving users an option to use messaging with the drawer or this page which will provide a wider view with more space to read and write messages.

      There will have to be a link on the new messaging drawer to allow people to navigate to the full messages/index.php page.

            markn Mark Nelson
            ryanwyllie Ryan Wyllie
            Ryan Wyllie Ryan Wyllie
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour
                1d 1h

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