feat(admin): products and categories pages (#45, PR 3) #146
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!146
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/admin-products"
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 3 of #45 (admin catalogue): products and categories pages. Web only, no API change.
Design:
docs/superpowers/specs/2026-11-02-admin-catalogue-design.md· Plan:docs/superpowers/plans/2026-11-02-admin-products-categories.mdWhat changes (all
admin_portal.administration.manage)src/mediaasPhotos({ owner })for parks, products and categories, each on its own route.ConfirmRemovemoves tosrc/./products: category andqare filtered by the server; resident type, age group, ticket type and active in the browser (ashortcut:comment names the limit)./products/newand/products/:id:ProductRequestfield, with labelled choices;null, and duration as a JSON number with at most 2 decimals (numeric(10,2));/categories:/category-typesand/park-categories: oneNamedListPage(name and active). There is no delete route, so rows are switched off instead.Verification
make cover: 91.6 % total (minimum 80 %).make lint: 0 issues.scripts/web-e2e.sh: ticket 207, admin 125. The admin count includes a new journey at 320, 768 and 1280 px: category type, category and sub-category; a product created, edited, given a photo and removed; axe checks on every page.Known and deferred
result!variable.categoryTypesKeyexport.nameErrorlives inproducts/.🤖 Generated with Claude Code