-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
#124/auto conversation restart #204
Conversation
✅ Deploy Preview for cool-creponne-3e1272 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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've made some comments on naming conventions and cleaning up some comments, logs, ghost code..
BUT
while testing this I ran into a weird fringe case:
- create a conversation
- delete it on one end before sending any messages
- send a new message from the other side
- you've now got that message on screen twice (for the sender only)
This is quite edge and I think it could be a solve it with the feature live situation but maybe we should stress test the whole thing a little more before merging - maybe you should think about linking up one of the QA's to this ❓
Description
Closes #124
If a user deletes the conversation and their partner continues to send messages the conversation is restarted for the user and displays all previous messages.
Files changed
components/messaging/ConversationsList.tsx
components/messaging/MessageForm.tsx
supabase/models/messaging/convoRestart.ts
UI changes
no ui changes other than those merged from dev