-
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
[HOLD for payment 2023-12-15] [$500]Thread - Undefined displayed in header offline when opening left thread #28997
Comments
Triggered auto assignment to @peterdbarkerUK ( |
Job added to Upwork: https://www.upwork.com/jobs/~01e4c2c4838dc79392 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
On web and mweb there is no header at all, just the "U" avatar. Screen_Recording_20231006_150714_New.Expensify.mp4 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @nkuoch ( |
ProposalPlease re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
This issue comes from this PR ProposalPlease re-state the problem that we are trying to solve in this issue.When trying to rejoin a thread in offline mode, it shows infinite loading and the the "U" avatar. While currently in prod it will show not here page and no infinite loading. What is the root cause of that problem?In this line, we default the What changes do you think we should make in order to solve the problem?We need to add an additional check to here, if the
This will make the behavior similar to current production app. What alternative solutions did you explore? (Optional)If the user is offline and the report is not loaded, an alternative is to show a message like |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@tienifr Please go ahead! |
Isn't it correct to show the skeletons? When we reopen a left thread:
I can see the skeleton on prod too, so it SHOULDN'T be a blocker. Looking at the video here, looks like the app is on an old version because the header menu should be a three-dot icon now. It also shouldn't be related to this PR. I think the real issue here is that the header shows a U avatar and an undefined chat title. I will explain the root cause briefly (maybe?) here: App/src/libs/actions/Report.js Lines 1913 to 1928 in 98f3b43
We get the chat title from Lines 1806 to 1808 in 98f3b43
In our case, the left thread is an archived room. However, Line 1769 in 98f3b43
So, we get For the avatar, we get it from Lines 1109 to 1112 in 98f3b43
But because it's not a workspace, we get an "Unavailable workspace" icon. Both avatar and title will be shown if App/src/pages/home/HeaderView.js Lines 215 to 244 in 98f3b43
So, I think the real solution here is to have an empty title instead of Lines 1806 to 1808 in 98f3b43
With the above finding, I can also confirm this issue happened with the policy room. If you agree with the above finding, then I will create a formal proposal. |
@shawnborton, @nkuoch, @peterdbarkerUK, @ArekChr, @mollfpr, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I'm OoO sick, will take care of payouts upon return (likely tomorrow). @ArekChr @mollfpr - could you check the regression list? |
@peterdbarkerUK I hope you feel better soon! I'll do the manual request in NewDot for payment.
I couldn't find the PR causing the bug, there's a lot of commit to track it down.
The regression step should be enough.
|
Thanks @mollfpr - $500 for the C+ Review, just a heads up that @JmillsExpensify is OoO until next week to action the payment. |
@shawnborton, @nkuoch, @peterdbarkerUK, @ArekChr, @mollfpr, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
$500 payment approved for @mollfpr based on comment above. |
@shawnborton, @nkuoch, @peterdbarkerUK, @ArekChr, @mollfpr, @tienifr Eep! 4 days overdue now. Issues have feelings too... |
@tienifr I can action the final payout once you've accepted the offer! |
@peterdbarkerUK sorry, it seems that this offer has expired, would you mind recreating the offer? Thanks! |
No problem - here it is! |
@shawnborton, @nkuoch, @peterdbarkerUK, @ArekChr, @mollfpr, @tienifr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@tienifr $500 paid, thanks! |
Oop - will create the TR update in the morning |
@shawnborton, @nkuoch, @peterdbarkerUK, @ArekChr, @mollfpr, @tienifr Huh... This is 4 days overdue. Who can take care of this? |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The parent message is shown in the header or "hmm, it's not there" screen
Actual Result:
"Undefined (archived)" is displayed in the header and there is no option to rejoin
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.79-2
Reproducible in staging?: Y
Reproducible in production?: N
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6227234_1696588130168.video_2023-10-06_06-27-43.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @peterdbarkerUKThe text was updated successfully, but these errors were encountered: