Explorar o código

Greatly reduce some of the SVG file sizes

Some SVGs contain metadata injected by the tool used to create or edit
them. Removing this metadata reduces the size significantly (more than
50%).

This mostly affects the minion pool icons so it also solves an issue
where the minion pool icon used in the "New" dropdown menu would load
with a delay.
Sergiu Miclea %!s(int64=4) %!d(string=hai) anos
pai
achega
00ab2ab8c8

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 39
src/components/modules/MinionModule/MinionPoolListItem/images/minion-pool-list-item.svg


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 40
src/components/modules/MinionModule/MinionPoolModal/images/minion-pool.svg


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 45
src/components/modules/NavigationModule/Navigation/images/minion-pool-menu.svg


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 44
src/components/smart/MinionPoolDetailsPage/images/minion-pool.svg


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3 - 44
src/components/smart/MinionPoolsPage/images/minion-pool-empty-list.svg


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 40
src/components/ui/Dropdowns/NewItemDropdown/images/minion-pool.svg


+ 2 - 42
src/components/ui/StatusComponents/StatusIcon/images/warning-hollow.svg

@@ -1,57 +1,17 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
+<svg    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"
    xmlns:cc="http://creativecommons.org/ns#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   sodipodi:docname="warning-hollow.svg"
-   inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
    id="svg8"
    id="svg8"
    version="1.1"
    version="1.1"
    viewBox="0 0 4.2333332 4.2333335"
    viewBox="0 0 4.2333332 4.2333335"
    height="16"
    height="16"
    width="16">
    width="16">
-  <defs
-     id="defs2" />
-  <sodipodi:namedview
-     inkscape:window-maximized="0"
-     inkscape:window-y="0"
-     inkscape:window-x="147"
-     inkscape:window-height="1040"
-     inkscape:window-width="1274"
-     units="px"
-     showgrid="false"
-     inkscape:document-rotation="0"
-     inkscape:current-layer="Icon/Warning-8"
-     inkscape:document-units="mm"
-     inkscape:cy="4.0021626"
-     inkscape:cx="-0.059492155"
-     inkscape:zoom="22.4"
-     inkscape:pageshadow="2"
-     inkscape:pageopacity="0.0"
-     borderopacity="1.0"
-     bordercolor="#666666"
-     pagecolor="#ffffff"
-     id="base" />
-  <metadata
-     id="metadata5">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
   <g
   <g
      id="layer1"
      id="layer1"
-     inkscape:groupmode="layer"
-     inkscape:label="Layer 1">
+     >
     <g
     <g
        transform="matrix(0.26428837,0,0,0.26428837,0.00235971,0.00235971)"
        transform="matrix(0.26428837,0,0,0.26428837,0.00235971,0.00235971)"
        id="Icon/Warning-8"
        id="Icon/Warning-8"

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio