issues
search
Pixilib
/
GaelO_Flow_Frontend
Frontend for GaelO Flow
MIT No Attribution
1
stars
0
forks
source link
[AccordionPatient] : Add Callbacks and Modals for Buttons
#265
Closed
remixxx31
closed
2 months ago
remixxx31
commented
4 months ago
[AccordionPatient:] Add Callbacks and Modals for Buttons
Checklist
[x] Add callback for Edit button to open a modal with a patient edit form.
[x] Add callback for Delete button to open a confirmation modal.
[x] Implement the patient edit form as a new component.
[x] Implement the confirmation modal to confirm patient deletion.
[x] Connect the delete confirmation modal to an API call for deleting the patient.
Implementation Details
Add callbacks in the
AccordionPatient
component for the Edit and Delete buttons.
Create a new
PatientEditModal
component to handle patient editing.
Implement
ConfirmationModal
component to handle delete confirmation.
Ensure the
ConfirmationModal
triggers an API call to delete the patient upon confirmation.
[AccordionPatient:] Add Callbacks and Modals for Buttons
Checklist
Implementation Details
AccordionPatient
component for the Edit and Delete buttons.PatientEditModal
component to handle patient editing.ConfirmationModal
component to handle delete confirmation.ConfirmationModal
triggers an API call to delete the patient upon confirmation.