-
Notifications
You must be signed in to change notification settings - Fork 3k
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 MoneyRequestParticipantsPage.js and copy any changes since Nov 27 into IOURequestStepParticipants.js #35822
Remove MoneyRequestParticipantsPage.js and copy any changes since Nov 27 into IOURequestStepParticipants.js #35822
Conversation
… 27 into IOURequestStepParticipants.js. Signed-off-by: Krishna Gupta <[email protected]>
@abdulrahuman5196 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Still working on this, will try to finish today. |
Syncing commits from old component. |
…a2323/remove/redundant/MoneyRequestParticipantsPage
Signed-off-by: Krishna Gupta <[email protected]>
…RequestParticipantsPage
…a2323/remove/redundant/MoneyRequestParticipantsPage
Signed-off-by: Krishna Gupta <[email protected]>
Signed-off-by: Krishna Gupta <[email protected]>
@Krishna2323 there is more conflicts here |
…a2323/remove/redundant/MoneyRequestParticipantsPage
Signed-off-by: Krishna Gupta <[email protected]>
Signed-off-by: Krishna Gupta <[email protected]>
Signed-off-by: Krishna Gupta <[email protected]>
conflicts resolved. |
@Krishna2323 We don't have any platform videos? Could you add the same and complete the author's checklist? |
src/libs/actions/IOU.ts
Outdated
} | ||
Navigation.navigate(ROUTES.MONEY_REQUEST_PARTICIPANTS.getRoute(iouType)); | ||
// Navigation.navigate(ROUTES.MONEY_REQUEST_PARTICIPANTS.getRoute(iouType)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we commenting out here? If not required, kindly remove the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For more information, navigateToNextPage
is removed yesterday here. @Krishna2323 Let's merge main
@@ -1,7 +1,7 @@ | |||
import {useNavigation} from '@react-navigation/native'; | |||
import _ from 'lodash'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we changing from underscore to lodash here since we dont have any other code change in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old component uses lodash
, underscore
was removed in this commit. We can still use underscore
if we want.
App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js
Line 1 in ae6cc49
import _ from 'lodash'; |
I believe it's necessary to update the route MONEY_REQUEST_STEP_PARTICIPANTS to incorporate the action parameter. The action parameter serves to distinguish between creating a new action or editing an existing one. While the participant page is currently only utilized in the creation flow, but it's important to uphold consistency by applying the same structure universally. |
src/libs/Navigation/types.ts
Outdated
[SCREENS.MONEY_REQUEST.PARTICIPANTS]: { | ||
iouType: string; | ||
reportID: string; | ||
}; | ||
[SCREENS.MONEY_REQUEST.CONFIRMATION]: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Krishna2323 Let's create new type SCREENS.MONEY_REQUEST.STEP_PARTICIPANTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @DylanDylann, type created for SCREENS.MONEY_REQUEST.STEP_PARTICIPANTS
.
Signed-off-by: Krishna Gupta <[email protected]>
Signed-off-by: Krishna Gupta <[email protected]>
Conflicts resolved again 😢, will add recordings in few moments. |
@abdulrahuman5196, checklist completed and recordings added. Pls review once you have sometime :) |
@Krishna2323 What do you think about this comment? |
@DylanDylann, we can do it, its very minor change, lets see what @abdulrahuman5196 thinks. |
I don't see the use of action parameter in MONEY_REQUEST_STEP_PARTICIPANTS currently, do let me know if wrong. While its good to have universal structure, but in this case we can avoid adding unwanted parameters which won't be used. Its a very minor change, so it fine to add it when it becomes needed. @Krishna2323 I am assuming we already checked if any latest changes in MoneyRequestParticipantsPage is also ported to IOURequestStepParticipants. Will cross check and work on platform videos in my morning. |
Checking now |
@abdulrahuman5196 Let's please focus on this one so we can get it resolved, thank you |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-10.at.12.45.32.AM.mp4Android: mWeb ChromeScreen.Recording.2024-04-10.at.12.49.59.AM.mp4iOS: NativeScreen.Recording.2024-04-10.at.12.21.22.AM.mp4iOS: mWeb SafariScreen.Recording.2024-04-10.at.12.26.04.AM.mp4MacOS: Chrome / SafariScreen.Recording.2024-04-10.at.12.14.09.AM.mp4MacOS: DesktopScreen.Recording.2024-04-10.at.12.17.08.AM.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good and works well. Reviewers checklist is also complete.
All yours. @mountiny
🎀 👀 🎀
C+ Reviewed
…a2323/remove/redundant/MoneyRequestParticipantsPage
Signed-off-by: Krishna Gupta <[email protected]>
Signed-off-by: Krishna Gupta <[email protected]>
@mountiny, we can merge this, all conflicts has been resolved. |
@Krishna2323 Apologies, I was ooo at the end of the week, can you please merge with main again? |
…a2323/remove/redundant/MoneyRequestParticipantsPage
@mountiny done! |
@Krishna2323 I have been slow again, can you ping me in slack whne you sync next time |
@Krishna2323 Please update this PR. This PR is blocking other issues |
@Krishna2323 This PR is almost about to be merged. Please keep updating it because It is blocking the main tracking issue cc @tgolen |
Signed-off-by: Krishna Gupta <[email protected]>
@mountiny, merge conflicts resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.64-6 🚀
|
Details
Fixed Issues
$ #34616
PROPOSAL: #34616 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4