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

Set default style of toast notifications as "info"

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      Default type

      1. Press Calendar from navigation menu
      2. Press Export calendar
      3. Fill in the form:
        • Events to export: All events
        • Time period: This month
      4. Press Get calendar URL
      5. Press Copy URL
      6. Confirm you see an information toast notification stating "Calendar URL copied to clipboard":

      Defined type

      Note that in order to make the "copy to clipboard" module show a warning, on Firefox we need to go to about:config and set dom.allow_cut_copy: false

      1. Repeat steps 1-5 as before
      2. Confirm you see a warning toast notification stating "Unable to copy text to the clipboard":
      Show
      Default type Press Calendar from navigation menu Press Export calendar Fill in the form: Events to export: All events Time period: This month Press Get calendar URL Press Copy URL Confirm you see an information toast notification stating "Calendar URL copied to clipboard": Defined type Note that in order to make the "copy to clipboard" module show a warning, on Firefox we need to go to about:config and set dom.allow_cut_copy: false Repeat steps 1-5 as before Confirm you see a warning toast notification stating "Unable to copy text to the clipboard":

    Description

      We've had nice styling of 'core/toast' notifications per type since MDL-71089 (info, danger, warning, success) but as of yet there is no use of them in core

      It would be nice if the default type of these notifications was "info" as the default black box gives little/no indication of how the user should interpret the notification - comparison below:

      Edit: please see comments from rafaellechugo below - default is now "info"

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              pholden Paul Holden
              Mikel Martín Corrales Mikel Martín Corrales
              Andrew Lyons Andrew Lyons
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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