You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-08-13] [$250] Status - The Clear after row flickers after clicking the Save button #64873
Version Number: v9.1.71-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail: n/a Email or phone of affected tester (no customers): n/a Issue reported by: Applause Internal Team Device used: Mac 15.4.1/ Desktop, Chrome, mWeb/Safari App Component: User Settings
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Status - The Clear after row flickers after clicking the Save button[/-][+][$250] Status - The Clear after row flickers after clicking the Save button[/+]on Jun 30, 2025
changed the title [-][$250] Status - The Clear after row flickers after clicking the Save button[/-][+][Due for payment 2025-08-13] [$250] Status - The Clear after row flickers after clicking the Save button[/+]on Aug 6, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.89-21 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@hoangzinh@Christinadobrzyn The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
I don't think we need a regression test for this bug, it's small UX issue.
Activity
melvin-bot commentedon Jun 25, 2025
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.daledah commentedon Jun 25, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Clear after row flickers after clicking the Save button
What is the root cause of that problem?
When saving custom status, we call both
updateCustomStatusandclearDraftCustomStatusat the same timeApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Lines 114 to 119 in 014edee
Which leads to a race condition: for a very short amount of time
draftClearAfterhereApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 59 in 014edee
and
currentUserClearAfterhereApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 56 in 014edee
is both empty string.
Which leads to
DateUtils.getLocalizedTimePeriodDescription(dataToShow)returnsneverApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Lines 67 to 68 in 014edee
App/src/libs/DateUtils.ts
Lines 543 to 544 in 014edee
What changes do you think we should make in order to solve the problem?
We should move
clearDraftCustomStatustoInteractionManager.runAfterInteractionsApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Lines 119 to 122 in 014edee
Or we can move the function
clearDraftCustomStatusintonavigateBackToPreviousScreenWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
Or we can remove
clearDraftCustomStatusfunction here because it was cleared when umountApp/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Lines 146 to 155 in 014edee
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Jun 30, 2025
@Christinadobrzyn Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Jun 30, 2025
@Christinadobrzyn Huh... This is 4 days overdue. Who can take care of this?
[-]Status - The Clear after row flickers after clicking the Save button[/-][+][$250] Status - The Clear after row flickers after clicking the Save button[/+]melvin-bot commentedon Jun 30, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021939816803115817068
melvin-bot commentedon Jun 30, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (
External)34 remaining items
[-][$250] Status - The Clear after row flickers after clicking the Save button[/-][+][Due for payment 2025-08-13] [$250] Status - The Clear after row flickers after clicking the Save button[/+]melvin-bot commentedon Aug 6, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 6, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.89-21 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 2025-08-13. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Aug 6, 2025
@hoangzinh @Christinadobrzyn The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Christinadobrzyn commentedon Aug 11, 2025
Payment coming up soon!
hoangzinh commentedon Aug 12, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/24620/files#r2268275870
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
I don't think we need a regression test for this bug, it's small UX issue.
Christinadobrzyn commentedon Aug 13, 2025
Thanks @hoangzinh!
Payment summary here - #64873 (comment)
@hoangzinh please request payment through ND. TY!
hoangzinh commentedon Aug 13, 2025
Thanks @Christinadobrzyn. I requested in ND
twisterdotcom commentedon Aug 14, 2025
@hoangzinh has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-2c94-a6b7-b080-6ebe41c33b91