-
-
Notifications
You must be signed in to change notification settings - Fork 712
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
Merging develop-userTypeFix in develop #1761
Merging develop-userTypeFix in develop #1761
Conversation
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
@AVtheking I'm going to close this PR. Use another source branch tests are going to fail |
src/screens/OrgList/OrgList.tsx
Outdated
function openDialogModal(redirectOrgId: string): void { | ||
|
||
/* eslint-disable @typescript-eslint/explicit-function-return-type */ | ||
function openDialogModal(redirectOrgId: string) { |
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.
Make the function void
and remove eslint-disable
src/screens/OrgList/OrgList.tsx
Outdated
|
||
function closeDialogModal(): void { | ||
/* eslint-disable @typescript-eslint/explicit-function-return-type */ | ||
function closeDialogModal() { |
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.
Make the function void
and remove eslint-disable
src/screens/OrgList/OrgList.tsx
Outdated
userData.user.userType === 'ADMIN' && | ||
userData.user.adminFor.length === 0)) ? ( | ||
(userData && adminFor.length === 0)) ? ( | ||
// eslint-disable-next-line |
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.
Remove eslint and wrap the complete div in <> </>
src/screens/Users/Users.tsx
Outdated
@@ -352,6 +359,7 @@ const Users = (): JSX.Element => { | |||
</h4> | |||
</div> | |||
) : isLoading == false && usersData && displayedUsers.length === 0 ? ( | |||
// eslint-disable-next-line react/jsx-indent |
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.
Remove disable and wrap complete in <> </>
@varshith257 It's failing
|
@varshith257 Please fix the linting. |
… into fix/develop
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1761 +/- ##
===========================================
- Coverage 97.94% 96.31% -1.64%
===========================================
Files 178 178
Lines 4382 4447 +65
Branches 1259 1287 +28
===========================================
- Hits 4292 4283 -9
- Misses 86 155 +69
- Partials 4 9 +5 ☔ View full report in Codecov by Sentry. |
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
Except low test coverage
For MemberDetail page, I already have the re-designed page with 100% coverage. We can merge that first, currently this file has very bad coverage so instead of fixing it for old design we can use the new one. |
@pranshugupta54 Okay, Thanks |
|
6bcb24c
into
PalisadoesFoundation:develop
What kind of change does this PR introduce?
Feature
Issue Number:
Fixes PalisadoesFoundation/talawa-api#1965
Did you add tests for your changes?
Yes
Summary
Merging the develop-userTypeFix branch in develop.
Does this PR introduce a breaking change?
Yes
Have you read the contributing guide?
Yes