Commit Graph

117 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
8d0088f555 Enhance deliverables page by adding email notification details for admins and clients regarding appointment requests and confirmations. Update images to reflect these changes for better clarity in the scheduling process. 2025-12-01 19:08:58 +00:00
iamkiddy
755d2b328a Update deliverables page to simplify appointment scheduling instructions. Remove redundant steps regarding meeting room creation and joining process for clarity and conciseness. 2025-12-01 18:40:57 +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
6fb6e97341 Enhance submitContactForm function to improve input sanitization and response handling. Update documentation to clarify that the endpoint does not require authentication. Implement checks for empty responses and specific error handling for authentication issues, ensuring a more robust user experience during form submissions. 2025-12-01 17:53:17 +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
91bece7174 Update age label in ClientFocus component from 'Teen' to 'Teens' for consistency in terminology. 2025-11-28 19:59:39 +00:00
iamkiddy
cd156bd4ac Update Footer and Services components to reflect location and service focus changes, replacing 'Miami' with 'Hollywood' and adjusting therapy age range and community support description for clarity and inclusivity. 2025-11-28 14:25:00 +00:00
iamkiddy
1af9ae20ab Update email address in deliverables page for consistency with domain standards. 2025-11-27 20:44:34 +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
a864d909a8 Refactor appointment handling in appointments.ts to improve error extraction, response parsing, and slot validation. Introduce new helper functions for better readability and maintainability, while ensuring compatibility with updated API response formats. 2025-11-27 19:53:35 +00:00
37560787fc Merge pull request 'feat/booking-panel' (#29) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/29
2025-11-27 19:44:53 +00:00
iamkiddy
c8c84e1644 Remove selected slots display from BookNowPage to streamline user interface and improve clarity in slot selection process. 2025-11-27 19:37:54 +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
4d85cd3c19 Merge pull request '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.' (#28) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/28
2025-11-26 12:16:17 +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
6d3d7a848d Merge pull request 'feat/booking-panel' (#27) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/27
2025-11-26 11:45:47 +00:00
iamkiddy
b2877dd36c Improve error handling in createAppointment function by using [\s\S] regex for better compatibility in parsing HTML error messages. 2025-11-26 11:44:16 +00:00
iamkiddy
cef17ea895 Add React DatePicker and styles, update package dependencies, and enhance booking validation 2025-11-26 11:42:31 +00:00
670bc31069 Merge pull request 'Remove unused file '17' to clean up the repository.' (#26) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/26
2025-11-25 21:39:08 +00:00
iamkiddy
4f58a69dd1 Remove unused file '17' to clean up the repository. 2025-11-25 21:38:27 +00:00
92bd895b40 Merge pull request 'feat/booking-panel' (#25) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/25
2025-11-25 21:33:39 +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
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
84f0f3137c Merge pull request 'feat/booking-panel' (#24) from feat/booking-panel into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/24
2025-11-25 20:44:34 +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
e593ae595b Refactor ReadmePage to use Next.js router for navigation and remove sensitive information. Update API_BASE_URL assignment for cleaner implementation in api_urls.ts. Clean up ForgotPasswordDialog component by removing unnecessary whitespace. 2025-11-25 17:26:30 +00:00
iamkiddy
5793836394 Merge branch 'master' of http://35.207.46.142/ATTUNE-HEART-THERAPY/website into feat/deliverables 2025-11-24 22:39:35 +00:00
iamkiddy
343c2c66b6 Refactor LoginDialog to support pre-filling email and integrate Forgot Password functionality. Update Navbar to manage dialog states for login and signup, enhancing user experience with smoother transitions between dialogs. Remove unused signup logic from LoginDialog for a cleaner implementation. 2025-11-24 22:35:07 +00:00
7d7d346bd9 Merge pull request 'feat/deliverables' (#22) from feat/deliverables into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/22
2025-11-24 22:10:29 +00:00
f5e867414b Merge pull request 'feat/authentication' (#21) from feat/authentication into master
Reviewed-on: http://35.207.46.142/ATTUNE-HEART-THERAPY/website/pulls/21
2025-11-24 22:09:50 +00:00