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

Add a user message tray feature

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.8.1
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_28_STABLE

      Description

      Add a message tray feature that permits themes to add an icon in the top navigation bar that notifies the unread messages and permits read and navigation to the message itself.

      We've been working on a message and notification tray that can be very interesting to replace the current popup message.

      It needs very little code, as you can see:

      https://github.com/projectestac/moodle-local_agora/tree/master/message_notifier

      And some improvements can be done. The current version notifies only the messages configured as Popup Notification in the Messaging uers settings.

      When there are messages, like in Facebook, appears a number on the message tray icon. And when you click on it, a list of message will be shown and an All message link (to go to messages). Additionaly, if you click on a message, a popup will be shown with its text: You can close or mark as read the message. It also have a link to the message page.

      Please discuss the adding of this feature on the forums:
      https://moodle.org/mod/forum/discuss.php?d=276934

        Attachments

        1. message_popup.png
          message_popup.png
          35 kB
        2. message_tray.png
          message_tray.png
          26 kB
        3. message-tray.diff
          455 kB
        4. message-tray.png
          message-tray.png
          115 kB

          Issue Links

            Activity

              People

              • Votes:
                26 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: