-
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
Remove MoneyRequestParticipantsSelector.js and copy any changes since Nov 27 into MoneyTemporaryForRefactorRequestParticipantsSelector #34617
Comments
Triggered auto assignment to @kevinksullivan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove MoneyRequestParticpantsSelector.js and copy any changes since Nov 27 into MoneyTemporaryForRefactorRequestParticipantsSelector.js What is the root cause of that problem?Cleaning of MoneyRequestParticpantsSelector What changes do you think we should make in orderWe will be deleting the component here: App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Line 73 in a7a3e7f
This component appears in MoneyRequestParticipantsPage which will also be removed App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 24 in a7a3e7f
Looking at the changes in history we can see a quiet a few commits made after Nov 27. On further analysis, some of the changes are already in |
I would love to take this! |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
I would love to take this! |
Dibs |
I would love to take this! |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove MoneyRequestParticipantsSelector.js and copy any changes since Nov 27 into MoneyTemporaryForRefactorRequestParticipantsSelector What is the root cause of that problem?The Old Component needs to be completely removed from the codebase What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove MoneyRequestParticipantsSelector.js and copy any changes since Nov 27 into MoneyTemporaryForRefactorRequestParticipantsSelector What is the root cause of that problem?Refactor/cleanup of the code What changes do you think we should make in order to solve the problem?
In App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Lines 189 to 193 in 818567a
But in App/src/pages/iou/request/MoneyTemporaryForRefactorRequestParticipantsSelector.js Lines 178 to 179 in 0c599f0
App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js Line 73 in fe9e9e3
3) The old component was used in `MoneyRequestParticipantsPage.js`, remove the reference from there too and refer to new `MoneyTemporaryForRefactorRequestParticipantsSelector` component App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js Line 24 in 0c599f0
Here we need to update the props passed to the new function as well, so related changes to the variable names would be made accordingly What alternative solutions did you explore? (Optional)N/A |
@situchan want to let me know who we're taking here? |
checking who proposed the most complete proposal |
I don't think anyone proposed completed proposal following Step 1-6 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Remove MoneyRequestSelectorPage.js and copy any changes since Nov 27 into IOURequestStartPage.js What is the root cause of that problem?Component update What changes do you think we should make in order to solve the problem?
Result |
Proposal |
Detail expectation: https://expensify.slack.com/archives/C01GTK53T8Q/p1705999852089949 cc @situchan |
Please update proposals to meet this expectation |
@situchan Did already
|
This issue has not been updated in over 15 days. @kevinksullivan, @situchan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@kevinksullivan Because @situchan is OOO, to speed up the main issue #29107 could you help to re-assign C+ for this issue? I followed the main tracking issue for a long time, could I take over this issue as C+ to process this one |
Thanks for taking this one over, I've assigned it to you @DylanDylann. |
Proposal
|
This is straightforward. @GandalfGwaihir's proposal looks good to me 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hi @DylanDylann - just to be sure - can you confirm that that proposal matches the guidelines for details? (I'm catching up on the conversation) |
@dangrous The guideline in the description isn't correct. We have a Slack thread to discuss it before.
|
Waiting for the response from @dangrous |
Oh wait, It seems MoneyRequestParticipantsSelector is removed somewhere so let's close this one |
@kevinksullivan This issue is outdated now, let's close this one |
Yep you're right, looks like that component is gone now. However we still have the weirdly named |
@dangrous Yes we have. Pasyukevich from Callstack will migrate to TS and rename: #29107 (comment) |
Got it, thanks! So @kevinksullivan if you agree I think we can close this, as @DylanDylann suggests |
@dangrous, @kevinksullivan, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Sounds good 👍 |
This is a part of #29107. You can look at that issue for more context behind the cleanup process.
Problem
The app has two redundant components:
Old Component:
MoneyRequestParticipantsSelector
New Component
MoneyTemporaryForRefactorRequestParticipantsSelector
Solution
Following the examples (example 1, example 2), the Old Component needs to be completely removed from the codebase
:action
param (instead of being hard-coded with"create"
)isEditing
to use the new action param from the routeThe text was updated successfully, but these errors were encountered: