Commit Graph
71 Commits
Author SHA1 Message Date
hamed ee47b535d8 Add empty AST cache file for version 0.8.44 with non-object root data 2026-07-08 17:38:32 +03:30
hamed f87110c277 refactor: remove unused components and files related to date filtering and doctor search
- Deleted Date.js and FilterDate.js components as they are no longer needed.
- Removed SearchDoctor.js component which was responsible for searching doctors.
- Cleaned up the Head component by removing references to the deleted Date and SearchDoctor components.
- Removed TurnsPage component and its associated List component, which were not utilized.
- Deleted Cards and Table components from the list directory as they were not in use.
- Removed user account related components including Tab, Head, and Form components.
- Cleaned up bank account components including List, Item, and modal components.
- Removed representation adapters and related functions that were not in use.
2026-06-25 18:14:27 +03:30
hamed 12d2e2e3f1 fix(logo): add aria-labels and improve accessibility features in Logo component
fix(progress): enhance accessibility by adding aria-label to LinearProgress component
fix(share): add aria-label for better accessibility in Share button
fix(title): change h3 to h2 for semantic correctness and add aria-labels for links
fix(qrimg): add alt text for QR code image for improved accessibility
fix(buttonmenu): add aria-label for mobile menu button to enhance accessibility
2026-06-21 17:47:23 +03:30
hamed 35e8b65342 fix(accessibility): add aria-labels for improved screen reader support 2026-06-21 17:00:23 +03:30
hamed 00e9ab5cf8 feat(footer): implement dynamic social media URLs in footer component 2026-06-20 13:53:02 +03:30
hamed 194ffd889c feat: enhance security by implementing HttpOnly refresh tokens and in-memory access token management
- Added isomorphic-dompurify for improved XSS protection
- Refactored token storage to use in-memory management for access tokens
- Implemented server-side route handlers for OAuth token management
- Introduced security headers in next.config.js
- Removed client-side exposure of client_secret and sensitive tokens
- Updated API interceptors to handle token refresh logic
- Cleaned up cookie management for refresh tokens
2026-06-20 13:10:17 +03:30
hamed da05a4e13c feat(userAccount): improve user profile handling with avatar upload and dynamic display name 2026-06-19 11:05:43 +03:30
hamedandClaude Opus 4.8 69e591f03e fix(dashboard): appointment detail fields + sidebar hydration
- Appointment detail (DetailLg/DetailSm) read the real response shape:
  date/time from slot_start, specialty from doctor.specialties[0].name,
  phone from address.telephone.
- Sidebar Head reads userInfo (cookie) after mount to avoid an SSR/client
  hydration mismatch on the user's name.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 12:01:43 +03:30
hamedandClaude Opus 4.8 83b2ec21b7 fix(header): detect login state live from client cookie
The header decided between profile and login button only from the
server-passed logged prop (read once via cookies() in StLayout), so a
user who logged in client-side still saw ورود | ثبت نام until a hard
reload. Seed isLogged from the server prop (correct first paint, no
hydration mismatch) then sync it from the access_token cookie on mount
and on every route change, so login/logout reflect immediately.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 18:41:58 +03:30
hamedandClaude Opus 4.8 e6570e06f6 fix(images): resolve relative backend image URLs to absolute
API مسیرهای تصویر را نسبی برمی‌گرداند (/uploads/...) که next/image روی
دامنه localhost می‌جست و 404 می‌داد. helper جدید imageUrl مسیرهای نسبی
uploads را با NEXT_PUBLIC_API_URL کامل می‌کند (absolute و asset محلی
دست‌نخورده). اعمال روی لیست/جزئیات پزشک، نوبت، گالری کلینیک، آواتارها.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 00:44:27 +03:30
hamed 3c9013ff0c check lighthous 2026-06-05 21:05:07 +03:30
hamed 40df2db108 chore: update dependencies in package.json
- Bumped versions for several packages including:
  - @emotion/styled from ^11.14.0 to ^11.14.1
  - @maptiler/sdk from ^2.4.0 to ^2.5.1
  - @mui/icons-material from ^7.1.0 to ^7.3.6
  - @mui/material from ^7.1.0 to ^7.3.6
  - @mui/styled-engine-sc from ^6.0.0-alpha.18 to ^6.4.9
  - @mui/x-charts from ^7.16.0 to ^7.29.1
  - @mui/x-date-pickers from ^7.17.0 to ^7.29.4
  - @next/third-parties from ^15.1.0 to ^15.5.7
  - axios from ^1.7.7 to ^1.13.2
  - dayjs from ^1.11.13 to ^1.11.19
  - jspdf from ^3.0.1 to ^3.0.4
  - next from ^14.2.20 to ^15.5.7
  - next-themes from ^0.3.0 to ^0.4.6
  - npm from ^10.8.2 to ^10.9.4
  - react from ^18.0.0 to ^18.3.1
  - react-dom from ^18 to ^18.3.1
  - react-easy-crop from ^5.1.0 to ^5.5.6
  - react-toastify from ^10.0.6 to ^11.0.5
  - sharp from ^0.34.1 to ^0.34.5
  - styled-components from ^6.1.11 to ^6.1.19
  - stylis from ^4.3.4 to ^4.3.6
  - swiper from ^11.1.9 to ^11.2.10
  - postcss from ^8 to ^8.5.6
  - prettier from ^3.5.3 to ^3.7.4
  - tailwindcss from ^3.4.1 to ^3.4.18
2025-12-04 05:26:37 +03:30
hamed 18b03ca781 refactor: enhance user role handling in List and ability definitions 2025-11-19 11:48:40 +03:30
ehsan b10fa6259e fix bug modal search location in home && send request after click on continue for update list clinics && change style on hover text of specialties and service in clinics page && add loading for list of clinics && fix bug page doctor item && link footer to clinic-pro 2025-09-29 00:36:55 +03:30
Ehsan f951128074 change date type for req & design and fields & add requests & fix bug appointment and dashboard 2025-07-04 23:44:29 +03:30
Ehsan debd6b0eb5 update dashboard data and design and change req from ssr to csr & change design and data doctor and clinic item 2025-06-17 00:26:16 +03:30
Ehsan 528006e7ff change head.js file 2025-06-14 11:33:02 +03:30
Ehsan 891b0e8273 fix bug dashboard bugs & handle request update data in user profile & change design button in home page 2025-06-13 22:12:58 +03:30
Ehsan eea8737778 Fix dashboard data requests, update dashboard data handling, change login field type, and redesign home button 2025-06-12 21:46:27 +03:30
Ehsan dafeebc54f validation & change deisng sidebar dashboard & add menu to profile & handle menu item in profile & add api 2025-06-03 00:50:10 +03:30
Ehsan e292176a61 handle limit page dashboard & change header profile user & get data from api in page clinics & clinic item and doctor item 2025-06-01 01:08:25 +03:30
hamed 5e2a99474b remove enamd 2025-05-28 08:24:53 +03:30
Ehsan 254d5d4ebd change format all file 2025-05-18 01:18:35 +03:30
Ehsan 60fe4c8040 modal search and default valud of province and city and handle search && show searched state in clinics page 2025-05-15 00:16:09 +03:30
Ehsan a8a320465d change name in register & add link to most-searched home page & change tag & change design and responsive & fix active link header & must include field num in register & send code msg 2025-05-13 22:07:03 +03:30
Ehsan cd3114d308 fix warnings page blog item 2025-05-12 23:11:41 +03:30
Ehsan de1f307574 handle active list header links 2025-05-12 23:04:52 +03:30
Ehsan 405c66d100 handle data and change design page about-us and contact-us 2025-05-12 22:33:18 +03:30
Ehsan 7d05ef0a7d set data ssr in page booking/slug 2025-05-11 23:48:50 +03:30
Ehsan 1b2f579d0d almost change all layouts to ssr 2025-05-11 15:16:51 +03:30
Ehsan e4771c4e2f last update 2025-05-11 12:13:23 +03:30
ehsanahmadi456 13a9de2438 add validation and basic api && change design sidebar 2025-04-01 15:38:07 +03:30
Ehsan 9e3e6c27ee change header z-index 2025-02-17 16:36:40 +03:30
Ehsan b25289f88e fix bug panel error && change design dashboard 2024-10-23 19:53:08 +03:30
Ehsan 72cafd1e02 change design footer & home & fields 2024-10-23 05:47:21 +03:30
Ehsan b69a66006a change fields 2024-10-21 04:08:35 +03:30
Ehsan 804c9f96dd fix design side bar on scroll 2024-10-20 22:10:44 +03:30
Ehsan d91ea41065 deign sidebar 2024-10-20 00:00:24 +03:30
Ehsan 904b19017e change design header 2024-10-19 22:49:03 +03:30
Ehsan 1b2340a0d9 fix responsive design 2024-10-18 20:26:17 +03:30
Ehsan bdc58b7a37 change modal mui design and text 2024-10-17 20:10:21 +03:30
Ehsan 2a98790ffd deisgn page account bank header 2024-10-09 20:20:03 +03:30
Ehsan c1898eb654 change header style 2024-10-09 19:56:59 +03:30
Ehsan eda896e917 add prettier formatter to all file 2024-09-25 11:03:44 +03:30
Ehsan fa38ee2b21 change home page and style buttons 2024-09-25 10:50:26 +03:30
Ehsan 9d1c4aa299 responsive page user-account & add-doctor & turns & add loading to all page panel & change design page dashboard 2024-09-14 02:41:38 +03:30
Ehsan 62b355e52f change layout and router panel & design page dashboard and user account 2024-09-10 21:38:07 +03:30
Ehsan 087ed4a818 all tabs page dashboard and responsive 2024-09-05 00:21:58 +03:30
Ehsan 52a745fcb8 design dashboard comments & messages & modals 2024-09-04 03:00:36 +03:30
Ehsan 13cc7796c3 check responsive & page dashboard user account & turns & transactions & comments 2024-09-03 03:04:55 +03:30