-
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
resolve cyclic dependencies lint errors #11782
Conversation
The changes looks good to me. C+ reviewed 🎀👀🎀 cc: @roryabraham
|
@roryabraham looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Not an emergency, tests were passing |
✋ 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 @roryabraham in version: 1.2.16-1 🚀
|
@roryabraham Can you pls validate this internally. Dont think we are able to search in Projects |
@mvtglobally this should have been |
🚀 Deployed to production by @sketchydroide in version: 1.2.16-5 🚀
|
Details
DateUtils -> PersonalDetails
So we can remove PersonalDetails import in DateUtils, which is used only in updateTimezone() function.
DateUtils.updateTimezone() function is not used anywhere in the app
But for future use, we can move updateTimezone() from DateUtils to PersonalDetails instead of removal.
Fixed Issues
$ #11102
PROPOSAL: #11102 (comment)
Tests
eslint-disable-next-line import/no-cycle
in project and confirm no results foundnpm run lint
and confirm no lint errors or warnings (Actually this test is not needed because it's already done in github process)PR Review Checklist
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 */
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)PR Reviewer Checklist
The reviewer 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 */
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)QA Steps
Search for
eslint-disable-next-line import/no-cycle
in project and confirm no results foundScreenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android