-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Notify users outside the App when there are new conversation updates #250
Comments
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
In our application, we use Nodemailer for sending emails when a user starts a conversation. I am currently testing this functionality using Inbucket with Supabase to validate that emails are sent correctly as part of our app. However, I'm experiencing an issue during testing. When I try to send a message as a refugee, I don't receive an email notification as a donor in the donor Inbucket inbox. What do you think could be causing Supabase Inbucket not to display incoming mail? Actual result: The Inbucket donor inbox is empty. Steps to reproduce: Test on localhost:3000.
|
@OlenaReukova Hi Olena! I did some investigation and found that the issue with the avatar image is because it’s missing from Supabase storage. This is why the image isn’t loading (you can confirm this in the Supabase Studio: http://localhost:54323/). While I’m not certain how this affects email notifications, a quick way to unblock this error is by updating the user avatar URL in your local database. Here’s how:
After these updates, the error should be resolved! Hopefully, this helps you get unblocked. 😊 @camelPhonso It looks like the image and bucket weren’t set up initially. Do you want me to create a task for a script to populate these items automatically in the future? Or perhaps I am missing something |
@idellien Thank you for investigating this issue. You are correct; the image is absent in Supabase. To fix this error according to our documentation BEFORE_YOUR_FIRST_ISSUE you need to set up the Bucket manually:
I have a status code 200, which indicates that the email was sent. |
Yes, that would actually be great. I think this is a combination of two things that happened before:
|
@OlenaReukova Yeah I did that and even created the image with same name but for some reason it did not worked for me. It appears that currently, the “Request Item” button doesn’t send an email notification as part of its functionality within the codebase. Instead, email notifications are handled through the send-email route, which you can find here: This route is triggered exclusively by the “Request Item” button: Additionally, there’s an EnquireButton component that performs a similar function, but it currently isn’t being used anywhere in the project: if you change the step from “Click the ‘Request Item’ button” to “Click the ‘Message’ button”, you’ll notice in the logs that the email is attempted but results in a 500 error. This issue occurs because the Gmail app’s username and password are not specified. I have tried to use trafalgargirls@gmail.com but got error "Invalid login: 535-5.7.8 Username and Password not accepted." |
@nichgalzin could you check trafalgargirls@gmail.com, it looks like the password is not valid, please. |
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
🤖 meep morp! This issue has been stale for 7 days so it's being automaticaly unassigned and will return to the backlog. 💡 Once in the Backlog this issue will be available for anyone to take up - you can request it again if you have contributions ready to submit. |
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
🤖 meep morp! This issue has been stale for 7 days so it's being automaticaly unassigned and will return to the backlog. 💡 Once in the Backlog this issue will be available for anyone to take up - you can request it again if you have contributions ready to submit. |
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
🤖 meep morp! This issue has been stale for 7 days so it's being automaticaly unassigned and will return to the backlog. 💡 Once in the Backlog this issue will be available for anyone to take up - you can request it again if you have contributions ready to submit. |
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
🤖 meep morp! This issue has been stale for 7 days so it's being automaticaly unassigned and will return to the backlog. 💡 Once in the Backlog this issue will be available for anyone to take up - you can request it again if you have contributions ready to submit. |
🤖 meep morp! This Issue is now marked as stale because there has been no activity for a while. 🔎 The Issue will be automaticaly unassigned and moved to the Backlog if it doesn't receive new activity in the next 7 days. 💡 To unstale this Issue please push any commits that are ready or provide an update in the comments. |
🤖 meep morp! This issue has been stale for 7 days so it's being automaticaly unassigned and will return to the backlog. 💡 Once in the Backlog this issue will be available for anyone to take up - you can request it again if you have contributions ready to submit. |
Expected Behaviour
Users should be prompted to visit Kindly when there are updates to their conversations.
Spike
We currently have a notification system via emails that notifies users when a new conversation is started. However, extending this to notify users of unread messages could be too costly and has a large potential to drive bad user experience due to their inbox being flooded. As Kindly is not a mobile app we don't have the option to use push notifications.
Current Behaviour
Users are notified via email when someone else starts a conversation with them but no other actions trigger a notification beyond in-page displays.
Steps to Reproduce
If when logged into Kindly you start a new conversation you can find the email notification in your inbox or in the
Inbucket URL
link displayed when you entersupabase status
onto your terminal.The text was updated successfully, but these errors were encountered: