Repository navigation
[$250] Status – App redirects to Profile page when cleared status without saving #39409
Description
Activity
- addedDailyKSv2KSv2BugSomething is broken. Auto assigns a BugZero manager.Something is broken. Auto assigns a BugZero manager.
on Apr 2, 2024 Triggered auto assignment to @miljakljajic (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.Proposal
Please re-state the problem that we are trying to solve in this issue.
App redirects to Profile page when cleared status without saving
What is the root cause of that problem?
This seems to be expected.
It is happening because we are navigating back after clearing status inside
clearStatus.InteractionManager.runAfterInteractions(() => { navigateBackToPreviousScreen(); }); };What changes do you think we should make in order to solve the problem?
If we want to change this, we want simply remove the above. After update:
const clearStatus = () => { User.clearCustomStatus(); User.updateDraftCustomStatus({ text: '', emojiCode: '', clearAfter: DateUtils.getEndOfToday(), }); formRef.current?.resetForm({[INPUT_IDS.EMOJI_CODE]: ''}); };@miljakljajic Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
- addedExternalAdded to denote the issue can be worked on by a contributorAdded to denote the issue can be worked on by a contributor
on Apr 9, 2024 - changed the title
[-]Status – App redirects to Profile page when cleared status without saving[/-][+][$250] Status – App redirects to Profile page when cleared status without saving[/+]on Apr 9, 2024 Job added to Upwork: https://www.upwork.com/jobs/~01802fb0f898a8a8e6
- addedHelp WantedApply this label when an issue is open to proposals by contributorsApply this label when an issue is open to proposals by contributors
on Apr 9, 2024 reviewing proposals
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 (
External)Intentional behaviour not a bug
Actual Result:
App redirects to Profile page when cleared status without saving. Status reappears for a moment when clear it only on WebI don't see status reappearing on
main. This is intentional behaviour and not a bug.I agree that this is expected - going to close out.
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.59-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #38797
Action Performed:
Expected Result:
App redirects to Profile page when cleared status and press save
Actual Result:
App redirects to Profile page when cleared status without saving. Status reappears for a moment when clear it only on Web
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6435603_1712065326293.Migrate__CustomStatus__page_to_TypeScript.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit