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
[HOLD for payment 2024-04-25] [$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js #34607
Here we have a few changes
But judging by the new component IOURequestStepCurrency
These changes are not entirely relevant because we don't have useEffect unlike Old component
// Dismiss the modal when a current user cannot edit a money request.
Navigation.isNavigationReady().then(()=>{
Navigation.dismissModal();
});
},[threadReportID]);
BUT in Old component, we added useEffect in October which is not used in IOURequestStepCurrency
and if I understand correctly
We need to add this useEffect in New component to use other routes ( For example SCREENS.EDIT_REQUEST.CURRENCY)
Old component are used in several places. Therefore, we need to make sure that everything is updated (And check that the new component works correctly) and does not cause any regression
changed the title [-]Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][$500] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+]on Jan 17, 2024
changed the title [-][HOLD #35833][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+]on Apr 10, 2024
changed the title [-][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][HOLD for payment 2024-04-25] [$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+]on Apr 18, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this 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:
[@akinwale] The PR that introduced the bug has been identified. Link to the PR:
[@akinwale] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@akinwale] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@akinwale] Determine if we should create a regression test for this bug.
[@akinwale] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Activity
melvin-bot commentedon Jan 16, 2024
Triggered auto assignment to @sakluger (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.ZhenjaHorbach commentedon Jan 16, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js
What is the root cause of that problem?
This is not a bug. This is a part of #29107
What changes do you think we should make in order to solve the problem?
To make this ticket we need
IOUCurrencySelectionhttps://github.com/Expensify/App/commits/main/src/pages/iou/IOUCurrencySelection.js?since=2023-11-25&until=2024-01-15
Here we have a few changes
But judging by the new component
IOURequestStepCurrencyThese changes are not entirely relevant because we don't have useEffect unlike Old component
App/src/pages/iou/IOUCurrencySelection.js
Lines 79 to 97 in d4c28a4
BUT in Old component, we added useEffect in October which is not used in
IOURequestStepCurrencyand if I understand correctly
We need to add this useEffect in New component to use other routes ( For example
SCREENS.EDIT_REQUEST.CURRENCY)App/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
Line 268 in d4c28a4
Add useEffect from old component to new (We need this component to use other routes ( For example
SCREENS.EDIT_REQUEST.CURRENCY) )App/src/pages/iou/IOUCurrencySelection.js
Lines 79 to 97 in d4c28a4
Why
SCREENS.EDIT_REQUEST.CURRENCY?UseEffect expects to receive
threadReportIDfrom params from navigationApp/src/pages/iou/IOUCurrencySelection.js
Lines 81 to 83 in d4c28a4
And
**SCREENS.EDIT_REQUEST.CURRENCY**this is the only place where we use this parameterApp/src/ROUTES.ts
Lines 171 to 174 in 7c8336b
Old component are used in several places. Therefore, we need to make sure that everything is updated (And check that the new component works correctly) and does not cause any regression
App/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
Line 97 in a7a3e7f
App/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
Line 114 in a7a3e7f
App/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
Line 268 in a7a3e7f
What alternative solutions did you explore? (Optional)
NA
njmulsqb commentedon Jan 17, 2024
I would love to take this!
[-]Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][$500] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+]melvin-bot commentedon Jan 17, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0107fbe87259b2ef2c
melvin-bot commentedon Jan 17, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale (
External)ishpaul777 commentedon Jan 17, 2024
37 remaining items
[-][HOLD #35833][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+][-][$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/-][+][HOLD for payment 2024-04-25] [$250] Remove IOUCurrencySelection.js and copy any changes since Nov 27 into IOURequestStepCurrency.js[/+]melvin-bot commentedon Apr 18, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Apr 18, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.62-17 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 2024-04-25. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 18, 2024
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:
mountiny commentedon Apr 20, 2024
$250 to @akinwale and to @ZhenjaHorbach
sakluger commentedon Apr 26, 2024
All paid up! I don't think any new regression steps are needed since this is part of a larger project.