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

Remove non-SVG icons

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_405_STABLE
    • MDL-82476-main
    • Hide
      1. From the Moodle folder, run the following command:

        find ./pix \( -path ./pix/g -o -path ./pix/s -o -path ./pix/u -o -path ./pix/y \) -prune -o \( -name "*.png" -o -name "*.jpg" -o -name "*.gif" \) -print

      2. Check all the icons listed are any of the following:
        1. Appear in the list of icons to be deprecated/removed in MDL-82460
        2. pix/moodlelogo.png
        3. pix/moodlelogo_grayhat.png
        4. pix/moodlenet.png
        5. pix/i/ajaxloader.gif
        6. pix/i/colourpicker.png
        7. pix/i/test.png
        8. pix/spacer.gif
      Show
      From the Moodle folder, run the following command: find ./pix \( -path ./pix/g -o -path ./pix/s -o -path ./pix/u -o -path ./pix/y \) -prune -o \( -name "*.png" -o -name "*.jpg" -o -name "*.gif" \) -print Check all the icons listed are any of the following: Appear in the list of icons to be deprecated/removed in MDL-82460 pix/moodlelogo.png pix/moodlelogo_grayhat.png pix/moodlenet.png pix/i/ajaxloader.gif pix/i/colourpicker.png pix/i/test.png pix/spacer.gif
    • 2
    • HQ 2024 Sprint I2.3 Moppies

      While working on MDL-82211, I realised most of the icons have a duplicated png/jpg/gif icon. 

      As it was done for the MIME icons (MDL-78884) and also for the new activity icons (MDL-78284 ), these PNG/JPG/GIF icons are redundant if an SVG file is given so they can be removed because they only add extra files to Moodle and make maintenance more complicated.

      This issue is to remove all the redundant icons listed in the pix/ folder (the extra icons included in icons will be removed in separate issues while reviewing the font-awesome icon and the SVG).

        1. files82460.txt
          1 kB
          Laurent David
        2. files82476.txt
          1.0 kB
          Laurent David
        3. filestodiff.txt
          1 kB
          Laurent David
        4. MDL-82476.png
          128 kB
          Ron Carl Alfon Yu

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Laurent David Laurent David
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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