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 |
| 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.
Did you get these translations verified in Slack?
| containerStyles: PropTypes.arrayOf(PropTypes.object), | ||
|
|
||
| /** Translate function */ | ||
| translate: PropTypes.func.isRequired, |
There was a problem hiding this comment.
Any reason we prefer passing the translate function here instead of using the hook here?

Details
Fixed Issues
$ #30253
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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