ohcnetwork / care_fe

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

Unable to View all Patient records in Shifting Module #8037

Open gayann-au opened 4 months ago

gayann-au commented 4 months ago

In Shifting Module currently we don't provision in the interface to view all patients and Patient records. If the Number of 'Completed' is 350 there are no ways to view all 350 patients. This is throughout all the Shifting Statuses'. Please find below reference for detailed Understanding

Uploading Shifting Module (1).mp4…

nihal467 commented 4 months ago

@aparnacoronasafe can you check and suggest the way of approach should be + mock UI for this issue

aparnacoronasafe commented 4 months ago

bug: unable to view all patients in the list.

A list in Kanban might say "45" on top, but when you scroll down only 18 or so patients are listed. Show all 45 patients in list

nihal467 commented 4 months ago

@khavinshankar currently, we are adding a temporary fix where users can click on load more button, to load more cards (14 more cards on each click ). We need to implement infinite scroll in the system.

github-actions[bot] commented 4 months ago

:warning: Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed. @skks1212 @khavinshankar kindly acknowledge this message by commenting 'Acknowledged' below.

khavinshankar commented 4 months ago

Infinite scrolling would need an additional hook (useInfiniteQuery) which is similar to tanstack query, this will be picked up once we decide to go ahead with tanstack query refactor.