Refactor companystep to use Form#10741
Refactor companystep to use Form#10741ravindra-encoresky wants to merge 24 commits intoExpensify:mainfrom
Conversation
|
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA 1 out of 2 committers have signed the CLA. |
|
I have read the CLA Document and I hereby sign the CLA |
|
I'll review and test this by tomorrow. @ravindra-encoresky You need to mark every item in the checklist to confirm you've gone through it even if it doesn't apply to the PR. Also I hope you've gone through the guidelines mentioned in the issue GH body. |
|
@mananjadhav checked all items in review checklist |
|
@ravindra-encoresky The changes look fine, but can you please take the latest Also |
…form-refactor-companystep
|
hey @mananjadhav I have uploaded mWeb screen recording. Also merged main branch into this one. |
|
@ravindra-encoresky Changes look fine but I see one test failing. I am unable to select the correct address and it seems due to this validation on the city also fails. Attached is the screencast for the same. Can you please fix this? Also for all the platforms can you please add success (movement to the next step) as well as failure scenario? address-search-issue-validation-issue.mov |
|
okay, I am making necessary changes. will push once done. |
|
@mananjadhav I have facing issue in selecting company address, It is a searchable input so on selecting suggested address it should fill up city, state, zip code also. But in current Form implementation I am unable to do so.
|
|
@ravindra-encoresky I've posted a comment here wrt to |
|
@ravindra-encoresky any updates? 😄 |
please check this comment of @mananjadhav here : #9580 (comment) I'm waiting. |
|
@mananjadhav I have added back |
|
@mananjadhav
|
|
Thanks for the comments @ravindra-encoresky I'll test once again today with the default value for website and update the screencasts. Appreciate your patience on this one. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Just came back from ooo, I'll review this in a moment. @mananjadhav ios is working for me. I'd recommend clearing node_modules and npm cache and running |
Reviewer ChecklistI was able to get it working. Thanks for the patience here @ravindra-encoresky. Tests well.
This worked. Thanks @luacmartins. Been switching between multiple PRs today ;) Reviewer Checklist
ScreenshotsWebweb-company-step.movMobile Web - Chromemweb-chrome-company-step.movMobile Web - Safarimweb-safari-company-step.movDesktopdesktop-company-step.moviOSios-company-step.movAndroidandroid-company-step.mov |
|
@ravindra-encoresky can you please merge main? It seems like we added |
luacmartins
left a comment
There was a problem hiding this comment.
In addition to merging main, I left a comment about reimbursementAccount and reimbursementAccountDraft props
|
@ravindra-encoresky I left a few comments above. We are really close, let's try to get this merged today! |
…form-refactor-companystep
ad2816b to
39b2f99
Compare
|
@mananjadhav I've pushed the changes. |
|
@mananjadhav @luacmartins I had changed my system few days ago and due to this I have pushed one commit with the different account. I think some details is lost now, commits are showing unverified and CLA is not signed. Please guide me what step to take next. P.S. All the code related changed are done. You can continue review |
@ravindra-encoresky You need to open a new PR and add all the commits you added to this one with the user that is approved. I think that should fix it. After that just add all the reviewers from this one to the next one. |
|
@ravindra-encoresky you can try the following instructions:
If that fails, then @sketchydroide steps above sound fine to me. |
|
Thanks @luacmartins Your solution seems way better than mine. |
|
Let’s see if it works 😬 🤞 |
|
@luacmartins Thanks for solution. I am on it. GPG key sign in is not working in my m2 macbook, I am currently resolving it. will update you once done. |
|
@luacmartins @mananjadhav @sketchydroide I have opened a new PR #13076. I have put all changes in just single commit because i was also getting issues in singing previous commits. Please have a look. |
|
thanks @mananjadhav let's move there, we can close this PR |
Details
Refactor companyStep in to use Form.js component.
Fixed Issues
$ #9580
PROPOSAL: #9580 (comment)
Tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** 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)Screenshots
Web
web.mov
Mobile Web - Chrome
mweb.MP4
Mobile Web - Safari
mobile_safari.MP4
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov