feat: add /faq page and link from request form

This commit is contained in:
Troll (Hermes Agent) 2026-08-02 17:31:08 +00:00
parent 382b05d7f8
commit 023b4fade7
5 changed files with 168 additions and 1 deletions

View file

@ -8,6 +8,7 @@ A Flask web app for a convention booth where visitors request a custom AI-genera
- **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.
- **FAQ page** (`/faq`) — answers common customer questions.
- **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.
- **Rate limiting** — the public request form is capped at 5 submissions per minute per IP.
@ -60,6 +61,7 @@ pending → prompt_ready → songs_uploaded → awaiting_payment → paid → de
| `init_db.py` | Standalone script to create the database tables. |
| `templates/request.html` | Customer request form. |
| `templates/thanks.html` | Post-submission confirmation. |
| `templates/faq.html` | Customer FAQ page. |
| `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. |