-
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
setting required field errors in app #24379
Conversation
Notes for PR:
|
few questions for you @Ollyws What error to show for empty state field?
currently the later one is used and I think that makes sense, or do I need to handle it together with the req. fields to show the former message? And what about the close account page, do we need required field error there? |
@chiragxarora I think |
Bumping for review: @Ollyws |
@chiragxarora After testing it I think that having the state field as the only one without |
on it |
done @Ollyws |
pls review again |
@chiragxarora Also |
done @Ollyws , sorry about that |
@chiragxarora Thanks, also one more in |
In which folder? |
@chiragxarora |
done @Ollyws |
@chiragxarora Thanks, you might also need to do |
done @Ollyws |
bumping for review @Ollyws |
Reviewer Checklist
Screenshots/VideosWebMacOS_Chrome.mp4Mobile Web - ChromeAndroid_Chrome.mp4Mobile Web - SafariiOS_Safari.mp4DesktopMacOS_Desktop.mp4iOSiOS_Native.mp4AndroidAndroid_Native.mp4 |
@chiragxarora Thanks for your patience. |
Doneee |
I see everything ticked in the checklist, is it ready to be approved now @Ollyws ? Or we are waiting for something? |
Just having a final run through. |
Okay cool! |
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
✋ 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/bondydaa in version: 1.3.56-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.56-24 🚀
|
Details
wrong error messages on various pages for different cases, no field required error present
Fixed Issues
$ #23954
PROPOSAL: #23954 (comment)
Tests
1.1. settings > workspace > bank accounts > manual
1.2. settings > workspace > bank accounts > manual > company info
1.3. settings > workspace > bank accounts > manual > company info > personal info
1.4. settings > payments > debitcard
1.5. settings > security > close account
1.6. settings > profile > personal details > date of birth
1.7. settings > payments > paypal
1.8 localhost:PORT/enable-payments
Offline tests
NA
QA Steps
1.1. settings > workspace > bank accounts > manual
1.2. settings > workspace > bank accounts > manual > company info
1.3. settings > workspace > bank accounts > manual > company info > personal info
1.4. settings > payments > debitcard
1.5. settings > security > close account
1.6. settings > profile > personal details > date of birth
1.7. settings > payments > paypal
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
Web
Screen.Recording.2023-08-17.at.2.35.42.AM.mov
Mobile Web - Chrome
Screen.Recording.2023-08-17.at.11.53.20.PM.mov
Mobile Web - Safari
Screen.Recording.2023-08-17.at.11.35.54.PM.mov
Desktop
Screen.Recording.2023-08-17.at.2.39.08.AM.mov
iOS
Screen.Recording.2023-08-17.at.11.32.32.PM.mov
Android
261604005-045d5abe-96b7-4468-94ea-30c8450d9d7e.1.mp4