Admin item/tag edit pages weren't rendering because TanStack Router treated them as children of the list route (which had no Outlet). Moving to directory-based routing (items/index.tsx + items/$itemId.tsx) makes them siblings that render directly in the admin layout. Also adds UAT results for phases 35-38 and backlog item 999.12 (Admin UX Polish). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
61 lines
1.9 KiB
Markdown
61 lines
1.9 KiB
Markdown
---
|
|
status: complete
|
|
phase: 37-admin-global-item-management
|
|
source: [37-01-SUMMARY.md, 37-02-SUMMARY.md]
|
|
started: 2026-04-20T00:04:00.000Z
|
|
updated: 2026-04-20T00:05:00.000Z
|
|
---
|
|
|
|
## Current Test
|
|
|
|
[testing complete]
|
|
|
|
## Tests
|
|
|
|
### 1. Admin Items List Page
|
|
expected: Navigating to /admin/items shows a data table of all global catalog items with search input, tag filter chips, skeleton loading state, and infinite scroll when there are many items.
|
|
result: pass
|
|
|
|
### 2. Admin Items Search and Filter
|
|
expected: Typing in the search input filters items by name. Clicking tag filter chips narrows results to items with that tag. Both work together.
|
|
result: pass
|
|
|
|
### 3. Admin Item Edit Page
|
|
expected: Clicking an item in the list navigates to its edit page showing all fields (name, manufacturer, weight, price, etc.), a manufacturer dropdown, and a TagInput chip component for managing tags.
|
|
result: issue
|
|
reported: "nothing happening when clicking an item in the list"
|
|
severity: major
|
|
|
|
### 4. Admin Item Delete with Confirmation
|
|
expected: On the edit page, clicking "Delete" shows a confirmation dialog that mentions how many users have this item in their collection (ownerCount). Confirming deletes the item and returns to the list.
|
|
result: issue
|
|
reported: "navigating directly to /admin/items/1 still shows the catalogue list, edit page doesn't render"
|
|
severity: major
|
|
|
|
## Summary
|
|
|
|
total: 4
|
|
passed: 2
|
|
issues: 2
|
|
pending: 0
|
|
skipped: 0
|
|
blocked: 0
|
|
|
|
## Gaps
|
|
|
|
- truth: "Clicking an item in the admin items list navigates to its edit page"
|
|
status: failed
|
|
reason: "User reported: nothing happening when clicking an item in the list"
|
|
severity: major
|
|
test: 3
|
|
artifacts: []
|
|
missing: []
|
|
|
|
- truth: "Admin item edit page renders at /admin/items/$itemId"
|
|
status: failed
|
|
reason: "User reported: navigating directly to /admin/items/1 still shows the catalogue list, edit page doesn't render"
|
|
severity: major
|
|
test: 4
|
|
artifacts: []
|
|
missing: []
|