ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
241 stars 425 forks source link

Show Bed no. of location card #8131

Closed aparnacoronasafe closed 3 weeks ago

aparnacoronasafe commented 3 months ago

Is your feature request related to a problem? Please describe. in location list, users don't see how many beds are registered in each location. to know that they have to open up each location and see list of beds

https://care-staging.ohc.network/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/location

Describe the solution you'd like Add No. of beds of each bed type registered in a location on the location card in location listing https://care-staging.ohc.network/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/location

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Image

shubhamchasing commented 3 months ago

I would like to work on this

ahmedobaid23 commented 3 months ago

I want to clarify a few things regarding this issue.

  1. This is information about types and number of beds in a location: main

Do you want the above information to be shown on the outlined FacilityCard on this page? WhatsApp Image 2024-07-15 at 1 25 28 AM

  1. Do you have any design preferences? Because accommodating all the information into the small FacilityCard will change the design alot!
github-actions[bot] commented 3 months ago

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

nihal467 commented 3 months ago

@shubhamchasing @ahmedobaid23 image

this is the location management page.

nihal467 commented 3 months ago

image

@ahmedobaid23 as per the issue, in the above location card itself, we should be able to view each type of bed associated with that location, it can be icons or anything that goes in-sync with the design, so try to create a mock-up before start coding on it.

in the location management card, we only have four beds which are supported, so only need to handle that

Shelly011s commented 2 months ago

@aparnacoronasafe @nihal467 I would like to contribute to this issue. Please assign this to me.

rithviknishad commented 1 month ago

@Shelly011s unassigned due to inactivity. Feel free to assign again if available and create a draft PR.

noufalrahim commented 1 month ago

@aparnacoronasafe @nihal467 @rithviknishad can u assign this to me..?

Shelly011s commented 1 month ago

@rithviknishad Hello, really sorry for the prolonged delay but I have created and discussed upon the UI on slack. I have been struggling to get the number of beds with no limit or offset. Would you be kind enough to guide me a little and please assign the issue? I will finish the PR by tomorrow without any delays.

noufalrahim commented 1 month ago

@Shelly011s, I have already raised a PR, if this is not what is required definitely you can take up the issue.. Sorry for the inconvenience!

nihal467 commented 3 weeks ago

@aparnacoronasafe currently we will be only showing total number of bed in the entire location, if you still want the requirement of no of bed under each bed type in each location, feel free to reopen this issue post the linked PR is merged