-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌍 Update JSON - 18 Nov 2023 | 07:24 AM
- Loading branch information
1 parent
e04651e
commit 0fc2253
Showing
16 changed files
with
661 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Abhiuday Gupta | ||
title: Contributor | ||
github: aeswibon | ||
twitter: "" | ||
linkedin: "" | ||
slack: "" | ||
joining_date: "" | ||
core: false | ||
intern: false | ||
operations: false | ||
--- | ||
|
||
Still waiting for this |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Ayush Seth | ||
title: Contributor | ||
github: ayush-seth | ||
twitter: "" | ||
linkedin: "" | ||
slack: "" | ||
joining_date: "" | ||
core: false | ||
intern: false | ||
operations: false | ||
--- | ||
|
||
Still waiting for this |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Parth Kumar Singh | ||
title: Contributor | ||
github: parthksingh1 | ||
twitter: "" | ||
linkedin: "" | ||
slack: "" | ||
joining_date: "" | ||
core: false | ||
intern: false | ||
operations: false | ||
--- | ||
|
||
Still waiting for this |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Vasudev Ravula | ||
title: Contributor | ||
github: vasudevravula | ||
twitter: "" | ||
linkedin: "" | ||
slack: "" | ||
joining_date: "" | ||
core: false | ||
intern: false | ||
operations: false | ||
--- | ||
|
||
Still waiting for this |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Kunal Dubey | ||
title: Contributor | ||
github: xakep8 | ||
twitter: "" | ||
linkedin: "" | ||
slack: "" | ||
joining_date: "" | ||
core: false | ||
intern: false | ||
operations: false | ||
--- | ||
|
||
Still waiting for this |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"last_updated": 1700225585.0, | ||
"activity": [ | ||
{ | ||
"type": "pr_reviewed", | ||
"time": 1700225585.0, | ||
"title": "coronasafe/care#1689", | ||
"link": "https://github.com/coronasafe/care/pull/1689#pullrequestreview-1736902377", | ||
"text": "fix(asset_location): added duty_staff endpoint" | ||
} | ||
], | ||
"open_prs": [ | ||
{ | ||
"link": "https://github.com/coronasafe/care_fe/pull/6512", | ||
"title": "fix(location): duty doctors and staff for each location in a facility", | ||
"stale_for": 0, | ||
"labels": [ | ||
"waiting for back end" | ||
] | ||
}, | ||
{ | ||
"link": "https://github.com/coronasafe/care/pull/1689", | ||
"title": "fix(asset_location): added duty_staff endpoint", | ||
"stale_for": 0, | ||
"labels": [ | ||
"waiting-for-review" | ||
] | ||
}, | ||
{ | ||
"link": "https://github.com/coronasafe/care/pull/1589", | ||
"title": "Adds Nurse user type and promote existing staffs to nurse", | ||
"stale_for": 1, | ||
"labels": [ | ||
"waiting-for-review", | ||
"done" | ||
] | ||
}, | ||
{ | ||
"link": "https://github.com/coronasafe/care/pull/1575", | ||
"title": "fix: tests for ambulance APIs", | ||
"stale_for": 0, | ||
"labels": [] | ||
}, | ||
{ | ||
"link": "https://github.com/coronasafe/care/pull/1063", | ||
"title": "Fixed: Added depth in consultation model for symptoms", | ||
"stale_for": 135, | ||
"labels": [ | ||
"waiting-for-review" | ||
] | ||
} | ||
], | ||
"authored_issue_and_pr": [ | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1376", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1431" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1217", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1218" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1164", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1165" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1154", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1155" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1142", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1143" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/4322", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/4378" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/4321", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/4378" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/4320", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/4378" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1111", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1112" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/3968", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/3974" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/1089", | ||
"pr_link": "https://github.com/coronasafe/care/pull/1090" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/936", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/3217" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/930", | ||
"pr_link": "https://github.com/coronasafe/care/pull/931" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/3145", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/3146" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/3114", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/3115" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/2907", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/2908" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care_fe/issues/2769", | ||
"pr_link": "https://github.com/coronasafe/care_fe/pull/2770" | ||
}, | ||
{ | ||
"issue_link": "https://github.com/coronasafe/care/issues/827", | ||
"pr_link": "https://github.com/coronasafe/care/pull/822" | ||
} | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"last_updated": 1700239006.0, | ||
"activity": [ | ||
{ | ||
"type": "comment_created", | ||
"title": "coronasafe/care_fe#6503", | ||
"time": 1700239006.0, | ||
"link": "https://github.com/coronasafe/care_fe/issues/6503#issuecomment-1816739173", | ||
"text": "I can pick this up if still required" | ||
}, | ||
{ | ||
"type": "comment_created", | ||
"title": "coronasafe/care_fe#6608", | ||
"time": 1700238801.0, | ||
"link": "https://github.com/coronasafe/care_fe/issues/6608#issuecomment-1816734216", | ||
"text": "@rithviknishad is this under the same category? Only state admin should see this button?" | ||
}, | ||
{ | ||
"type": "pr_opened", | ||
"title": "coronasafe/care_fe#6663", | ||
"time": 1700237433.0, | ||
"link": "https://github.com/coronasafe/care_fe/pull/6663", | ||
"text": "show delete user button only for stateAdmin" | ||
}, | ||
{ | ||
"type": "comment_created", | ||
"title": "coronasafe/care_fe#6660", | ||
"time": 1700236158.0, | ||
"link": "https://github.com/coronasafe/care_fe/issues/6660#issuecomment-1816668248", | ||
"text": "cool, I can take this up. Can you assign it to me? @rithviknishad \r\n" | ||
}, | ||
{ | ||
"type": "comment_created", | ||
"title": "coronasafe/care_fe#6660", | ||
"time": 1700233608.0, | ||
"link": "https://github.com/coronasafe/care_fe/issues/6660#issuecomment-1816593105", | ||
"text": "This is the function that controls the visibility of the delete button\r\n```typescript\r\n const showDelete = (user: any) => {\r\n const STATE_ADMIN_LEVEL = USER_TYPES.indexOf(\"StateAdmin\");\r\n const STATE_READ_ONLY_ADMIN_LEVEL =\r\n USER_TYPES.indexOf(\"StateReadOnlyAdmin\");\r\n const DISTRICT_ADMIN_LEVEL = USER_TYPES.indexOf(\"DistrictAdmin\");\r\n const level = USER_TYPES.indexOf(user.user_type);\r\n const currentUserLevel = USER_TYPES.indexOf(authUser.user_type);\r\n if (user.is_superuser) return true;\r\n\r\n if (currentUserLevel >= STATE_ADMIN_LEVEL)\r\n return user.state_object?.id === authUser.state;\r\n if (\r\n currentUserLevel < STATE_READ_ONLY_ADMIN_LEVEL &&\r\n currentUserLevel >= DISTRICT_ADMIN_LEVEL &&\r\n currentUserLevel > level\r\n )\r\n return facilityData?.district_object_id === authUser.district;\r\n return false;\r\n };\r\n ```\r\n \r\nReproducing the issue, I can see that the delete button is visible because the 3rd `if` condition is evaluating to `true` which because `currentUserLevel > level` which implies that the `authUser` should be able to delete `user` and they also belong to the same `district`. Which makes me think something is wrong on the backend here? Since the logic for showing the button seems to be right. How can I find out why exactly the backend API is failing?" | ||
} | ||
], | ||
"open_prs": [ | ||
{ | ||
"link": "https://github.com/coronasafe/care_fe/pull/6663", | ||
"title": "show delete user button only for stateAdmin", | ||
"stale_for": 0, | ||
"labels": [ | ||
"needs testing" | ||
] | ||
} | ||
], | ||
"authored_issue_and_pr": [] | ||
} |
Oops, something went wrong.
0fc2253
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.
Successfully deployed to the following URLs:
leaderboard – ./
leaderboard-five.vercel.app
leaderboard-git-main-ohcnetwork.vercel.app
contributors.coronasafe.network
contributors.ohc.network
leaderboard-ohcnetwork.vercel.app