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
Status- Date "Clear After" of Status is Unstable #50170
Version Number: 9.0.44-1 Reproducible in staging?: Y Reproducible in production?: N 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):applausetester+tw4355353122@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to Account Settings > Profile
Add a status and click Save
Expected Result:
The Status "Clear After" date should remain stable
Actual Result:
The Status "Clear After" date is unstable
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6623424_1727972963195.Screen_Recording_2024-10-03_at_9.04.45_AM.mp4
👋 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:
Identify the pull request that introduced this issue and revert it.
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
@jasperhuangg, after many tries, I believe I’ve understood the bug. I think it's not worth fixing since it’s a very minor visual issue, and I believe it’s happening due to the migration to useOnyx. The PR changes are very straightforward—we just prevented multiple navigation. Please check it out and let me know your thoughts. Thanks!
@jasperhuangg It is easy to reproduce the bug ("Never" is displayed for a while) in IOS/Android native and based on RCA, I think it is not related to @Krishna2323 's PR:
@jasperhuangg, ..., and I believe it’s happening due to the migration to useOnyx. The PR changes are very straightforward—we just prevented multiple navigation.
@jasperhuangg I agree with that, this issue not a regression from our fix, it seems it is appeared after migration to useOnyx. I think we should fix it here as a new issue.
Yeah agree that we don't really need to fix this. Also agree that it isn't a regression from the PR, and that it was caused separately by the useOnyx migrations.
Activity
melvin-bot commentedon Oct 3, 2024
Triggered auto assignment to @jasperhuangg (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Oct 3, 2024
👋 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:
melvin-bot commentedon Oct 3, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021841884588235486621
[-]Status- Date "Clear After" of Status is Unstable[/-][+][$250] Status- Date "Clear After" of Status is Unstable[/+]melvin-bot commentedon Oct 3, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (
External)11 remaining items
melvin-bot commentedon Oct 3, 2024
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
[-][$250] Status- Date "Clear After" of Status is Unstable[/-][+]Status- Date "Clear After" of Status is Unstable[/+]Krishna2323 commentedon Oct 3, 2024
@jasperhuangg, I need 30 mins to start working on this. You can assign me if that's okay.
melvin-bot commentedon Oct 3, 2024
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
Krishna2323 commentedon Oct 3, 2024
@jasperhuangg, after many tries, I believe I’ve understood the bug. I think it's not worth fixing since it’s a very minor visual issue, and I believe it’s happening due to the migration to
useOnyx. The PR changes are very straightforward—we just prevented multiple navigation. Please check it out and let me know your thoughts. Thanks!mkzie2 commentedon Oct 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 108 in 821edc5
it makes the dataToShow:
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 56 in 821edc5
is "", and because the modal is not closed immediately:
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 128 in 821edc5
so the "Never" is the fallback value.
What changes do you think we should make in order to solve the problem?
Remove:
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 108 in 821edc5
will fix the issue since we already have the cleanup function:
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Line 142 in 821edc5
What alternative solutions did you explore? (Optional)
Remove the InteractionManager.runAfterInteractions in:
App/src/pages/settings/Profile/CustomStatus/StatusPage.tsx
Lines 128 to 130 in 821edc5
and just need navigateBackToPreviousScreen();
mkzie2 commentedon Oct 4, 2024
@jasperhuangg It is easy to reproduce the bug ("Never" is displayed for a while) in IOS/Android native and based on RCA, I think it is not related to @Krishna2323 's PR:
Screen.Recording.2024-10-04.at.10.14.46.mov
ahmedGaber93 commentedon Oct 4, 2024
@jasperhuangg I agree with that, this issue not a regression from our fix, it seems it is appeared after migration to
useOnyx. I think we should fix it here as a new issue.jasperhuangg commentedon Oct 7, 2024
Yeah agree that we don't really need to fix this. Also agree that it isn't a regression from the PR, and that it was caused separately by the useOnyx migrations.
mkzie2 commentedon Nov 25, 2024
@jasperhuangg A similar issue is reported in here. I think we should re-open this one.