-
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 2024-05-09] [$250] Send invoice - Thread header in invoice workspace chat shows third line "Invoice" #41289
Comments
Triggered auto assignment to @robertjchen ( |
Triggered auto assignment to @alexpensify ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think this bug might be related to #wave-collect - Release 1 |
@robertjchen FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread header in invoice workspace chat shows third line "Invoice" What is the root cause of that problem?That's because we check for isChatThread after isInvoiceRoom. Lines 3164 to 3169 in a462d58
What changes do you think we should make in order to solve the problem?We should swap positions of these two checks. Lines 3164 to 3169 in a462d58
What alternative solutions did you explore? (Optional)This check is used twice in the same function. We can eliminate the first instance. Lines 873 to 875 in a462d58
We also check for isInvoiceRoom here, so it's safe to remove the above block. Lines 3186 to 3188 in a462d58
Solution 3 Lines 873 to 875 in a462d58
|
Does not appear to be a serious deploy blocker to me and should be addressable by external contributors 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~0151a2dd35ff38b79a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread header in invoice workspace chat shows third line "Invoice" What is the root cause of that problem?We never show subtitle for chat threads in app, but don't check for it here: App/src/pages/home/HeaderView.tsx Lines 118 to 121 in aee3a53
The issue is apparent when the order of checks in getChatRoom changed. This makes it easy to introduce regressions to header in the future as we don't have clear enough rule as what should be the order of the checks. Lines 3163 to 3169 in aee3a53
To make sure we don't accidently display subtitles in future (even if a subtitle is calculated) in the context of a thread, we would add sanity checks here: App/src/pages/home/HeaderView.tsx Lines 118 to 121 in aee3a53
This would make the display logic clear and independent of arbitrary ordered if conditions here. What changes do you think we should make in order to solve the problem?We would:
ResultThis works perfectly: Screen.Recording.2024-04-30.at.3.05.57.PM.mov |
#vip-billpay related. cc @danielrvidal |
Hi, I'm Viktoryia from Callstack - expert contributor group - and I would like to work on this issue. |
The issue should be fixed with this PR: #41316 |
@cristipaval Hi, I submitted my proposal after the 'help wanted' tag was added. As far as I know, proposals submitted before the Callstack contributor's comment are considered. |
NOTE: I'll be OOO 1-8th of May 🌴 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.69-2 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-05-09. 🎊 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:
|
Tomorrow, I'll prepare the payment summary if one isn't auto-created for this GitHub. |
Payment Summary
BugZero Checklist (@alexpensify)
|
Closing - the automation is correct here. @rushatgabhane please submit the payment request. Thanks! |
$250 approved for @rushatgabhane |
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.68-0
Reproducible in staging?: Yes
Reproducible in production?: No (New Feature)
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:
Only two lines will be shown in the thread header, which will be header and subtitle link.
Actual Result:
Three lines are shown in invoice workspace chat thread header, which are made of header, subtitle link and "Invoice" line.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6466136_1714443495921.bandicam_2024-04-30_10-14-23-466.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensifyThe text was updated successfully, but these errors were encountered: