feat(admin): promo codes, places and visitor forms pages (#45, PR 4) #147
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/kws!147
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/admin-promos-places-forms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR 4 of #45 (admin catalogue): promo codes, places and visitor forms pages. Web only, no API change. Closes the last slice of #45.
Design:
docs/superpowers/specs/2026-11-02-admin-catalogue-design.md· Plan:docs/superpowers/plans/2026-11-03-admin-promos-places-forms.mdWhat changes (all
admin_portal.administration.manage, in the Catalogue menu group)/promo-codes,/promo-codes/new,/promo-codes/:id:nullotherwise), park ("All parks"), and "All products" or a product checklist that shows the resident type and an "(inactive)" mark;datetime-localdates are sent as+03:00instants, and an untouched date is sent back exactly as stored, seconds included (helper shared with rates);promos/validate.go(no float parsing);/places:?country=&state=); choosing another country clears the state;/forms,/forms/new,/forms/:id:null;conflicthook onConfirmRemove.Verification
make cover: 91.6 % total (minimum 80 %).scripts/web-e2e.sh: ticket 207, admin 128. The admin count includes a new journey at 320, 768 and 1280 px (a promo code; a country, state and city; a form with two inputs, one removed, then the form removed), with axe checks.nameError/chars,t()for "None", oneNEWmap, noTITLEmap, oneFormtype.Known and deferred
?state=from another country shows that state's cities.🤖 Generated with Claude Code