-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-07-10] [$500] critical: Chat is not marked as read when receiving a message being in the chat #40152
Comments
Triggered auto assignment to @dylanexpensify ( |
Yep, could repro, though low value |
Job added to Upwork: https://www.upwork.com/jobs/~018e5ebea78782ee33 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
I disagree, this is happening to me every day, many times a day. It makes the app look broken as it makes you have to click out and back in to mark as read. |
What is the expected behaviour? Should we quickly mark it as read when the user switches to the tab? Then the user wouldn't be able to know that there are some new messages, and where the new messages start from. Maybe we can have some interval, like mark it as read after 4 seconds (just as an example). |
Doesn't show notifications for me like in the video, do I need to activate something? trying to replicate the issue. @dylanexpensify |
📣 @giorgi17! 📣
|
happy to move this higher then @iwiznia! |
@giorgi17 ah make sure your preferences allow for notifications from New Expensify! |
@ShridharGoel simple - just if the user clicks on the notification and reads the chat, it's marked as read then and there (aka unbolds instantly when opening the chat). |
@dylanexpensify And what about the "New" marker that we show above the unread messages? |
@ShridharGoel that should disappear at the same rate it does for any new message! cc @Expensify/design not sure if we have a limit distinguished for this |
I would think the New marker would stay in the chat as long as you are looking at the chat. This way if you do scroll up and down in the chat, you at least have a marker that shows you where the new messages start. If you navigate away and come back, then the new marker would disappear. Is that what you are asking Dylan? |
I did, but still couldn't see notifications, perhaps it's not reproducible on local. However, I've found similar issue, where receiving the message and opening It doesn't unbold the text, it's still seen as "unread". It only works after 1 minute or so. See the footage The same reason could be in the case of notification. Fixing this requires figuring out, why after sending the right message creation time, i receive the time from the database that is 1.5 minutes older. You can see this difference in this pics: This is the line where it's compared:
|
@abdulrahuman5196, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@abdulrahuman5196, @dylanexpensify Still overdue 6 days?! Let's take care of this! |
📣 @allgandalf 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
btw, this is marked critical, the compensation should be $500 right? @dylanexpensify |
Correct, thanks @allgandalf! |
Upwork job price has been updated to $500 |
melvin again changed the price to 250 ;) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Upwork job price has been updated to $500 |
payment coming up! |
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment summary:
Please apply/request! |
Done! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.62-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @iwiznia
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1711638025134599
Action Performed:
Expected Result:
In step 4 or in step 6 LHN should be unbold as the message is read
Actual Result:
Still showing as unread, user has to click back to the chat as in step 7 to show as "read"
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Chat.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dylanexpensifyIssue Owner
Current Issue Owner: @dylanexpensifyThe text was updated successfully, but these errors were encountered: