Commit Graph

36 Commits

Author SHA1 Message Date
iamkiddy
2fd5442988 Implement appointment cancellation and rescheduling in admin view
- Added functionality for cancelling appointments with a confirmation dialog.
- Introduced rescheduling capabilities, including state management for reschedule dialogs and inputs.
- Updated the admin appointment detail page to reflect these new features, enhancing user experience and appointment management.
- Integrated new API actions for handling appointment cancellations and rescheduling, ensuring seamless workflow.
2025-12-05 18:35:20 +00:00
iamkiddy
048cb1fcc9 Add appointment cancellation and rescheduling features
- Implemented functionality to cancel appointments, including a confirmation dialog for user actions.
- Added rescheduling capabilities with new state management for reschedule dialogs and inputs.
- Updated appointment detail pages for both admin and user views to reflect these new features, enhancing user experience and appointment management.
- Introduced new API actions for handling appointment cancellations and rescheduling, ensuring seamless integration with the existing appointment workflow.
2025-12-05 18:19:19 +00:00
iamkiddy
cb9be9405e Enhance appointment detail messaging with moderator link
- Updated the appointment detail page to include a clickable moderator link for direct access to meetings, improving clarity on how to join sessions.
- Ensured that the messaging adapts based on the availability of the moderator link, enhancing user experience.
2025-12-05 18:03:20 +00:00
iamkiddy
606007a7d5 Update redirects and messaging for admin and user routes
- Changed redirect paths for authenticated users to point to the admin booking page instead of the admin dashboard.
- Updated appointment detail pages to provide clearer messaging regarding meeting availability and scheduled times.
- Enhanced login and signup flows to ensure users are redirected to the appropriate booking page based on their role.
- Improved user experience by refining text prompts related to meeting access and availability.
2025-12-05 18:00:54 +00:00
iamkiddy
0f60e82bfb Update dashboard components to reflect API-driven percentage values
- Adjusted the admin and user dashboard components to utilize API-provided percentage values (_pct) for various metrics.
- Removed static trend values and updated the trend fields to undefined where applicable, ensuring clarity in data representation.
- Added comments to indicate the source of percentage values, enhancing maintainability and understanding of the code.
2025-12-05 14:29:29 +00:00
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
d6354d20d0 Comment out percentage badges in admin and user dashboard components for clarity and potential future use. 2025-12-05 13:15:53 +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
479b8943ae Refactor appointment detail page for admin and user interfaces. Update meeting link display logic and styling for improved clarity, ensuring users can easily identify and access meeting information while maintaining a streamlined interface. 2025-12-04 19:30:08 +00:00
iamkiddy
2a3fc6ad4d Refactor meeting information display in appointment detail page. Update layout and styling for improved clarity and user experience, ensuring essential details about scheduled meetings are prominently presented. 2025-12-04 19:19:23 +00:00
iamkiddy
65af13b0b2 Update appointment detail pages to clarify meeting availability messages and add meeting information section
Refactor the appointment detail components for both admin and user interfaces to change the messaging for meeting availability from "Meeting Not Available" to "Meeting would be available shortly." Additionally, introduce a new section displaying meeting information, including start time and access instructions, enhancing user clarity and experience.
2025-12-04 18:07:27 +00:00
iamkiddy
fcb8fe3356 Refactor appointment detail components to improve meeting join logic
Enhance the appointment detail page for both admin and user interfaces by refining the logic for joining meetings. Update the handling of participant and moderator permissions, ensuring clarity in button displays based on meeting status. Remove the end meeting API endpoint from the API URLs as it is no longer needed.
2025-12-04 15:56:53 +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
97b04e7593 Refactor appointment detail and booking components to implement time slot sorting by predefined order. Enhance the display of selected slots by grouping and sorting them by date and time, improving clarity and user experience across admin and user interfaces. 2025-12-04 10:48: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
9930789d71 Refactor appointment detail and booking components to enhance the display of selected time slots. Implement logic to fetch and merge selected slots from the appointment list, improving data handling and user experience. Update UI to group slots by date for better clarity and organization. 2025-12-03 18:27:09 +00:00
iamkiddy
2d1409682f Refactor appointment detail rendering to replace "Matching Slots" with "Selected Slots" for improved clarity. Update UI elements to reflect changes in color scheme and enhance the display of availability preferences. Remove legacy matching slots logic to streamline the component and focus on selected time slots. 2025-12-03 16:25:28 +00:00
iamkiddy
01dcf9abe5 Refactor appointment handling to streamline selected time slots and improve data payload structure. Update UI components to display selected slots clearly and enhance user experience by ensuring only relevant data is sent to the API. Remove legacy fields from appointment responses for cleaner data management. 2025-12-03 11:03:01 +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
d51a795191 Refactor ContactSection and submitContactForm to streamline form submission process. Simplify input handling by using a single object for contact data and enhance error messaging for better user feedback. Update appointment detail rendering in Booking component for improved UI consistency. 2025-12-01 18:26:33 +00:00
iamkiddy
5318522f37 Refactor Booking and AppointmentDetail components to enhance rendering of preferred dates and time slots. Improve UI consistency by updating conditional rendering logic and ensuring proper handling of availability states. Additionally, streamline the ContactSection component to include form submission functionality with error handling and loading states for better user experience. 2025-12-01 17:35:28 +00:00
iamkiddy
cea4747da5 Enhance appointment detail and user dashboard components to conditionally render meeting links and buttons based on availability. Update appointment stats fetching logic to remove email dependency, improving user experience and API interaction. Refactor UI elements for better accessibility and clarity. 2025-11-27 20:35:26 +00:00
iamkiddy
5556e88fbf Refactor Booking and AppointmentDetail components to improve handling of preferred dates and time slots. Enhance type safety by ensuring preferred_dates and preferred_time_slots are validated as arrays. Update rendering logic to handle different data formats for better user experience and consistency. 2025-11-27 19:33:54 +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
ee790ca503 Refactor Dashboard component by removing total and monthly revenue stats, and conditionally rendering trend indicators and comparison text based on card properties for improved UI flexibility. 2025-11-26 12:15:37 +00:00
iamkiddy
cef17ea895 Add React DatePicker and styles, update package dependencies, and enhance booking validation 2025-11-26 11:42:31 +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
f6bd813c07 Refactor Booking component to manage time slots instead of time ranges. Update localStorage handling for time slots, enhance UI for selecting time slots, and improve validation for selected slots. Integrate public availability fetching in BookNowPage to display available time slots based on admin settings. 2025-11-25 21:04:22 +00:00
iamkiddy
6bcb6c5414 Update Booking component UI for improved layout and responsiveness. Adjust class names for better styling consistency and ensure elements are properly sized with shrink properties. This enhances the overall user experience in managing availability. 2025-11-25 20:39:47 +00:00
iamkiddy
85afc8c840 Enhance Booking component for admin availability management. Implement time range selection for each day, load saved time ranges from localStorage, and validate time inputs. Update API integration to ensure available_days is an array of numbers and improve error handling for availability updates. Refactor UI for better user experience in managing weekly availability. 2025-11-25 20:38:37 +00:00
iamkiddy
0297e6e3e5 Implement admin availability management in Booking component. Add functionality to manage weekly availability, including day and time selection, and integrate a dialog for updating availability. Enhance API integration for fetching and updating admin availability data. Update UI elements for better user experience. 2025-11-25 20:15:37 +00:00
iamkiddy
83c95afec1 Add Deliverables link to Header and SideNav components, and integrate button in Dashboard for improved navigation 2025-11-24 17:48:57 +00:00
iamkiddy
c7871cfb46 Enhance Booking component with appointment scheduling and rejection functionality. Integrate dialogs for scheduling and rejecting appointments, improving user interaction. Update layout to suppress hydration warnings and refine appointment data handling in BookNowPage for consistent ID management. 2025-11-24 16:04:39 +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
35e654cf46 Integrate dark mode support across admin components, including Header, Notifications, SideNav, and Booking pages. Update styles to ensure visual consistency and responsiveness based on the selected theme, enhancing user experience in both light and dark modes. 2025-11-13 11:42:56 +00:00
iamkiddy
d9ddfee0cf Refactor admin navigation and header components to update links for dashboard, booking, and notifications to include the '/admin' prefix. Remove unused booking, dashboard, notifications, and user dashboard pages to streamline the admin panel. Enhance Navbar component with login dialog functionality for improved user experience. 2025-11-12 00:28:29 +00:00