-
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-07-10] Thread - Thread title not updated in header and in LHN after editing parent message #44430
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @iwiznia ( |
👋 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:
|
@trjExpensify 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. |
We think this issue might be related to the #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.Thread title and LHN title doesn't update immediately when updating the thread parent message. What is the root cause of that problem?For the thread title, we get the title from Lines 3238 to 3242 in 0c20881
There are 2 problems here. First, we don't optimistically update the Lines 3322 to 3324 in 0c20881
What changes do you think we should make in order to solve the problem?First, update the lastModified optimistically (and revert if fails). App/src/libs/actions/Report.ts Lines 1530 to 1543 in 0c20881
This change alone is enough because the report data is also updated which triggers the App/src/pages/home/HeaderView.tsx Line 106 in 0c20881
const title = ReportUtils.getReportName(reportHeaderData, undefined, parentReportAction);
|
Have we identified the PR on the staging checklist that broke this? |
I think it's the react-compiler. In prod, I can see that the thread and LHN title are late to update. Screen.Recording.2024-06-26.at.20.56.40.movBut in Screen.Recording.2024-06-26.at.21.21.22.movSo, there are 2 problems, 1 is an old problem and the other one is caused by the react-compiler. (NOTE: it shows that the react-compiler did its job) I have updated my proposal to mention the react-compiler PR. |
@kirillzyusko Could you check this out too please? |
FWIW the proposal from @bernhardoj makes sense |
@mountiny yeah, the proposal looks good for me as well 👍 |
PR is ready |
|
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:
|
|
Payment summary as follows:
Feel free to go ahead and request, both of you. Closing! |
Requested in ND. |
$250 approved for @bernhardoj |
$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: 9.0.2-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4675207
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The thread title is updated in the header and in LHN
Actual Result:
The thread title still displays the parent message before editing. It updates in the header after opening the thread again, but does not change in the LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6524884_1719386508521.Recording__578.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: