Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Popup Prompt for Push Notification Subscriptions #105

Open
iMattPro opened this issue Jan 19, 2025 · 0 comments
Open

Add Popup Prompt for Push Notification Subscriptions #105

iMattPro opened this issue Jan 19, 2025 · 0 comments

Comments

@iMattPro
Copy link
Contributor

iMattPro commented Jan 19, 2025

I believe that adding a popup message asking users if they want to receive push notifications could work well—if implemented correctly!

Here’s how it should function:

  1. Configurable Setting: There should be an option in the web push ACP settings to enable or disable the popup message that prompts users to subscribe to push notifications.
  2. Show to Members Only: The popup should only appear for registered members, never for guests.
  3. Target Unsubscribed Users: Display the popup only to members who are currently unsubscribed from web push notifications.
  4. Popup Design: The popup should include “Allow” and “Decline” buttons. Clicking “Allow” would function the same way as the current subscribe/enable push notifications button.
  5. Store Declines: If a user clicks “Decline,” the popup should disappear, and their choice should be stored in the database to ensure they are not prompted again.
  6. Clear Decline on Subscription: Whenever a user subscribes to push notifications, their “declined” status (from step 5) should be cleared. This way, if their subscription is later disabled for any reason, the popup will reappear to inform them and allow them to re-subscribe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant