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-02-19] [$250] Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js #34609
And then we will create new variable const isDraft = action === CONST.IOU.ACTION.CREATE (we will get action from route) and pass it to setMoneyRequestDescription_temporaryForRefactor as a new param. In setMoneyRequestDescription_temporaryForRefactor we will save the new description to draft_transaction if isDraft is true else we will save it to the transaction
We also need to remove EditRequestDescriptionPage and we need to update the route to navigate to IOURequestStepDescription (with action = edit) instead of EditRequestDescriptionPage
In here
changed the title [-]Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js[/-][+][$500] Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js[/+]on Jan 17, 2024
Activity
melvin-bot commentedon Jan 16, 2024
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.KrAbhas commentedon Jan 16, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js
What is the root cause of that problem?
Cleanup of navigation among screens for MoneyRequestDescriptionPage
What changes do you think we should make in order
We will be deleting the component here:
App/src/pages/iou/MoneyRequestDescriptionPage.js
Line 57 in a7a3e7f
We will remove the screen from ModalStackNavigators.tsx
njmulsqb commentedon Jan 17, 2024
I would love to take this!
DylanDylann commentedon Jan 17, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js
What is the root cause of that problem?
Remove deprecated component
What changes do you think we should make in order to solve the problem?
App/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
Line 99 in 278d04e
App/src/libs/Navigation/linkingConfig.ts
Line 432 in 278d04e
App/src/ROUTES.ts
Lines 273 to 276 in a2f5bd5
App/src/SCREENS.ts
Line 144 in a2f5bd5
App/src/libs/Navigation/types.ts
Lines 204 to 209 in a2f5bd5
In here
App/src/ROUTES.ts
Lines 342 to 346 in a2f5bd5
We need to use the new :action param (instead of being hard-coded with "create") like
And then we will create new variable
const isDraft = action === CONST.IOU.ACTION.CREATE(we will get action from route) and pass it tosetMoneyRequestDescription_temporaryForRefactoras a new param. InsetMoneyRequestDescription_temporaryForRefactorwe will save the new description to draft_transaction if isDraft is true else we will save it to the transactionEditRequestDescriptionPageand we need to update the route to navigate toIOURequestStepDescription(with action = edit) instead ofEditRequestDescriptionPageIn here
App/src/components/ReportActionItem/MoneyRequestView.js
Line 289 in d8fb3f4
We also need to update
App/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js
Line 698 in d8fb3f4
In editing split flow, we also need to update to navigate to IOURequestStepDescription
App/src/components/MoneyRequestConfirmationList.js
Line 667 in cc71f70
What alternative solutions did you explore? (Optional)
[-]Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js[/-][+][$500] Remove MoneyRequestDescriptionPage.js and copy any changes since Nov 27 into IOURequestStepDescription.js[/+]melvin-bot commentedon Jan 17, 2024
Job added to Upwork: https://www.upwork.com/jobs/~019b522902265a76e3
melvin-bot commentedon Jan 17, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)50 remaining items
s77rt commentedon Feb 13, 2024
Checklist ^ does not apply here. This is a feature request (code refactor) and not a bug.
alexpensify commentedon Feb 15, 2024
Flagging that I will be OOO on Monday, but will complete the payment process on Tuesday, February 20.
alexpensify commentedon Feb 20, 2024
Payment summary is here: #34609 (comment)
Everyone has been paid via Upwork.
s77rt commentedon Feb 20, 2024
@alexpensify Payment here should be $125 for the regression. I have refunded $125
alexpensify commentedon Feb 20, 2024
Thanks for your honesty! I missed the regression notice and saw it after I hit send in Upwork. All actions are complete here, closing!
melvin-bot commentedon Mar 11, 2024
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
alexpensify commentedon Mar 11, 2024
@s77rt - I believe that the regression was already addressed in another GH. Was today's notice an error? Thanks!
s77rt commentedon Mar 11, 2024
Yes the above notice is a false positive
alexpensify commentedon Mar 11, 2024
Thanks!
DylanDylann commentedon Mar 11, 2024
Let's ignore it. It is only a reference