-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Immediately mark a conversation as "read" when switching browser tabs and seeing the message in Expensify.cash #2573
Comments
Triggered auto assignment to @MitchExpensify ( |
Triggered auto assignment to @tgolen ( |
Looks unique and clear to me. Probably a good external issue, adding eng label to decide that! |
Yeah, external sounds fine and all is good here. |
Triggered auto assignment to @michaelhaxhiu ( |
Oopsie, I didn't realize this was waiting on me! I thought for some reason it was being worked on by @MitchExpensify because he was assigned too. Sorry, posting this shortly. |
Cleaned up a few tiny things in the GH title and body. Next steps:
|
Just to be sure. I see that the message is marked as read in some time. So when the user is away we want to show a notification and keep the message unread as the user has not viewed it even if the tab is active. When user focuses the tab we trigger the last read timer which takes 3 sec before marking the messages as read. Is this no happening currently? Sorry, I am not able to understand the issue here. |
This comment has been minimized.
This comment has been minimized.
Ok, so I just tested this on my side and see what you are saying @parasharrajat. After 3 seconds of focusing on the tab, the DM updates and it appears as "read" properly. Check out my DM with Ted for reference: Hmm, so I think the question at this point is... do we want to shorten the 3 second timing? Otherwise, this does appear to be working properly. cc @quinthar |
I'll grab this, since I plan to touch that code anyways 🤷 |
Changing to |
PR created. I'm going to hold it until the |
Good call. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Expected Result:
If someone writes you a direct message (DM) while you are in another browser tab and you switch to the Expensify.cash browser tab (to view the message), it should appear as "read" in the Left Hand Nav if you land in the DM chat.
Actual Result:
When you switch to the Expensify.cash browser tab and land directly in the DM chat, the message shows as "unread" for 3 seconds, even though you are clearly viewing it.
Action Performed:
Workaround:
Yes, you can still use the application but this negatively impacts unread DM accuracy.
Platform:
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: Latest, accessed from Expensify.cash web browser
Notes/Photos/Videos:
Grabando.182.mp4
Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/162219
View all open jobs on Upwork
From @quinthar https://expensify.slack.com/archives/C01GTK53T8Q/p1619202674082700
The text was updated successfully, but these errors were encountered: