-
Notifications
You must be signed in to change notification settings - Fork 475
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
Group medicine administration by 4 hours + Support for archiving medicines + Administration Activity View + migrate useDispatch
to useQuery
#6396
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #1525 ↗︎
Details:
Review all test suite changes for PR #6396 ↗︎ |
👋 Hi, @rithviknishad, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
add a medicine and discontinue it, the count in the hidden prescription wont get auto updated, even though the medicine is hidden now, unless we do a manual reload of page in mobile view the prescription data seems to be overflowing outside the padding hide archive button for the discontinued medicine |
@rithviknishad We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
WHAT
🤖 Generated by Copilot at 1f75446
Improved the usability and responsiveness of the
PrescriptionAdministrationsTable
component by changing the pagination logic and layout to show full days of data.Required Backends
Proposed Changes
useDispatch
w.useQuery
/request
: Medicine (src/Components/Medicine/**
) #6442@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 1f75446
useBreakpoints
hook to determine the number of days per page based on screen size (link)daysPerPage
variable usinguseBreakpoints
hook with default value of 1 and higher values for larger screens (link)usePagination
hook to usedaysPerPage
variable forperPage
andslots
properties, which represent the pagination range and the table columns respectively (link)getAdministrationBounds
function to round the pagination range to whole days instead of hours, to align withdaysPerPage
variable (link)