-
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
feat: PersonalInfo Step #30576
feat: PersonalInfo Step #30576
Conversation
…ify/App into michal/personal-info-page
…into michal/personal-info-page
https://github.com/gedu/App into michal/personal-info-page
…into michal/personal-info-page
…ify/App into michal/personal-info-page
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@shubham1206agra 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] |
Hey, as I've needed changes from this PR #30426 I've pulled it to this branch. You can obviously completely ignore these files. I haven't modified them in any way and they will be gone from diff once Marcin's PR is merged to our feature branch |
@MrMuzyk I am also reviewing the linked PR, and I have approved it already. |
I've found an issue with method that gets initial step. Pushed a fix for that |
@MrMuzyk Can you resolve conflicts? |
…ify/App into michal/personal-info-page
On second thought, I'll dig a bit deeper to see if we really can't save the DateOfBirth on the input change |
@shubham1206agra bumping for review |
Screen.Recording.2023-11-03.at.4.26.49.PM.mov@MrMuzyk Please see this. I think I get it this time |
@shubham1206agra |
This comment was marked as duplicate.
This comment was marked as duplicate.
In mWeb, see the name page; the next button is hiding behind the keyboard. |
Sure, Ill have a look at it. Anything regarding the code itselft? |
On any specific substep or all of them?
Thats not really my decision. I'd have to get a confirmation from designer what to do with ti
This logic will be reworked in this issue #30235 Each step will get its own route and we will be able to correctly navigate between them. I'll have a look if i can fix it real quick for now but I wouldnt focus too much on it. Its not in final state yet
Can you please elaborate a bit more on this? Data is persisted between the sub steps in onyx. Final API.write is performed only at Confirm as requested |
Only on first substep
We can tackle this later
Ok
|
@shubham1206agra |
When I change devices, the data gets filled, but it shows empty at the Confirmation step. |
@shubham1206agra |
@shubham1206agra |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-11-03.at.6.45.17.PM.movAndroid: mWeb ChromeScreen.Recording.2023-11-03.at.5.08.49.PM.moviOS: NativeScreen.Recording.2023-11-03.at.5.34.13.PM.moviOS: mWeb SafariScreen.Recording.2023-11-03.at.4.56.33.PM.movMacOS: Chrome / SafariScreen.Recording.2023-11-03.at.4.47.52.PM.movMacOS: DesktopScreen.Recording.2023-11-03.at.5.23.27.PM.mov |
Had to add one more change. I've noticed that user was being prompted incorrect default substep when he already saved data in confirm substep. Adjusted values fed to method that sets initial subteps so it also takes BE values into the account |
learnMore: 'Más información', | ||
isMyDataSafe: '¿Están seguros mis datos?', | ||
onFidoConditions: 'Al continuar con la solicitud de añadir esta cuenta bancaria, confirma que ha leído, entiende y acepta ', | ||
isControllingOfficer: 'Estoy autorizado a utilizar la cuenta bancaria de mi compañía para gastos de empresa', | ||
isControllingOfficerError: 'Debe ser un oficial controlador con autorización para operar la cuenta bancaria de la compañía', | ||
}, | ||
personalInfoStep: { | ||
personalInfo: 'Información Personal', |
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.
Did you get these translations verified in Slack?
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.
LGTM
containerStyles: PropTypes.arrayOf(PropTypes.object), | ||
|
||
/** Translate function */ | ||
translate: PropTypes.func.isRequired, |
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.
Any reason we prefer passing the translate function here instead of using the hook here?
4cd72c8
into
Expensify:vit-tieredBankAccountFlow
Details
Fixed Issues
$ #30253
PROPOSAL:
Tests
Offline tests
QA Steps
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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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.mov
Android: mWeb Chrome
android.chrome.mov
iOS: Native
Screen.Recording.2023-10-27.at.12.08.32.mov
iOS: mWeb Safari
ios.safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov