Commit Graph
12 Commits
Author SHA1 Message Date
hamedandClaude Opus 4.8 7d65239615 feat(doctor): wire rich rating/review UI to multi-dimensional API
Connect the existing doctor-page review UI to the rebuilt backend contract
(see clinicpro feat/rating-multidimensional).

- page.js fetches the rating aggregate alongside comments and passes
  rateAggregate down to the chart (point / satisfaction / 5 dimensions).
- Submit form sends the five dimensions with doctor_uuid; comment/reply
  send {doctor_uuid, comment, parent}; 401/403 ERR_RATING_NOT_ELIGIBLE
  surface friendly guidance.
- Like/dislike call POST /like/{uuid} with value and update from the
  response; replies render nested.
- ModalAnswer gates the submit button on GET /rate/{uuid}/eligibility.
- services/response.js: getRateEligibility, postCommentsLike(uuid, value),
  drop unused patchDoctorRate. Fix hardcoded modal title; empty-state for
  no comments. Remove orphaned AnswerField.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 00:26:20 +03:30
Ehsan ebfe47468c get data with filter location for first time, get comment of doctor and show in doctor page, handle new comment 2025-09-03 22:05:26 +03:30
Ehsan 0a8874c4ab dashboard design and functionality and data and page doctor and clinic change data 2025-06-04 03:58:38 +03:30
Ehsan 0217e5e67e change data blog item and clinic item & change pages clinic and clinic to ssr & remove loading & handle pagination page clinics 2025-06-02 06:04:49 +03:30
Ehsan eda896e917 add prettier formatter to all file 2024-09-25 11:03:44 +03:30
Ehsan c45a161fcb add loading all page & change bugs 2024-09-05 22:20:18 +03:30
Ehsan 6384dd10b6 update design page doctor item & design page account & success and failed pay 2024-08-28 03:14:42 +03:30
Ehsan 381b0a9eea respnsive pages 2024-08-19 21:48:15 +03:30
Ehsan 8a53f60d7e change responsive page doctors & change modal and responsive & responsive page doctor item 2024-08-18 14:39:34 +03:30
Ehsan cb214e67f1 title comment and finish tap location in page doctor item 2024-07-07 22:30:40 +03:30
Ehsan 7315167325 page doctor detail 2024-07-06 21:46:11 +03:30
Ehsan 855f31eed8 basic style doctor page 2024-06-27 17:06:05 +03:30