iamkiddy
2eea3bcc1e
Add percentage fields to appointment stats and update dashboard components to display these metrics.
...
- Introduced new percentage fields in the AppointmentStats and UserAppointmentStats interfaces.
- Updated the admin and user dashboard components to include and display percentage metrics for scheduled, completed, pending review, and rejected appointments.
- Removed commented-out percentage badges and implemented conditional rendering for displaying percentage values, enhancing the clarity of the dashboard statistics.
2025-12-05 14:14:12 +00:00
iamkiddy
f40ced5fb0
Add meeting status indication to appointment detail pages and dashboard stats
...
- Implemented logic to display a "Meeting has ended" button on both admin and user appointment detail pages when the meeting has concluded.
- Updated the dashboard to include a new statistic for active upcoming meetings, enhancing the overview of current appointments.
- Adjusted appointment stats model to accommodate the new active upcoming meetings metric, ensuring accurate data representation.
2025-12-05 13:03:58 +00:00
iamkiddy
74d7a35e60
Add meeting management functionality to appointment detail page
...
Implement start and end meeting features in the appointment detail component. Introduce new API endpoints for starting and ending meetings, and update the appointment model to include meeting status fields. Enhance UI to provide buttons for starting and ending meetings, improving user interaction and experience.
2025-12-04 15:36:14 +00:00
iamkiddy
ce8383da89
Refactor appointment components to replace Jitsi meeting URLs with moderator and participant join URLs. Update logic for joining meetings and copying room IDs based on user roles, enhancing clarity in the UI. Modify appointment model to support new join URL fields and permissions for moderators and participants.
2025-12-03 18:39:30 +00:00
iamkiddy
80882c80bc
Refactor Booking component to improve rendering of preferred availability and time slots. Update appointment model to support both string and array formats for preferred_dates and preferred_time_slots, enhancing flexibility in data handling.
2025-12-01 19:49:20 +00:00
iamkiddy
6b83b092e3
Refactor Booking and AppointmentDetail components to integrate new appointment scheduling format. Update time slot management to use selected_slots, enhance availability loading logic, and improve error handling. Replace legacy date and time handling with a more robust API-driven approach for better user experience and data consistency.
2025-11-27 19:18:59 +00:00
iamkiddy
9d3cc84816
Enhance type safety in BookNowPage and useAppointments hook. Update availableDates and availableDaysOfWeek mapping to specify string types. Add getUserAppointmentStats and AvailableDatesResponse types to useAppointments for improved type definitions. Modify Appointment interface to include 'completed' status for better appointment management.
2025-11-25 21:31:20 +00:00
iamkiddy
a1611e1782
Enhance AdminSettingsPage to fetch and update user profile. Implement profile data retrieval on component mount, update form structure to include first and last name, and add validation for required fields. Improve loading indicators and error handling for profile updates. Update API integration for fetching and updating user profile data.
2025-11-25 21:25:53 +00:00
iamkiddy
4f6e64bf99
Refactor Booking and Dashboard components to integrate appointment management and enhance data fetching logic. Replace mock data with API calls for appointments and user statistics, improving error handling and user feedback. Update UI elements for better search functionality and display of appointment details.
2025-11-23 22:28:02 +00:00
iamkiddy
37531f2b2b
Refactor booking process in BookNowPage to integrate appointment creation via useAppointments hook. Enhance form submission logic to check user authentication before proceeding. Update API endpoint configurations for appointment management, including available dates and user appointments. Improve error handling and user feedback with toast notifications.
2025-11-23 21:43:13 +00:00
iamkiddy
041c36079d
Enhance authentication and middleware logic by improving user role checks, adding OTP verification steps, and refining redirection based on user roles. Update login and signup forms to handle multiple user attributes and streamline error handling. Integrate logout functionality across components for better user experience.
2025-11-23 21:13:18 +00:00
iamkiddy
eb8a800eb7
Enhance authentication flow by integrating @tanstack/react-query for improved data fetching, adding form validation in Login and LoginDialog components, and updating user redirection logic post-login. Also, include new dependencies: input-otp and zod for OTP input handling and schema validation.
2025-11-23 13:29:31 +00:00