From 73f890beac82501a30f8054807f477416f9b3217 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 11 Nov 2023 22:26:10 -0700 Subject: [PATCH] modify English verbiage for push-server instructions --- web-push.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web-push.md b/web-push.md index 0574edd..1869d95 100644 --- a/web-push.md +++ b/web-push.md @@ -29,8 +29,8 @@ from the SERVICE. The SERVICE will provide context and obtain explicit permission before prompting for notification permission: -In order to provide this context and explict permission a two-step opt-in process -where the user is first presented with a pre-permission dialog box that explains +In order to provide this context and explicit permission, a two-step opt-in process +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 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 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. 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: - "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. \ No newline at end of file +- "Leave it On" to make no changes and dismiss the dialog.