Commit Graph

162 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
f1cd73fe5d Enhance appointment scheduling by including timezone support in the schema and payload. Update the scheduleAppointment function to automatically use the user's timezone if not specified, improving accuracy in appointment scheduling. 2025-12-05 11:23:54 +00:00
iamkiddy
c07d319819 Enhance LoginDialog component to support optional redirect skipping. Update authentication flow to conditionally redirect users based on their role and current page, improving user experience during login on the booking page. 2025-12-04 20:24:11 +00:00
iamkiddy
a39c811aa0 Refactor authentication handling on booking page by removing automatic login dialog and updating user prompts. Enhance user experience with toast notifications for login requirements and streamline form field accessibility for unauthenticated users. 2025-12-04 20:11:16 +00:00
iamkiddy
e05f81ddae Implement authentication checks on booking page to require user login before accessing appointment features. Update form fields and buttons to disable when not authenticated, and enhance user experience with appropriate prompts and dialog handling. 2025-12-04 19:52:58 +00:00
iamkiddy
77bc00999d Update Navbar component to simplify the link structure by removing conditional routing for authenticated users. This change enhances navigation consistency by directing all users to the home page. 2025-12-04 19:48:47 +00:00
iamkiddy
212ac70b5d Enhance Navbar component to include conditional rendering for the user appointment details route. This update improves navigation clarity for authenticated users by ensuring appropriate links are displayed based on the current route. 2025-12-04 19:46:24 +00:00
iamkiddy
c18275bf9b Update Navbar component to conditionally render Dashboard links based on user roles and current route. This enhancement improves navigation clarity for authenticated users by preventing duplicate links in the Navbar. 2025-12-04 19:44:27 +00:00
iamkiddy
460901ab5c Enhance Navbar component by adding a Dashboard link for authenticated users, improving navigation based on user roles. Update styling and structure for better clarity and user experience while maintaining existing logout functionality. 2025-12-04 19:37:35 +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
4a4590abd1 Remove redundant "vs last month" text from user dashboard statistics for a cleaner presentation. This change enhances the visual clarity of the dashboard while maintaining essential information display. 2025-12-04 19:14:54 +00:00
iamkiddy
386e2e03bf Refactor meeting information display in user appointment detail page. Update styling and structure for clarity, enhancing user experience while maintaining essential details for scheduled meetings. 2025-12-04 19:01:16 +00:00
9d401ae4b1 Merge pull request 'Remove meeting link display from user appointment detail page to streamline the interface. Update instructions for joining meetings to enhance clarity and focus on essential information.' (#53) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/53
2025-12-04 18:40:02 +00:00
iamkiddy
07065803fc Remove meeting link display from user appointment detail page to streamline the interface. Update instructions for joining meetings to enhance clarity and focus on essential information. 2025-12-04 18:39:27 +00:00
9b31fe6a27 Merge pull request 'feat/booking-panel' (#52) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/52
2025-12-04 18:27:56 +00:00
iamkiddy
3da7d99934 Update Navbar component to adjust link behavior based on user authentication and role. Change the home link to redirect authenticated non-admin users to the dashboard, and modify conditional rendering to hide the "book now" link for admin users, enhancing navigation clarity. 2025-12-04 18:26:21 +00:00
iamkiddy
117ce09dc7 Remove Jitsi room ID display from user appointment detail page to streamline meeting information presentation. This change enhances clarity by focusing on essential meeting details while eliminating unnecessary elements related to room ID visibility. 2025-12-04 18:19:38 +00:00
5b5213f871 Merge pull request 'Update appointment detail pages to clarify meeting availability messages and add meeting information section' (#51) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/51
2025-12-04 18:10:14 +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
be717d8f60 Merge pull request 'Refactor startMeeting and endMeeting functions to refetch appointment details' (#50) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/50
2025-12-04 16:39:10 +00:00
iamkiddy
ff2721e791 Refactor startMeeting and endMeeting functions to refetch appointment details
Update the startMeeting and endMeeting functions in appointments.ts to ensure they return the latest appointment state by refetching details from the API. This change addresses the issue of receiving outdated appointment data and improves the accuracy of meeting management functionality.
2025-12-04 16:38:41 +00:00
79822d1931 Merge pull request 'Update API URLs for meeting start and end endpoints to use correct path structure' (#49) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/49
2025-12-04 16:32:26 +00:00
iamkiddy
31ea0bf6ce Update API URLs for meeting start and end endpoints to use correct path structure
Refactor the startMeeting and endMeeting functions in api_urls.ts to point to the correct API paths for meeting management. This change ensures consistency in the API structure and aligns with the overall meeting control functionality.
2025-12-04 16:31:49 +00:00
e057f1409c Merge pull request 'Enhance startMeeting function to accept optional metadata and recording URL parameters' (#48) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/48
2025-12-04 16:15:28 +00:00
iamkiddy
aecde6ce69 Enhance startMeeting function to accept optional metadata and recording URL parameters
Update the startMeeting function in appointments.ts to include optional parameters for metadata and recording URL. This enhancement allows for more flexible meeting initiation by enabling additional context and resources to be passed during the meeting start process.
2025-12-04 16:14:24 +00:00
5d0aa45dad Merge pull request 'feat/booking-panel' (#47) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/47
2025-12-04 15:58:53 +00:00
iamkiddy
61f7f5cf1a Add end meeting API endpoint to API URLs
Introduce a new API endpoint for ending meetings in the API_URLS file, enhancing the meeting management functionality. This addition complements the existing start meeting endpoint, providing a complete set of meeting control options.
2025-12-04 15:58:21 +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
2bff3ed452 Merge pull request 'Add meeting management functionality to appointment detail page' (#46) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/46
2025-12-04 15:36:43 +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
f06a74891d Merge pull request '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 inte…' (#45) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/45
2025-12-04 10:48:53 +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
9aefe892cf Merge pull request 'Enhance appointment scheduling and rejection logic by refining payload structure. Default create_jitsi_meeting to true if not specified and remove undefined fields from the payload. Update scheduleAppointmentSchema to support optional date_str and time…' (#44) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/44
2025-12-03 18:51:19 +00:00
iamkiddy
9f6bb98edb Enhance appointment scheduling and rejection logic by refining payload structure. Default create_jitsi_meeting to true if not specified and remove undefined fields from the payload. Update scheduleAppointmentSchema to support optional date_str and time_slot, ensuring either scheduled_datetime or both must be provided for validation. 2025-12-03 18:50:45 +00:00
36014ca954 Merge pull request '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 joi…' (#43) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/43
2025-12-03 18:41:03 +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
13bc135e09 Merge pull request '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…' (#42) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/42
2025-12-03 18:27:46 +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
ace90b9e10 Merge pull request '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 …' (#41) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/41
2025-12-03 16:27:10 +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
a65d03ccdd Merge pull request '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 fiel…' (#40) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/40
2025-12-03 11:08:42 +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