Skip to content

TagSpaces is an offline, open source, document manager with tagging support

polish: PWA improvements

Ilian Sapundshiev33d6b8566f41
diff --git a/web/assets/iconpwa.png b/web/assets/iconpwa.png
new file mode 100644
index 000000000..63ee24bcd
Binary files /dev/null and b/web/assets/iconpwa.png differ
diff --git a/web/assets/iconpwa.svg b/web/assets/iconpwa.svg
new file mode 100644
index 000000000..07d44a514
--- /dev/null
+++ b/web/assets/iconpwa.svg
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="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"
+ version="1.1"
+ id="svg4510"
+ viewBox="0 0 300 300"
+ height="300"
+ width="300"
+ inkscape:version="1.0.1 (0767f8302a, 2020-10-17)"
+ sodipodi:docname="iconpwa.svg"
+ inkscape:export-xdpi="61.439999"
+ inkscape:export-ydpi="61.439999">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1858"
+ inkscape:window-height="1016"
+ id="namedview4200"
+ showgrid="false"
+ inkscape:zoom="1.7418397"
+ inkscape:cx="135.16699"
+ inkscape:cy="211.67898"
+ inkscape:window-x="62"
+ inkscape:window-y="27"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg4510"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:document-rotation="0">
+ <sodipodi:guide
+ position="263.51449,153.28621"
+ orientation="1,0"
+ id="guide4203"
+ inkscape:locked="false" />
+ <sodipodi:guide
+ position="101.04259,37.316867"
+ orientation="0,1"
+ id="guide4205"
+ inkscape:locked="false" />
+ </sodipodi:namedview>
+ <defs
+ id="defs4512" />
+ <metadata
+ id="metadata4515">
+ <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
+ transform="translate(0,-752.36216)"
+ id="layer1"
+ inkscape:export-xdpi="153.89999"
+ inkscape:export-ydpi="153.89999">
+ <rect
+ y="752.95935"
+ x="-0.019505024"
+ height="299.42227"
+ width="299.42227"
+ id="rect3052-8-1"
+ style="fill:none;fill-opacity:1;stroke:none" />
+ <path
+ id="rect3052-8-2-2"
+ d="m 181.90177,787.75394 70.88695,43.53834 C 180.29225,977.67059 187.41436,950.59754 124.58989,989.154 L 65.05006,905.90077 Z"
+ style="fill:#ffffff;fill-opacity:1;stroke:none" />
+ <ellipse
+ ry="15.782593"
+ rx="15.970615"
+ cy="851.11481"
+ cx="192.4187"
+ id="path4875-4-7-5-6-2"
+ style="fill:#616577;fill-opacity:1;stroke:none" />
+ <path
+ id="path3108-5-39-8"
+ d="M 159.73623,964.91671 134.54529,941.61879"
+ style="fill:none;stroke:#a466aa;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3923-1-1-4-9-8"
+ d="m 162.16161,795.17204 90.03628,0.34544 0,86.1724 -115.50748,117.79375 -88.457192,-81.6665 z"
+ style="fill:none;stroke:#ffffff;stroke-width:34.19813538;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3108-9-1-76-7"
+ d="m 204.81469,910.87834 -50.38182,-45.3016"
+ style="fill:#f7901e;fill-opacity:1;stroke:#33b5be;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3108-0-7-9-8"
+ d="M 182.93838,938.7066 144.48907,904.40668"
+ style="fill:#616577;fill-opacity:1;stroke:#f7901e;stroke-width:27.50978279;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ <path
+ id="path3923-1-1-4-9"
+ d="m 164.34385,800.70161 83.03644,0 0,79.10209 -110.49206,113.42316 -82.031957,-75.83333 z"
+ style="fill:none;stroke:#616577;stroke-width:31.96374702;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+ </g>
+ <rect
+ style="fill:#b8d11d;fill-opacity:0.85786802;fill-rule:nonzero;stroke:none;stroke-width:0.71955156;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ id="rect4206"
+ width="118.32621"
+ height="69.527229"
+ x="145.84883"
+ y="192.92719"
+ inkscape:export-xdpi="153.89999"
+ inkscape:export-ydpi="153.89999"
+ rx="14.88394" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="148.78708"
+ y="245.20105"
+ id="text4202"
+ inkscape:export-xdpi="153.89999"
+ inkscape:export-ydpi="153.89999"><tspan
+ sodipodi:role="line"
+ id="tspan4204"
+ x="148.78708"
+ y="245.20105"
+ style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:50px;line-height:1.25;font-family:Ubuntu;-inkscape-font-specification:'Ubuntu Medium';fill:#ffffff;fill-opacity:1">PWA</tspan></text>
+</svg>
diff --git a/web/assets/icons/128x128.png b/web/assets/icons/128x128.png
deleted file mode 100644
index 3576c4fb9..000000000
Binary files a/web/assets/icons/128x128.png and /dev/null differ
diff --git a/web/assets/icons/144x144.png b/web/assets/icons/144x144.png
deleted file mode 100644
index 1b147fb32..000000000
Binary files a/web/assets/icons/144x144.png and /dev/null differ
diff --git a/web/assets/icons/152x152.png b/web/assets/icons/152x152.png
deleted file mode 100644
index e957a6c82..000000000
Binary files a/web/assets/icons/152x152.png and /dev/null differ
diff --git a/web/assets/icons/16x16.png b/web/assets/icons/16x16.png
deleted file mode 100644
index c4efc0c96..000000000
Binary files a/web/assets/icons/16x16.png and /dev/null differ
diff --git a/web/assets/icons/192x192.png b/web/assets/icons/192x192.png
deleted file mode 100644
index 8db0dea56..000000000
Binary files a/web/assets/icons/192x192.png and /dev/null differ
diff --git a/web/assets/icons/24x24.png b/web/assets/icons/24x24.png
deleted file mode 100644
index 8d472037d..000000000
Binary files a/web/assets/icons/24x24.png and /dev/null differ
diff --git a/web/assets/icons/256x256.png b/web/assets/icons/256x256.png
deleted file mode 100644
index 088275c91..000000000
Binary files a/web/assets/icons/256x256.png and /dev/null differ
diff --git a/web/assets/icons/32x32.png b/web/assets/icons/32x32.png
deleted file mode 100644
index 143bbe3a4..000000000
Binary files a/web/assets/icons/32x32.png and /dev/null differ
diff --git a/web/assets/icons/48x48.png b/web/assets/icons/48x48.png
deleted file mode 100644
index 00098b133..000000000
Binary files a/web/assets/icons/48x48.png and /dev/null differ
diff --git a/web/assets/icons/512x512.png b/web/assets/icons/512x512.png
deleted file mode 100644
index c54bf303a..000000000
Binary files a/web/assets/icons/512x512.png and /dev/null differ
diff --git a/web/assets/icons/64x64.png b/web/assets/icons/64x64.png
deleted file mode 100644
index f99db6c7c..000000000
Binary files a/web/assets/icons/64x64.png and /dev/null differ
diff --git a/web/assets/icons/96x96.png b/web/assets/icons/96x96.png
deleted file mode 100644
index cb20ebcf2..000000000
Binary files a/web/assets/icons/96x96.png and /dev/null differ
diff --git a/web/assets/icons/icon-192x192.png b/web/assets/icons/icon-192x192.png
new file mode 100644
index 000000000..43316781f
Binary files /dev/null and b/web/assets/icons/icon-192x192.png differ
diff --git a/web/assets/icons/icon-256x256.png b/web/assets/icons/icon-256x256.png
new file mode 100644
index 000000000..f6c94f076
Binary files /dev/null and b/web/assets/icons/icon-256x256.png differ
diff --git a/web/assets/icons/icon-384x384.png b/web/assets/icons/icon-384x384.png
new file mode 100644
index 000000000..12165fad0
Binary files /dev/null and b/web/assets/icons/icon-384x384.png differ
diff --git a/web/assets/icons/icon-512x512.png b/web/assets/icons/icon-512x512.png
new file mode 100644
index 000000000..81460951d
Binary files /dev/null and b/web/assets/icons/icon-512x512.png differ
diff --git a/web/manifest.json b/web/manifest.json
index 5ad52477b..c5ba2ffbe 100644
--- a/web/manifest.json
+++ b/web/manifest.json
@@ -1,40 +1,30 @@
{
- "name": "TagSpaces Pro",
+ "name": "TagSpaces PWA",
"short_name": "TagSpaces",
"icons": [
{
- "src": "/node_modules/@tagspaces/pro/assets/icons/128x128.png",
- "sizes": "128x128",
- "type": "image/png"
- },
- {
- "src": "/node_modules/@tagspaces/pro/assets/icons/144x144.png",
- "sizes": "144x144",
- "type": "image/png"
- },
- {
- "src": "/node_modules/@tagspaces/pro/assets/icons/152x152.png",
- "sizes": "152x152",
- "type": "image/png"
- },
- {
- "src": "/node_modules/@tagspaces/pro/assets/icons/192x192.png",
+ "src": "/assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
- },
- {
- "src": "/node_modules/@tagspaces/pro/assets/icons/256x256.png",
+ },
+ {
+ "src": "/assets/icons/icon-256x256.png",
"sizes": "256x256",
"type": "image/png"
- },
- {
- "src": "/node_modules/@tagspaces/pro/assets/icons/512x512.png",
+ },
+ {
+ "src": "/assets/icons/icon-384x384.png",
+ "sizes": "384x384",
+ "type": "image/png"
+ },
+ {
+ "src": "/assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
- }
+ }
],
"start_url": "/index.html",
- "display": "standalone",
+ "display": "minimal-ui",
"background_color": "#1DD19F",
"theme_color": "#1DD19F"
}