feat(reviews): order-line reviews with merchant reply and platform moderation (add-product-reviews)

This commit is contained in:
Chengdong Zhang
2026-09-24 16:38:05 +08:00
parent 473d19d089
commit c532f87b03
34 changed files with 2055 additions and 36 deletions
@@ -120,3 +120,14 @@ When a shop user ships an order from the fulfillment view, shop-admin SHALL offe
- **WHEN** a shop user selects a shipping company and confirms shipment
- **THEN** the order shows the shipped state and the selected company
### Requirement: Merchant review management
Shop users SHALL list only their own shop's reviews in shop-admin through the shared API contract, with pagination and visible reply state, and SHALL submit at most one reply per review. Shop-admin SHALL expose a review management entry beside existing shop operations.
#### Scenario: reply to a review
- **WHEN** a merchant opens an unreplied review of their shop and submits a reply
- **THEN** the reply is stored once and the review row shows it as replied
#### Scenario: already replied review offers no second reply
- **WHEN** a merchant opens a review that already carries their shop's reply
- **THEN** no reply submission is offered and other shops' reviews are unreachable