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
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
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
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
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
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