-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-08-16] [$1000] Web - On back button press navigates to Confirm task screen instead of hide modal #21200
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.on back button press navigates to Confirm task screen instead of hide modal What is the root cause of that problem?The issue seems to be with the onBackButtonPress event handler for the HeaderWithBackButton component. The code navigates to the "Confirm task" screen instead of hiding the modal. What changes do you think we should make in order to solve the problem?To solve this issue, we need to update the onBackButtonPress event handler to hide the modal instead of navigating to the "Confirm task" screen in
This change replaces the Navigation.goBack function with Navigation.dismissModal to hide the modal instead of navigating to the "Confirm task" screen. What alternative solutions did you explore? (Optional) |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
ProposalPlease re-state the problem that we are trying to solve in this issue.on back button press navigates to Confirm task screen instead of hide modal What is the root cause of that problem?onBackButtonPress we are navigating to "NEW_TASK" screen instead back App/src/pages/tasks/TaskAssigneeSelectorModal.js Lines 179 to 182 in c2059ef
What changes do you think we should make in order to solve the problem?we can remove onBackButtonPress from below code because as default it will be navigated to back App/src/pages/tasks/TaskAssigneeSelectorModal.js Lines 179 to 182 in c2059ef
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.On back button press navigates to Confirm task screen instead of hide modal What is the root cause of that problem?In this PR this navigation updation took place where on the back we are navigating What changes do you think we should make in order to solve the problem?It seems this navigation part added bcoz if the user refresh on assignee selection page and then click on back it will take the user to the New Task page but for already assigned task we should not want to be land on New Task page. So we need to navigate based on the params(if report id is available then just go back or else for new task part navigate to new task page)
Need to update the condition to
ResultScreen.Recording.2023-06-21.at.7.05.03.PM.movScreen.Recording.2023-06-21.at.7.08.41.PM.mov |
Job added to Upwork: https://www.upwork.com/jobs/~012cb24f67bd54c980 |
Current assignee @isabelastisser is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
I will be OOO until July 5, so assigning another team member. SO for reference. |
Triggered auto assignment to @dylanexpensify ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
Didn't get to today, but will tackle tomorrow! |
@eVoloshchak can we get reviews on proposals today?? |
@eVoloshchak Thanks, I think reviewed stamp is required to assign it to the internal engineer. |
📣 @eVoloshchak Please request via NewDot manual requests for the Reviewer role ($1000) |
📣 @Pujan92 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@Pujan92, I assigned you now. You can start working on this now, thanks! |
@eVoloshchak PR is ready for review! |
Triggered auto assignment to @pecanoro, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.51-2 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 2023-08-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@eVoloshchak Can you complete the list so we can proceed with the payment? @isabelastisser All yours to handle payments! |
Payment summary:
|
@eVoloshchak please complete the checklist when you have a chance, thanks! |
|
Reviewed the details for @eVoloshchak. $1,000 approved for payment via NewDot based on BZ summary. |
We are all set here. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
It should hide the modal on click of back button
Actual Result:
on back button press navigates to Confirm task
Workaround:
UNknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.27-6
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-06-14.at.3.49.29.PM.1.mov
Recording.798.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686738116807699
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: