-
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
[$500] LHN - Announce room on invited workspace member is not bold #35122
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016aee40f12650c4a6 |
Triggered auto assignment to @lschurr ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.New workspaces for the user - does not show up as unread workspaces in LHN. They do get a notification. What is the root cause of that problem?We currently create new reports with the same timestamp for lastRead and lastVisibleActionCreatedWe only show something as unread if the last read time is before the last visible is created here: Line 3517 in 0d0b0a8
And the announced message, is merely metadata on the report. Not an actual message. What changes do you think we should make in order to solve the problem?We should actually show all new channels as unread - this improves the customer experience by showing there's something new. Even if there are no messages in that channel. We can make a small change here Line 3517 in 0d0b0a8
Once a user actually clicks on the report - it will be marked as read as the lastRead timestamp updates: Sample experience with new code: This also covers the announce use case in this issue. What alternative solutions did you explore? (Optional) |
I think it should be fixed here #31748 |
@Santhosh-Sellavel check this #33881 PR update: https://github.com/Expensify/App/pull/34551/files c+ note from the same issue #33881 (comment) and #33881 (comment) but the PR submitted there #34551 is not tested well. |
Waiting for feedback #31748 (comment) I'm unavailable next week, Please assign a new C+ Issue here if required while I am away, thanks! cc: @lschurr |
Asking for a volunteer in Slack - https://expensify.slack.com/archives/C01GTK53T8Q/p1706555426712459 |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Assigning to @situchan - could you review? |
Seems like 2 bugs stated in OP. Checking reproducibility first |
@jeremy-croff can you please explain the root cause in detail? This has 2 bugs: (might have the same root cause though)
Screen.Recording.2024-01-30.at.1.35.12.AM.mov |
While both are adressed with my fix, I will report back soon why the unread marker keeps showing in current main. |
We grab the last read time from the report
And compare the report actions against that timestamp for the unread marker in the chat. It sees the action has a later timestamp than the report read timestamp, and stores the ref.
Then when going over the chats, it marks it as unread here
the welcome message has a later timestamp. Following screenshots show this:
This flow is different from the the chat unread unread. Line 3517 in 0d0b0a8
Where we just compare the timestamps from the report. And as demonstrated are the same in this scenario. Fixing the issue with my logic adresses both, as it will update both report and item timestamps. |
updating in a few hrs |
Ideally, this should be fixed in backend. If we wanna do frontend fix, @eh2077's proposal looks good. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I think this bug came from the fact that whisper action should not be visible in LHN as last message. |
Ah interesting - thanks for the summary. We should fix this in the BE - though the query for determining visible report actions is quite complex. Not an urgent bug so going to change the priority |
Any update here @thienlnam? |
I'm not currently working on this issue over other vip-vsb items, perhaps we can tie it to a wave and see if anyone is interested? |
Ok, got it. I'll review this later today. |
Asking for help here - https://expensify.slack.com/archives/C01SKUP7QR0/p1710870703703099 |
Asking for a volunteer in Slack here: https://expensify.slack.com/archives/C066HJM2CAZ/p1712079432372279 |
Haven't heard anything in the Slack thread - ideas on this one @thienlnam? |
Anything on this one @thienlnam? Are we cool leaving this unassigned since it's a low priority? |
Nope, hasn't been a focus - I think it's fine to leave unassigned or even close for other priorities at this time |
Going to close this as not a priority for now. |
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.31-1
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: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Announce room on invited workspace member should be bold on LHN
Actual Result:
Announce room of invited workspace member is not bold on LHN, even green line on welcome message appears
Also, welcome message does not change on employee side when admin change the content of welcome message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6354010_1706142902654.Recording__1915.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: