Closed lanitochka17 closed 7 months ago
Triggered auto assignment to @miljakljajic (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
App redirects to Profile page when cleared status without saving
This seems to be expected.
It is happening because we are navigating back after clearing status inside clearStatus
.
InteractionManager.runAfterInteractions(() => {
navigateBackToPreviousScreen();
});
};
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!
Job added to Upwork: https://www.upwork.com/jobs/~01802fb0f898a8a8e6
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 Web
I 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 https://github.com/Expensify/App/pull/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
https://github.com/Expensify/App/assets/78819774/268638e7-8525-48c3-8905-7eff44b13f7a
View all open jobs on GitHub
Upwork Automation - Do Not Edit