From 3083bb084a787d602fb0c084bd1239e82ae2811f Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Tue, 2 Jan 2024 19:16:54 -0700 Subject: [PATCH] add more notification help instructions; remove confusing, big name-edit button --- project.task.yaml | 3 +- src/views/AccountViewView.vue | 15 ++-- src/views/HelpNotificationsView.vue | 115 +++++++++++++++++++++------- 3 files changed, 94 insertions(+), 39 deletions(-) diff --git a/project.task.yaml b/project.task.yaml index 7921f11..b53b876 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -2,8 +2,7 @@ tasks: - 08 notifications : - - .2 after turning on notification, don't wait in push server but wait in client for message test (so that users don't have to wait 10 seconds for confirmation for some kind of confirmation) - - Make sure instructions note - Local install works after cleared out cache in Chrome + - Give them a message during/after "turn on notifications" because it takes a while for the message to show after console says "About to send subscription... " - fix maskable icon - change all list-inside to list-outside diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index b9a6624..33c09c1 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -72,11 +72,14 @@

{{ givenName }} + + +

(Set Your Name) @@ -97,14 +100,6 @@
- - Edit Identity - -
- Test your notification setup. + Troubleshoot your notification setup.
diff --git a/src/views/HelpNotificationsView.vue b/src/views/HelpNotificationsView.vue index 8a3fe3f..3790ef1 100644 --- a/src/views/HelpNotificationsView.vue +++ b/src/views/HelpNotificationsView.vue @@ -24,7 +24,7 @@

Here are ways to test notifications and get them working.

-

Full Test

+

Full Test

If this works then you're all set. @@ -38,16 +38,16 @@

-

+

If this is not installed as an app...

For best results on mobile, install this app on your device (as - opposed to using it inside the broser app). In Chrome, it may prompt + 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 deskop, look for this icon in the address bar: + settings; on the the desktop, look for this icon in the address bar: Chrome 'install' icon

-

+

If you must enable notifications...

@@ -68,7 +68,19 @@

-

Check App Permissions

+

+ If you're waiting for system initialization... + +

+
+

+ ... and it never stops, then there is a problem with the underlying + service worker or push server mechanism in your browser. Your best bet + is to follow the "Reinstall" steps below or use a different browser. +

+
+ +

Check App Permissions

In Apple iOS, check "Settings" -> "Notifications", look for the Time @@ -92,8 +104,8 @@

  • Go to Chrome "Settings", then "Privacy and Security" and "Clear - "Clear browsing data", then "Cookies and site data". Also make sure - the "Time Range" at the top shows "All time". + "Clear browsing data", then "Cookies and site data". Make sure the + "Time Range" at the top shows "All time".
  • @@ -106,7 +118,7 @@

    -

    Check Browser Permissions

    +

    Check Browser Permissions

    In Apple iOS, check Settings -> Notifications.

    In Android, check Settings -> Notifications.

    @@ -121,7 +133,9 @@
    -

    Check OS Permissions

    +

    + Check Operating System (OS) Permissions +

    Mobile Phone - Apple iOS

    @@ -139,13 +153,15 @@

    Desktop - Mac

    - Requires Mac OS 13; see your macOS version under Apple -> About - This Mac. + See "System Settings" -> "Notifications" and make sure it is + enabled for the browser you're using. Note that these + notifications require Mac OS 13; see your macOS version under + Apple -> "About This Mac".
    -

    Windows desktop

    - In Windows, check Settings -> Notifications. +

    Desktop - Windows

    + In Windows, check "Settings" -> "Notifications". Windows system settings
    -

    Reinstall

    +

    Reinstall

    If all else fails, uninstall the app, ensure all the browser tabs with it are closed, and clear out caches and storage.

    +

    + Of course, you'll want to back up all your data first -- all seeds as + well as the contacts & settings -- on the Account + page. +

    • - Clear cache for site. (In Chrome, go to `chrome://settings/cookies` - and "all site data and permissions"; in Firefox, go to - `about:preferences` and search for "cache" then "Manage Data", and - also manually remove the IndexedDB data if the DBs still show.) + Clear cache. +
        +
      • + In mobile, look for the browser app settings. This is true even + for an installed app: go to the browser which you used to + initially visit timesafari.app, because those settings affect + the app. Look for "Delete browsing data" in the "Settings", + under "Privacy and Security". +
      • +
      • + In Chrome, go to `chrome://settings/cookies` and "all site data + and permissions" for timesafari.app; in Firefox, go to + `about:preferences` and search for "cache" then "Manage Data" + for timesafari.app. Also manually remove the IndexedDB data if + the DBs still show.) +
      • +
    • - Clear notification permission. (in Chrome, go to + Clear notification permission. (In Chrome, go to `chrome://settings/content/notifications`; in Firefox, go to `about:preferences` and search for "notifications".)
    • - Unregister service worker. (in Chrome, go to + Unregister service worker. (In Chrome, go to `chrome://serviceworker-internals/`; in Firefox, go to `about:serviceworkers`.)
    • - Clear Cache Storage. (in Chrome, in dev tools under Application; in - Firefox, in dev tools under Storage.) + Clear "Cache Storage". (In Chrome, in dev tools under "Application"; + in Firefox, in dev tools under "Storage".)

    Then reinstall the app.

    +

    Tests

    +

    + If that didn't show a notification on your device, the problem is that + your browser or your operating system are not allowing notifications + through. See "Check App Permissions" and "Check Browser Permissions" and + "Check Operating System (OS) Permissions" above. +

    +

    + If that showed "null" then the notification is not active. + +

    +

    + If that didn't show a notification on your device, there is a problem + getting to the push server. Disable notifications and then enable them + again. +

    +

    + If you don't see a message, it could be that there is nothing new for + you to see. If the previous test worked, then things should work fine. + If you notice a full 24 hours where you get no notification and you know + that there are new items that should show, gather as many details as + possible and go to the bottom of + this page + for ways to contact us. +