-
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
Policy employees merge refactor #10395
Conversation
Co-authored-by: Ionatan Wiznia <ionatan@expensify.com>
…xpensify/App into chirag-Policy_Employees_Merge-refactor
Ready for re-review |
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.
Looks good! Will test once the Web-E PR discussions are resolved and merged
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.
Tested with Web-PR.
The tests mentioned in the tests section works well, but doesn't work offline. @chiragsalian it is should be pattern B, right? Could you please check If I'm holding something wrong or we need some more changes here.
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
Web-E 34602 was merged and is on staging, so should hit production on Monday. I removed the hold but be careful until then. |
For online testing, they are not dependent on each other. For offline testing, yes there is a block of code here ioni uses which the PR here is dependent off. I've explain my reason why I've not copied it over here,
The reason I've not included it is because its dependent on ioni's PR. We usually just write the normal test case (example) for QA. I could copy over ioni's code and write up offline steps, but it sort of feels like dupe work which will cause an unnecessary merge conflict. Anyway, I don't feel too strongly about copying the code but let me know if you feel strongly about it. |
Updated and ready for review. |
Updated |
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.
Looks good and works well! Please add QA steps 🙏
Yup thank you, i added to mention its the same as tests. |
@chiragsalian looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Not emergency, tests had passed just fine. |
✋ 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 @chiragsalian in version: 1.2.10-0 🚀
|
1 similar comment
🚀 Deployed to staging by @chiragsalian in version: 1.2.10-0 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.2.10-1 🚀
|
…yees_Merge-refactor Policy employees merge refactor
Held on https://github.com/Expensify/Web-Expensify/pull/34602
Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/211556
Tests
Admin test
Screen.Recording.2022-09-13.at.3.34.52.PM.mov
Admin and new user test.
Screen.Recording.2022-09-13.at.3.55.34.PM.mov
Admin and existing user test
Screen.Recording.2022-09-13.at.3.59.17.PM.mov
I see a JS console error but it's not related to my changes.
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
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)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
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)QA Steps
Same as Tests.
Screenshots
Web
Mobile Web
Desktop
iOS
Android