-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: add browser notification #528
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I open the landing page and it immediately asks for notification permissions - NO
Then again on "Create Swap"...
Please read the issue again! We only want notification permissions if user toggles 0-conf off: #346 so that should be the trigger.
used when a swap is claimed or refunded. initially tries to enable notfication but wont popup because it needs user permission. added one ask a create swap click and one on refund. could be added to amount input or address input aswell but needs a userevent to popup
Co-authored-by: michael1011 <[email protected]>
Co-authored-by: michael1011 <[email protected]>
Co-authored-by: michael1011 <[email protected]>
Co-authored-by: michael1011 <[email protected]>
Co-authored-by: michael1011 <[email protected]>
Did you add notifications for failed swaps? I didn't test this earlier and now it looks like I broke my regtest again and can't test rn |
Moved into separate issue #601, from my side ok to merge this without |
used when a swap is claimed or refunded.
now it is opt in only via settings