resolve cyclic dependencies lint errors#11782
Merged
Merged
Conversation
Member
|
The changes looks good to me. C+ reviewed 🎀👀🎀 cc: @roryabraham
|
thesahindia
previously approved these changes
Oct 14, 2022
roryabraham
requested changes
Oct 14, 2022
roryabraham
approved these changes
Oct 14, 2022
|
@roryabraham looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Contributor
|
Not an emergency, tests were passing |
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
53 tasks
14 tasks
Contributor
|
🚀 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 |
Contributor
|
@mvtglobally this should have been |
Contributor
|
🚀 Deployed to production by @sketchydroide in version: 1.2.16-5 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-cyclein project and confirm no results foundnpm run lintand 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 Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.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/*filesSTYLE.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)QA Steps
Search for
eslint-disable-next-line import/no-cyclein project and confirm no results foundScreenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android