-
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
[NO QA] feat: Step 3 UI #51667
[NO QA] feat: Step 3 UI #51667
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@hungvu193 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] |
I'll review this weekend! |
I think we missed some regexes for zipcode: zipcode.movHere's the old regex for zipcode: App/src/components/AddressForm.tsx Lines 121 to 131 in bef062b
|
Also please add the validation for invalid phone number: Screen.Recording.2024-11-04.at.13.19.56.mov |
If we choose other country that don't have state option visible, we should also remove the validation for it: Screen.Recording.2024-11-04.at.13.24.51.mov |
This seems to me like a regex for US zipcodes only (I've tried to enter mine which is Polish and it wasn't passing). I'll try to find a universal one. |
It's probably caused by the fact that when user comes back to any of the sub steps from the confirmation screen we don't want to save anything he changed unless he confirms it. Condition to display state field probably is based on draft value. Looking for a fix now |
@hungvu193 I've fixed known issues and found and fixed a few more edge cases when it came to autocomplete and editing from confirmation screen. You can check again |
Thank you. I'll check again in a while 💯 |
I still can reproduce the issue, here are the steps:
Screen.Recording.2024-11-05.at.22.19.29.mov |
@hungvu193 Fixed that issue and rebased with latest main |
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.
All good so far! One comment left.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-06.at.18.24.29.movAndroid: mWeb ChromeScreen.Recording.2024-11-06.at.18.14.47.moviOS: Nativeios.moviOS: mWeb SafarimSfari.movMacOS: Chrome / SafariScreen.Recording.2024-11-06.at.18.02.34.movMacOS: DesktopDesktop.mov |
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.
Tests well!
✋ 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 staging by https://github.com/madmax330 in version: 9.0.60-0 🚀
|
@MrMuzyk @hungvu193 @madmax330, the QA team sees a request to update to USD when connecting to a bank account, even with currencies mentioned in the PR. How can we connect BA then? Is it an internal PR? 2024-11-12.09.21.52.mp4 |
@IuliiaHerets You need to enable debug mode via troubleshoot menu to be able to access this. This is a new flow that we're building and we will be testing it as a whole once it's fully complete. Now we only have certain pieces that are not fully done |
@MrMuzyk Flow doesn't work on our side with enabling debug mode via the troubleshooting menu. We still need to change the currency to USD to continue bandicam.2024-11-12.15-08-42-409.mp4 |
Ok. I know where the issue is. https://github.com/Expensify/App/blob/main/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx#L234 Is this a blocker or can I add that in the next PR im preparing as part of this new global reimbursements flow? |
Users can't access this feature anyway, so I don't think it's blocker, let update the title of this PR with No QA prefix and make sure we will add above condition to our next PR |
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.60-3 🚀
|
Details
This PR introduces UI for step 3 in global reimbursements flow.
Fixed Issues
$ #50899
PROPOSAL:
Tests
Same as QA steps
Offline tests
QA Steps
Note:
AddressFormFields component was updated. While everything should remain exactly the same following places were affected by this:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
steo3-android-native.mp4
Android: mWeb Chrome
step3-android-chrome.mp4
iOS: Native
step3-ios-native.mp4
iOS: mWeb Safari
step3-ios-safari.mp4
MacOS: Chrome / Safari
step3-web.mp4
MacOS: Desktop
step3-desktop.mp4