-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-22] [$250] mWeb - Device´s back button has to be used twice to return from chat to inbox after a search #58946
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
Comments
Triggered auto assignment to @NicMendonca ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-22 09:17:48 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/components/Modal/index.tsx Line 51 in 8deddfa
App/src/components/Modal/index.tsx Line 27 in 8deddfa
What changes do you think we should make in order to solve the problem?
App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 277 to 281 in 3f97d5e
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
function backHistory() {
return new Promise((resolve) => {
const onPopState = () => {
window.removeEventListener('popstate', onPopState);
resolve?.();
};
window.addEventListener('popstate', onPopState);
// Trigger the back navigation
window.history.back();
});
} And update: App/src/components/Search/SearchRouter/SearchRouter.tsx Lines 274 to 280 in 8deddfa
backHistory().then(()=>{
if (item?.reportID) {
Navigation.navigateToReportWithPolicyCheck({reportID: item?.reportID});
} else if ('login' in item) {
navigateToAndOpenReport(item.login ? [item.login] : [], false);
}
})
|
Job added to Upwork: https://www.upwork.com/jobs/~021904248795597596858 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
Issue solved ? |
📣 @Sandeep2042001! 📣
|
Contributor details |
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Proposal for Fixing Double Back Navigation Issue (#58946) Problem Statement: Technical Analysis: Proposed Solution Approach:
Implementation Strategy:
Testing Protocol:
Expected Outcomes:
Compliance:
|
📣 @siramo1! 📣
|
Contributor details |
@ahmedGaber93 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
reviewing today |
Daily updates: I am still reviewing the proposals. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Looking for better proposal |
Proposal updated
|
@ahmedGaber93 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@ahmedGaber93 can you please check the above updated proposal? Thank you! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@truph01 alternative proposal LGTM! It works well without delay or timing issue, also similar pattern is already used in the App here to detect 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @justinpersaud, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ahmedGaber93 PR is ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.45-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-05-22. 🎊 For reference, here are some details about the assignees on this issue:
|
@ahmedGaber93 @NicMendonca @ahmedGaber93 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] |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.17-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
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): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12 - Chrome
App Component: Other
Action Performed:
Expected Result:
When returning to chat after a search, using device´s back button should redirect to inbox.
Actual Result:
User has to use device´s back button twice to navigate from chat to inbox after returning from a search.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @NicMendoncaThe text was updated successfully, but these errors were encountered: