Browse Source

modify English verbiage for push-server instructions

kb/add-usage-guide
Trent Larson 1 year ago
parent
commit
73f890beac
  1. 8
      web-push.md

8
web-push.md

@ -29,8 +29,8 @@ from the SERVICE.
The SERVICE will provide context and obtain explicit permission before prompting The SERVICE will provide context and obtain explicit permission before prompting
for notification permission: for notification permission:
In order to provide this context and explict permission a two-step opt-in process In order to provide this context and explicit permission, a two-step opt-in process
where the user is first presented with a pre-permission dialog box that explains first presents the user with a pre-permission dialog box that explains
what the notifications are for and why they are useful. This may help reduce the what the notifications are for and why they are useful. This may help reduce the
possibility of users clicking "don't allow". possibility of users clicking "don't allow".
@ -91,7 +91,7 @@ The `sw.js` file contains the logic for what a service worker should do.
It executes in a separate thread of execution from the web page but provides a It executes in a separate thread of execution from the web page but provides a
means of communicating between itself and the web page via messages. means of communicating between itself and the web page via messages.
Note that there is a scope can specify what network requests it may Note that there is a scope that can specify what network requests it may
intercept. intercept.
The Vue project already has its own service worker but it is possible to The Vue project already has its own service worker but it is possible to
@ -389,4 +389,4 @@ Simply tap on the Mute Notifications toggle switch in `AccountViewView` to immed
While notifications are turned on, the user can tap on the App Notifications toggle switch in `AccountViewView` to trigger the Turn Off Notifications Dialog. User is given the following choices: While notifications are turned on, the user can tap on the App Notifications toggle switch in `AccountViewView` to trigger the Turn Off Notifications Dialog. User is given the following choices:
- "Turn off Notifications" to fully turn them off (which means the user will need to go through the dialogs agains to turn them back on). - "Turn off Notifications" to fully turn them off (which means the user will need to go through the dialogs agains to turn them back on).
- "Leave it On" to make no changes and dismiss the dialog. - "Leave it On" to make no changes and dismiss the dialog.

Loading…
Cancel
Save