-
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
[$250] LHN - WS chat not moved to the bottom when going back online after removing member offline #56961
Comments
Triggered auto assignment to @sonialiap ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.I see we have 2 issues here. First, archived WS chat doesn't move to the bottom. Second, the WS isn't archived optimistically. What is the root cause of that problem?When we add a comment to the archived workspace, an error will be thrown from the BE. If the report has an error, then it will be prioritized over the archived report case. Lines 290 to 296 in ae3830d
This is why the WS chat doesn't move to bottom. Now for the second issue, we don't optimistically archive the WS report. App/src/libs/actions/Policy/Member.ts Lines 415 to 433 in ae3830d
We actually did that by setting the statusNum and stateNum, but the new way to archive the report is by setting the reportNameValuePairs Lines 1760 to 1762 in ae3830d
What changes do you think we should make in order to solve the problem?If we want the archived report even with error to move to the bottom, then we need to reorder the prioritazion here, but I think the real problem here is that we don't optimistically archive and we need to optimistically archive it.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We need to test |
Job added to Upwork: https://www.upwork.com/jobs/~021892211108733310047 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
@bernhardoj's RCA and solution look good to me. Yep, we should optimistically archive workspace chat when offline. Link to proposal #56961 (comment) 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @hoangzinh |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.99-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5602936&group_by=cases:section_id&group_order=asc&group_id=229067
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome / Windows 10 - Chrome
App Component: Left Hand Navigation (LHN)
Action Performed:
Expected Result:
Member´s workspace chat should be moved to the bottom of LHN, when recovering internet connection after removing the member while offline.
Actual Result:
Workspace chat is not moved to the bottom on inbox, after removing a member while offline, sending some messages to it and turning internet connection on again.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6745927_1739811394730.Member.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: