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

Migrated notifications to Firebase #3198

Closed
wants to merge 2 commits into from
Closed

Migrated notifications to Firebase #3198

wants to merge 2 commits into from

Conversation

eswarasai
Copy link
Contributor

@eswarasai eswarasai commented Oct 3, 2022

Fixes Issue: snapshot-labs/snapshot-webhook#23

Changes in this PR:

  • Removed Pusher Beams integration
  • Setup Firebase SDK for receiving push notifications
  • Setup service worker to receive background notifications
  • Moved notification bell icon from individual space to Notification tray on top right corner

How to test and review this PR?

TODO:

@vercel
Copy link

vercel bot commented Oct 3, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
snapshot ✅ Ready (Inspect) Visit Preview Oct 11, 2022 at 2:21PM (UTC)

@bonustrack
Copy link
Member

Can you fix the conflicts here?

VITE_ENV=develop
VITE_VAPID_KEY=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should both have a default value that will work out of the box

);

const firebaseConfig = {
// TODO: config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What needs to be done here?

@@ -23,5 +23,6 @@
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
"background_color": "#ffffff",
"gcm_sender_id": "XXXXXXXXXXXX"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does XXXXXXXXXXXX represent?

@samuveth samuveth marked this pull request as draft October 4, 2022 06:49
@samuveth
Copy link
Contributor

samuveth commented Oct 4, 2022

@eswarasai I've converted this PR to a draft as I see some things missing and the preview deployment doesn't work.

@samuveth
Copy link
Contributor

@samuveth
Copy link
Contributor

@eswarasai can you resolve conflicts

@stale
Copy link

stale bot commented Dec 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ChaituVR
Copy link
Member

Keep this

@samuveth samuveth added the enhancement New feature or request label Dec 28, 2022
@samuveth samuveth added the wontfix This will not be worked on label Mar 18, 2023
@bonustrack bonustrack added the invalid This doesn't seem right label Apr 2, 2023
@samuveth samuveth removed enhancement New feature or request invalid This doesn't seem right labels May 8, 2023
@eswarasai eswarasai closed this by deleting the head repository Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants