feat: editable customer email in admin + email validation on public form
This commit is contained in:
parent
4af9322c9d
commit
bf9f9e09fd
4 changed files with 48 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ A Flask web app for a convention booth where visitors request a custom AI-genera
|
|||
|
||||
### Customer-facing
|
||||
|
||||
- **Request form** (`/request`) — visitors enter name, email, hobbies, notable facts, preferred style/genre, vocal gender preference, and extra requests. A branded banner image is shown.
|
||||
- **Request form** (`/request`) — visitors enter name, email, hobbies, notable facts, preferred style/genre, vocal gender preference, and extra requests. A branded banner image is shown. The email field is validated to reduce delivery problems.
|
||||
- **Confirmation page** (`/thanks/<id>`) — shows the request number after submission.
|
||||
- **Private player page** (`/play/<token>`) — customer receives an email with a unique link. They can stream Version A and Version B, pick one (or both), or request a limited number of revisions.
|
||||
- **Revision workflow** — when a customer asks for changes, the current MP3s are archived and the operator sees the request as "Revisions Requested" in the dashboard.
|
||||
|
|
@ -18,6 +18,7 @@ A Flask web app for a convention booth where visitors request a custom AI-genera
|
|||
- **Dashboard queue** (`/admin`) — filter by status (All, Pending, Needs Upload, Awaiting Payment, Delivered) and auto-refresh at a configurable interval.
|
||||
- **Per-request detail page** (`/admin/request/<id>`):
|
||||
- Generate and save a Suno prompt from customer info.
|
||||
- Edit the customer's email address if they mistyped it.
|
||||
- Upload Version A and Version B MP3s (with automatic ID3 metadata tagging).
|
||||
- Send a preview email with a private player link.
|
||||
- Mark paid, enter a Square payment reference, and deliver selected MP3 attachments.
|
||||
|
|
@ -62,7 +63,7 @@ pending → prompt_ready → songs_uploaded → awaiting_payment → paid → de
|
|||
| `templates/player.html` | Customer audio player, approval, and revision form. |
|
||||
| `templates/admin/login.html` | Admin login page. |
|
||||
| `templates/admin/dashboard.html` | Operator queue with filters and auto-refresh. |
|
||||
| `templates/admin/request.html` | Single-request detail / prompt / upload / delivery page. |
|
||||
| `templates/admin/request.html` | Single-request detail / prompt / upload / delivery page. Customer email is editable here. |
|
||||
| `templates/admin/settings.html` | Maintenance, settings, backup/restore, and reset page. |
|
||||
| `static/Trollgorithm_booth.jpg` | Banner image on the request page. |
|
||||
| `static/DM-Logo_email.png` | Inline Dionysis Media logo attached to emails. |
|
||||
|
|
|
|||
Reference in a new issue