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:
@@ -296,6 +296,11 @@ defmodule BerrypodWeb.Router do
|
||||
# └─────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
live "/", Shop.Page, :home
|
||||
|
||||
# Review routes (before catch-all)
|
||||
live "/reviews/new", Shop.ReviewForm, :new
|
||||
live "/reviews/:id/edit", Shop.ReviewForm, :edit
|
||||
|
||||
live "/:prefix/:id_or_slug", Shop.Page, :dynamic_prefix
|
||||
live "/:slug", Shop.Page, :custom_page
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user