diff --git a/package-lock.json b/package-lock.json index 17e2bab..b5ba731 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,6 +50,7 @@ "reflect-metadata": "^0.1.13", "register-service-worker": "^1.7.2", "three": "^0.156.1", + "ua-parser-js": "^1.0.37", "util": "^0.12.5", "vue": "^3.3.4", "vue-axios": "^3.5.2", @@ -62,6 +63,7 @@ "@types/leaflet": "^1.9.4", "@types/ramda": "^0.29.3", "@types/three": "^0.155.1", + "@types/ua-parser-js": "^0.7.39", "@typescript-eslint/eslint-plugin": "^6.6.0", "@typescript-eslint/parser": "^6.6.0", "@vue-leaflet/vue-leaflet": "^0.10.1", @@ -8975,6 +8977,12 @@ "integrity": "sha512-IDaobHimLQhjwsQ/NMwRVfa/yL7L/wriQPMhw1ZJall0KX6E1oxk29XMDeilW5qTIg5aoiqf5Udy8U/51aNoQQ==", "dev": true }, + "node_modules/@types/ua-parser-js": { + "version": "0.7.39", + "resolved": "https://registry.npmjs.org/@types/ua-parser-js/-/ua-parser-js-0.7.39.tgz", + "integrity": "sha512-P/oDfpofrdtF5xw433SPALpdSchtJmY7nsJItf8h3KXqOslkbySh8zq4dSWXH2oTjRvJ5PczVEoCZPow6GicLg==", + "dev": true + }, "node_modules/@types/web-bluetooth": { "version": "0.0.18", "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.18.tgz", @@ -26834,9 +26842,9 @@ } }, "node_modules/ua-parser-js": { - "version": "1.0.36", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.36.tgz", - "integrity": "sha512-znuyCIXzl8ciS3+y3fHJI/2OhQIXbXw9MWC/o3qwyR+RGppjZHrM27CGFSKCJXi2Kctiz537iOu2KnXs1lMQhw==", + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz", + "integrity": "sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==", "funding": [ { "type": "opencollective", @@ -26851,8 +26859,6 @@ "url": "https://github.com/sponsors/faisalman" } ], - "optional": true, - "peer": true, "engines": { "node": "*" } diff --git a/package.json b/package.json index ccc6306..976697d 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "reflect-metadata": "^0.1.13", "register-service-worker": "^1.7.2", "three": "^0.156.1", + "ua-parser-js": "^1.0.37", "util": "^0.12.5", "vue": "^3.3.4", "vue-axios": "^3.5.2", @@ -62,6 +63,7 @@ "@types/leaflet": "^1.9.4", "@types/ramda": "^0.29.3", "@types/three": "^0.155.1", + "@types/ua-parser-js": "^0.7.39", "@typescript-eslint/eslint-plugin": "^6.6.0", "@typescript-eslint/parser": "^6.6.0", "@vue-leaflet/vue-leaflet": "^0.10.1", diff --git a/src/assets/help/apple-share-icon.svg b/src/assets/help/apple-share-icon.svg new file mode 100644 index 0000000..47023e8 --- /dev/null +++ b/src/assets/help/apple-share-icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/assets/help/install-android-chrome.png b/src/assets/help/install-android-chrome.png new file mode 100644 index 0000000..a322bc2 Binary files /dev/null and b/src/assets/help/install-android-chrome.png differ diff --git a/src/main.ts b/src/main.ts index e2133e4..3890eb7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -56,6 +56,7 @@ import { faSpinner, faSquareCaretDown, faSquareCaretUp, + faSquarePlus, faTrashCan, faTriangleExclamation, faUser, @@ -109,6 +110,7 @@ library.add( faSpinner, faSquareCaretDown, faSquareCaretUp, + faSquarePlus, faTrashCan, faTriangleExclamation, faUser, diff --git a/src/views/HelpNotificationsView.vue b/src/views/HelpNotificationsView.vue index 5c60504..a72535b 100644 --- a/src/views/HelpNotificationsView.vue +++ b/src/views/HelpNotificationsView.vue @@ -21,6 +21,7 @@ +

Here are ways to test notifications and get them working.

@@ -39,13 +40,13 @@

- If this is not installed as an app... + If this app doesn't support notifications...

- For best results on mobile, install this app on your device (as - opposed to using it inside the browser app). In Chrome, it may prompt + To be notified of interesting updates, install this app on your device + (as opposed to using it inside the browser app). In Chrome, it may prompt you, and you can also look for the "Install" command in the browser settings; on the the desktop, look for this icon in the address bar:

+