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

Make it possible to style toast notifications

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-71089-311
    • MDL-71089-master
    • Hide

      Testing new features:

      1. Download block_mdl71089.zip block and install it
      2. Add the block to the dashboard
      3. Test different notification options in the block
        1. Check "Show standard Toast" autohides
        2. Check any other "Show ... Toast" notification closes when clicking "X" right button

      Testing no-regression:

      1. Create a new course
      2. Access to participants page
      3. Enrol a new participant
      4. Check that "1 enrolled users" notification is shown
         
      Show
      Testing new features: Download  block_mdl71089.zip block and install it Add the block to the dashboard Test different notification options in the block Check "Show standard Toast" autohides Check any other "Show ... Toast" notification closes when clicking "X" right button Testing no-regression: Create a new course Access to participants page Enrol a new participant Check that "1 enrolled users" notification is shown  

    Description

      It would be good to have the possibility to add some styling to the toast notifications.

      I would approach it adding an extra configuration parameter in toast like "type: info/danger/warning/success". Then notification colors could be changed and an icon added.

       

       

      Attachments

        Issue Links

          Activity

            People

              mikelmartíncorrales Mikel Martín Corrales
              mikelmartíncorrales Mikel Martín Corrales
              Paul Holden Paul Holden
              Víctor Déniz Falcón Víctor Déniz Falcón
              Gladys Basiana Gladys Basiana
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours, 15 minutes
                  7h 15m