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

Make messaging appear and behave as floating panel rather than a persistent drawer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Future Dev
    • Messages
    • MDL-82539-main
    • Hide

      Testing

      1. Login as admin user
      2. Once logged in click on message icon on the header next to notification icon
      3. Verify that the messaging behaviour is popover and not sliding anymore
      4. Verify that there is triangle under the message icon in the header
      5. Verify that it looks the same as the screenshot attached
      6. Click on your name in starred message
      7. Click on three horizontal dots option button
      8. Press escape key
      9. Verify that the drop down is hidden like the current behaviour
      10.  Click outside the message popover or press escape key
      11. Verify that the message popover is hidden

      Testing from participant page

      1. Login as admin user
      2. Create a course if you don't have one
      3. Go to participants page
      4. Add a student in the course if you don't have any yet
      5. Click on student's name and you'll be shown the student's profile
      6. Click on "Message"
      7. Verify that the messaging behaviour is popover and not sliding anymore
      8. Verify that there is triangle under the message icon in the header
      9. Verify that it looks the same as the screenshot attached
      10. Verify that you are taken to that user's chat
      11. Click on back button
      12. Click on your name in starred message
      13. Click on three horizontal dots option button
      14. Press escape key
      15. Verify that the drop down is hidden like the current behaviour
      16.  Click outside the message popover or press escape key
      17. Verify that the message popover is hidden
      18. Verify that the "Message" is focused
      19. Press tab key
      20. Verify that the next element "Add to contacts" is focused

      Testing using "tab" key

      1. Login as admin user
      2. Once logged in, tab through the nab bar and press enter and tab through the message popup
      3. Verify that all worked well except the last index of the message popup that does not go to profile picture which will be covered in MDL-72028
      Show
      Testing Login as admin user Once logged in click on message icon on the header next to notification icon Verify that the messaging behaviour is popover and not sliding anymore Verify that there is triangle under the message icon in the header Verify that it looks the same as the screenshot attached Click on your name in starred message Click on three horizontal dots option button Press escape key Verify that the drop down is hidden like the current behaviour  Click outside the message popover or press escape key Verify that the message popover is hidden Testing from participant page Login as admin user Create a course if you don't have one Go to participants page Add a student in the course if you don't have any yet Click on student's name and you'll be shown the student's profile Click on "Message" Verify that the messaging behaviour is popover and not sliding anymore Verify that there is triangle under the message icon in the header Verify that it looks the same as the screenshot attached Verify that you are taken to that user's chat Click on back button Click on your name in starred message Click on three horizontal dots option button Press escape key Verify that the drop down is hidden like the current behaviour  Click outside the message popover or press escape key Verify that the message popover is hidden Verify that the "Message" is focused Press tab key Verify that the next element "Add to contacts" is focused Testing using "tab" key Login as admin user Once logged in, tab through the nab bar and press enter and tab through the message popup Verify that all worked well except the last index of the message popup that does not go to profile picture which will be covered in MDL-72028
    • 6
    • Team Hedgehog 2024 Sprint 3.1, Team Hedgehog 2024 Sprint 3.2

      Currently messaging has the appearance and behaviour of a persistent drawer, similar to the blocks drawer. We would like to update this to behave more like features such as the notifications popover, where it is "floating" and only visible while it has focus. The requirements are:

      1. Shift the pane to the left slightly (eg 20px) so that it is not hard against the right margin.
      2. Adjust the height to 90% so it does not touch the bottom of the screen.
      3. Change the "top" from 60px to 72px, so that it is not touching the top pane of the page (this will align it with the top of the notifications popover).
      4. Replace the box shadow with what the notifications popover is using (not sure if it's a preset, but the outcome is border: 1px solid #ddd ) - this  provides a defined outline of a floating box, rather than an affixed drawer.
      5. Hide messaging if it loses focus (eg if you click somewhere else on the page). I would expect it will remain in the same state while you remain on a page, so for example if you click out of it to copy some text (or by accident), you can pick up where you left off.
      6. Remove all animations (ie it should not slide in/out from the right of the page).
      7. Remove the closing 'x' button at the top right (but retain the same padding between the top of the panel and the search input). Visibility is not controlled by focus (and also by clicking the messaging icon, which is already possible).
      8. Add the "up" triange at the bottom of the messaging icon, consistent with the notifications icon when that is opened.

      An added benefit of this change is that this will reduce complexity when implementing the AI drawer, as it will only require interacting with the blocks drawer. All of the other items occupying a similar space on the page (notifications popover, user dropdown, and now messaging) will naturally be hidden because clicking the AI option will trigger non-persistent items to auto collapse/hide.

      Example outcome (mocked in-browser from the above requirements):

        1. MDL-82539_messaging_example.png
          34 kB
          Michael Hawkins
        2. MDL-82539_notclosed.gif
          437 kB
          Sara Arjona (@sarjona)
        3. MDL-82539_responsive.png
          23 kB
          Meirza

            stevani.andolo@moodle.com Stevani Andolo
            michaelh Michael Hawkins
            Meirza Meirza
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 6 hours, 18 minutes
                1w 6h 18m

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