hamed and Claude Sonnet 4.6
1aa9f82d2a
fix: resolve critical bugs and security issues across the project
...
- Fix GPS map links always sending literal "latitude"/"longitude" strings
instead of actual coordinates in openLocation/Content.js
- Add api.clinic-pro.ir to next.config.js remotePatterns so production
images load correctly
- Fix appointment page: await params and getStateInfo (Next.js 15 pattern)
- Enable 401 handling in api.js: clear cookies and redirect to /login
- Move OAuth client_secret to server-side API routes (/api/auth/token,
/api/auth/refresh) so it is never bundled into client-side JavaScript
- Update SendReq, SubmitData, ButtonSendData to call API routes instead
of directly sending client_secret from the browser
- Update docker-compose.yml to use server-only CLIENT_SECRET env var
- Remove debug console.log from clinic doctors list component
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-05 22:18:11 +03:30
hamed
e6cb27a714
refactor: remove unused frontend_address from payment payload in Paying component
2025-12-02 15:03:27 +03:30
hamed
430e0b3b11
refactor: enhance payment handling by adding frontend_address to payment payload and implement PaymentDetailsPage component
2025-11-18 21:37:05 +03:30
hamed
df54983fa3
refactor: enhance appointment handling by adding appointmentId state and updating payment process
2025-11-18 17:09:37 +03:30
hamed
53ac0fea83
refactor: add doctor, selectedSlot, and selectedDate props to SubmitData component and enhance appointment handling
2025-11-18 16:36:08 +03:30
hamed
6d6d27bcc9
refactor: pass doctor, selectedSlot, and selectedDate props to SubmitData and Detail components
2025-11-18 16:03:46 +03:30
hamed
0d547b91bc
refactor: update terminology from 'expertise' to 'specialties' in Head components and improve phone number display in Form component
2025-11-18 15:47:24 +03:30
hamed
2894da3c69
refactor: remove console logs for token refresh and user profile requests in SubmitData and AppointmentPage components
2025-11-18 15:39:45 +03:30
hamed
5c98b4de3e
refactor: enhance handling of supplementary insurance in Form and AppointmentPage components
2025-11-18 10:35:35 +03:30
hamed
3268b3c51e
refactor: enhance form validation and error handling in EditField, DefaultSelect, and Form components
2025-11-18 09:16:01 +03:30
hamed
ebc6c246b9
refactor: add gender selection to Form component and update DefaultSelect for improved option handling
2025-11-18 08:32:41 +03:30
hamed
a3fd984894
refactor: update user data handling in AppointmentPage to improve loading state and editability of fields
2025-11-17 16:17:50 +03:30
hamed
3db4c7e851
refactor: improve loading state management and enhance user profile data handling in AppointmentPage component
2025-11-17 16:10:14 +03:30
hamed
8c03717cb7
refactor: add supplementary insurance handling in Form component and update Detail component to fetch insurance data
2025-11-17 15:48:33 +03:30
hamed
b46a017773
refactor: enhance appointment flow by adding selected slot and date management across components
2025-11-17 15:33:47 +03:30
hamed
5a58c13a4e
refactor: implement login state management and navigation flow in appointment components
2025-11-17 15:00:40 +03:30
hamed
63d968be1e
refactor: update appointment components to fetch and handle doctor data and disabled dates
2025-11-12 21:28:15 +03:30
Ehsan
9f53daa398
save state selected in modal filter, filter list with location selected, save data sort, filter list with sort point, real all url from .env file, change name of value category and specialties to persian and change functional find data with field
2025-09-08 08:08:35 +03:30
Ehsan
6920e4078b
redirect filter data to doctors page from home page just with one key && add picture url to doctors page && add conditional to appo page and change data in server
2025-09-02 00:32:04 +03:30
Ehsan
1e70d88a84
fix bug save and set data just with one key, remove page login from appo page, disable not avalaible data in calendar, change steps for pages in appo, get data user, edit and set in page user-info
2025-08-31 01:21:59 +03:30
Ehsan
09867bf84a
show only the first item in appo list & update appo item text && change key in /doctors page URL && handle setting and updating data on first modal filter load
2025-08-26 22:35:05 +03:30
Ehsan
8e4f182868
fix bug save data in wrong key && change functionality data && clean code component
2025-08-06 18:06:41 +03:30
Ehsan
7e61867e3d
change name office-info && change name img uploaded && change theme selector && set default tab in appo page && clean code
2025-07-25 00:02:46 +03:30
Ehsan
278602372d
change component folders && add multipleselector && send img of doctor page && send skills to create doctor item
2025-07-17 15:50:23 +03:30
Ehsan
97802a9fdf
change packages & change data in weekly day & add fields to modal add & remove validation from login page
2025-07-13 00:47:06 +03:30
Ehsan
c6e2657e45
change design and data list in doctor-item & handle component appointment in doctor-item & handle functionality date-picker & fix bug appointment page & add req get appointment list
2025-07-09 03:05:48 +03:30