feat: complete platform administration pages
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Task 6 report
|
||||
|
||||
## RED baseline
|
||||
|
||||
`pnpm audit:platform` initially exited with code 1. The audit reported missing API declarations, route entries, and view files for the resource contract catalogue.
|
||||
|
||||
## Implementation
|
||||
|
||||
- Added `src/api/resources.ts` as the single front-end catalogue for all 46 backend resource contracts, including path, title, mode, page kind, and fields.
|
||||
- Added route modules and declarative list/tree pages for each resource.
|
||||
- Added reusable read-only and tree pages; read-only definitions do not render create, edit, status, or archive controls.
|
||||
- Updated the shared CRUD page with server-side keyword filters, identity-based details, typed form data, archive confirmation, and API error messages.
|
||||
- Removed platform UI use of internal numeric identifiers in favour of `identity` and `parent_identity`.
|
||||
|
||||
## Verification
|
||||
|
||||
- `pnpm type:check` — pass
|
||||
- `pnpm audit:platform` — pass
|
||||
- `pnpm build` — pass
|
||||
|
||||
## Notes
|
||||
|
||||
The tree page consumes `parent_identity`; the corresponding menu API must expose that identity relation rather than an internal numeric parent key.
|
||||
Reference in New Issue
Block a user