Commit Graph
9 Commits
Author SHA1 Message Date
yiling 89916a2950 refactor(metadata): rename field_id to field_key in AssetMetadataValue
Rename the database column from field_id to field_key and the Prisma
property from fieldId to fieldKey to better reflect that the column
stores human-readable metadata field keys, not internal database IDs.

This fixes a bug where AI autofill wrote internal DB IDs instead of
field keys, causing metadata values to not display in the UI.

- Add SQL migration to rename the column
- Update metadata, search, and asset services
- Fix agent-autofill workflow to map fields by key
- Update all related test suites
2026-05-28 12:38:07 +08:00
yiling 6d19293ed0 fix(transcode): allow updating read-only metadata during transcoding 2026-05-28 10:17:25 +08:00
yiling 11d2e89a48 refactor(workflow): enforce strict nested type safety for WorkflowTaskPayload 2026-05-28 09:48:05 +08:00
yiling fa53ffab02 fix(ui): prevent edits and validate read-only metadata fields 2026-05-27 23:08:10 +08:00
yiling da9f6574a6 feat(metadata): add video_codec field and verbose codec name resolution 2026-05-26 15:41:12 +08:00
yiling 2a04c49b95 feat(metadata): add audio-related system metadata fields 2026-05-26 15:09:06 +08:00
yiling 9f9549255d refactor(authz): move to domain-based authz and flatten routes 2026-05-25 23:51:37 +08:00
yiling 0ac075539b feat(asset): refactor version stack to surface latest metadata and add UI support 2026-05-22 23:03:29 +08:00
yiling 9cad96210c initial commit 2026-05-19 16:05:09 +08:00