You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,24 +33,24 @@ To run this extension from the repo (and not from a pre-built package) on a loca
33
33
34
34
## Testing Push Notifications
35
35
36
-
Testing push notifications necessitates user-to-user interactions to observe the notification behavior accurately. Follow the steps outlined below to effectively test push notifications:
36
+
Testing push notifications necessitates user-to-user interactions to observe the notification behavior accurately. Follow the steps outlined below to effectively test push notifications (the browser recommendations are what we have seen work for sure in local environments):
37
37
38
38
1.**User Account Setup:**
39
-
- Create at least two distinct user accounts for testing purposes.
40
-
- In the notifications preferences for _**User Account 1**_, subscribe to receive Push Notifications (and assign web push notification types if necessary).
39
+
- Create at least two distinct board user accounts for testing purposes.
40
+
- Using Google Chrome, visit `UCP -> Board Preferences -> Edit notification options` for _**User Account 1**_ and enable Push Notifications (and enable all web push notification types if necessary). Your browser may ask you to allow notifications, which you should accept.
41
41
42
42
2.**Message, Quote, or Reply Interaction:**
43
-
- Initiate a user-to-user interaction by performing one of the following actions using _**User Account 2**_:
43
+
- Initiate a user-to-user interaction by performing one of the following actions using _**User Account 2**_ in separate browser such as Firefox/Edge/Safari.:
44
44
- **Private Message:** Send a direct message from _**User Account 2**_ to _**User Account 1**_.
45
45
- **Quote:** Quote a post or message authored by _**User Account 1**_ using _**User Account 2**_.
46
46
- **Reply:** Respond to a post or message authored by _**User Account 1**_ using _**User Account 2**_.
47
47
48
48
3.**Observing Push Notifications:**
49
-
- Once the interaction is performed from _**User Account 2**_ to engage with _**User Account 1**_, you promptly should see a notification for _**User Account 1**_.
49
+
- Once the interaction is performed from _**User Account 2**_ to engage with _**User Account 1**_, you promptly should see a notification from Google Chrome for _**User Account 1**_.
50
50
51
51
4.**Caveats for Local Testing**
52
52
- Local testing of Push Notifications only works from a `localhost` address or if your local server has a secure SSL certificate.
53
-
-We have seen success on Windows using manually installed PHP, Apache and MySQL. However, for reasons not yet known we do not see success on Mac using MAMP.
53
+
-Depending on your local server's setup, system operating system, and browser versions, it is still possible that push notifications may not work (for example, in macOS, Safari will not show notifications in a local environment, but Chrome will while or when it is open).
0 commit comments