Skip to content

Commit

Permalink
🌍 Update JSON - 18 Nov 2023 | 07:24 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
mathew-alex committed Nov 18, 2023
1 parent e04651e commit 0fc2253
Show file tree
Hide file tree
Showing 16 changed files with 661 additions and 18 deletions.
14 changes: 14 additions & 0 deletions contributors/aeswibon.md
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
14 changes: 14 additions & 0 deletions contributors/ayush-seth.md
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
14 changes: 14 additions & 0 deletions contributors/parthksingh1.md
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
14 changes: 14 additions & 0 deletions contributors/vasudevravula.md
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
14 changes: 14 additions & 0 deletions contributors/xakep8.md
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
30 changes: 22 additions & 8 deletions data/github/AshrafMd-1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
{
"last_updated": 1700112673.0,
"last_updated": 1700240277.0,
"activity": [
{
"type": "comment_created",
"title": "coronasafe/care_fe#6665",
"time": 1700240277.0,
"link": "https://github.com/coronasafe/care_fe/issues/6665#issuecomment-1816774059",
"text": "I want to take up this issue can u assign this to me "
},
{
"type": "issue_opened",
"title": "coronasafe/care_fe#6660",
"time": 1700201758.0,
"link": "https://github.com/coronasafe/care_fe/issues/6660",
"text": "Hide the Delete User button for users who don't have access to do it"
},
{
"type": "comment_created",
"title": "coronasafe/care_fe#6651",
Expand Down Expand Up @@ -471,55 +485,55 @@
{
"link": "https://github.com/coronasafe/care_fe/pull/6647",
"title": "Fixed padding in \"Reviewed before\" chip in Consultation Dashboard",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6640",
"title": "Use relative time for audit log details.",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6639",
"title": "Fix styling issues in the patient details page",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6623",
"title": "Move the cancel button to the right in facility inventory add page!",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6614",
"title": "No close button once you open the discontinued prescriptions",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6598",
"title": "Fix scroll overlay. ",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6484",
"title": "Replace useDispatch w. useQuery/request: Consultations #6372",
"stale_for": 0,
"stale_for": 1,
"labels": [
"needs testing"
]
Expand Down
19 changes: 17 additions & 2 deletions data/github/Omkar76.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"last_updated": 1700045032.0,
"last_updated": 1700201228.0,
"activity": [
{
"type": "pr_opened",
"title": "coronasafe/care_fe#6659",
"time": 1700201228.0,
"link": "https://github.com/coronasafe/care_fe/pull/6659",
"text": "Show fields when copying from previous log"
},
{
"type": "comment_created",
"title": "coronasafe/care_fe#6617",
Expand Down Expand Up @@ -188,10 +195,18 @@
}
],
"open_prs": [
{
"link": "https://github.com/coronasafe/care_fe/pull/6659",
"title": "Show fields when copying from previous log",
"stale_for": 0,
"labels": [
"needs testing"
]
},
{
"link": "https://github.com/coronasafe/care_fe/pull/6567",
"title": "Improve rounding of the preset buttons. Fixes #6555",
"stale_for": 0,
"stale_for": 2,
"labels": [
"tested",
"good to merge"
Expand Down
127 changes: 127 additions & 0 deletions data/github/aeswibon.json
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"
}
]
}
51 changes: 51 additions & 0 deletions data/github/ayush-seth.json
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": []
}
Loading

1 comment on commit 0fc2253

@vercel
Copy link

@vercel vercel bot commented on 0fc2253 Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.