feat(web): metadata tab + list filters + backfill endpoint (Phase 7) #147
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Add .kc metadata integration to the Silo web UI and the admin backfill endpoint, as specified in KC_SERVER.md Sections 7 and 8.
Depends on: #141 (Phase 1 -- metadata API)
Independent of: client/viewport development
Web UI Changes (Section 7)
Items Page -- Metadata Tab (Section 7.1)
Add a Metadata tab to the item detail panel (alongside Main, Properties, Revisions, BOM, Where Used). Displays the schema-driven form from
GET /api/items/{pn}/metadata. Editable for users with editor role.Items List -- Filters (Section 7.2)
Add filterable columns to the items list:
lifecycle_statecolumn with filter dropdowntagscolumn with filterExtend the search endpoint to support metadata-aware filtering:
Approvals Page (Section 7.3)
New page accessible from top navigation (gated behind future approvals module). Lists all active ECOs with approval progress. This is a placeholder/scaffold -- full UI depends on Phase 5 (approvals API).
Backfill Endpoint (Section 8.2)
Admin-only endpoint to re-index metadata from existing .kc files:
Iterates all items with .kc files on disk, opens each ZIP, and runs the extraction pipeline. Idempotent -- safe to run multiple times. Returns count of items processed and any errors.
Implementation scope
Backend
lifecycleandtagfilter paramsinternal/api/admin_handlers.go-- reindex-metadata handlerFrontend (
web/)Acceptance criteria