feat(doctor):doctor dashboard view
Summary
Doctor page does not consistently display the assigned consultation queue, waiting queue, and medicine availability, making it difficult for doctors to efficiently manage consultations and prescriptions.
Steps to reproduce
-
Login as a Doctor user
-
Navigate to Doctor → Dashboard / Assigned Queue
-
Observe the patient queues and medicine section
-
Compare displayed data with backend records
What is the current behavior?
- After doctor logging in,it directs to blank page.
- Doctor page has no patients queue list,waiting queue list,or medicine available
What is the expected correct behavior?
- Assigned consultation queue should clearly list patients assigned to the logged-in doctor.
- Medicine list should display accurate stock quantities and availability status.
- Out-of-stock medicines should be visually highlighted for safety.
Relevant logs and/or screenshots
Screenshot attached showing current Doctor Assigned Queue view.\
Possible fixes
-
Ensure the Doctor page correctly retrieves and renders:
-
Assigned consultation data filtered by logged-in doctor
-
Waiting queue data in a separate section
-
Current medicine inventory with accurate stock and availability
Suggested areas to review:
Doctor queue API filtering by doctor ID
Queue status mapping and separation logic
Medicine inventory API integration and UI highlighting
issue #164 (closed)




