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

Interface to allow users to subscribe to push notifications is very buggy #56

Open
JimKerslake opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JimKerslake
Copy link
Collaborator

JimKerslake commented Apr 4, 2024

Half the time the button intended to allow users to subscribe to push notifications is not displayed in the UI, despite the user having no row in cspwa_push_subscription table (even dropping all rows from the whole table made no difference).

Other times the button does appear but clicking it has no effect.

Other times an anonymous user visiting the site does prompt creation of a row in cspwa_push_subscription even though they never clicked (or even saw) the consent button.

Other times a user logging in to the site does prompt creation of a row in cspwa_push_subscription mapped against their user id, even though they never clicked (or even saw) the consent button.

And sometimes it does work as intended :)

@JimKerslake JimKerslake added the bug Something isn't working label Apr 4, 2024
@JimKerslake JimKerslake self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant