add review submission flow (phase 3)
All checks were successful
deploy / deploy (push) Successful in 1m10s
All checks were successful
deploy / deploy (push) Successful in 1m10s
- Add ReviewNotifier for verification emails - Add review token generation and verification - Add request_review_verification function - Update reviews_section component with write-a-review form - Create ReviewForm LiveView for submitting/editing reviews - Add /reviews/new and /reviews/:id/edit routes - Add review buttons to order detail page - Update block_types to load real review data - Tests for token and verification functions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Product reviews system
|
||||
|
||||
Status: In Progress (Phase 1-2 complete)
|
||||
Status: In Progress (Phase 1-3 complete)
|
||||
|
||||
## Overview
|
||||
|
||||
@@ -428,22 +428,22 @@ Only include if product has approved reviews.
|
||||
- Purchase verification
|
||||
- Image preloading helpers
|
||||
|
||||
### Phase 3: Review submission (~4h)
|
||||
### Phase 3: Review submission (~4h) ✓
|
||||
|
||||
5. **Product page review section** (1.5h)
|
||||
5. **Product page review section** (1.5h) ✓
|
||||
- Email entry form (if no session)
|
||||
- Review form (if session + can review)
|
||||
- Edit existing review
|
||||
- Verification email sending
|
||||
|
||||
6. **Review form LiveView** (2h)
|
||||
6. **Review form LiveView** (2h) ✓
|
||||
- Token verification
|
||||
- Form with star rating
|
||||
- Photo upload with LiveView uploads (max 3)
|
||||
- Photo upload with LiveView uploads (max 3) - deferred to Phase 4
|
||||
- Create/update handling
|
||||
- Photo processing via existing pipeline
|
||||
|
||||
7. **Orders page integration** (0.5h)
|
||||
7. **Orders page integration** (0.5h) ✓
|
||||
- "Write a review" / "Edit review" buttons
|
||||
- Link to review form
|
||||
|
||||
|
||||
Reference in New Issue
Block a user