Commit Graph
10 Commits
Author SHA1 Message Date
yiling d73f7f81a1 fix(webui): persist field order on drag and drop
The handleDragEnd handlers in the Manage Fields dialog and Fields
dropdown guarded reordering on source.id !== target.id. With dnd-kit
react's OptimisticSortingPlugin (enabled by default), the drop target
always resolves to the dragged item itself, so the guard was never true
and the order API was never called.

Detect moves via the sortable-specific index/initialIndex properties on
the source instead, and reorder the rendered (grouped/search-filtered)
subset before merging back into the full field list. All field groups are
now reorderable in the dialog.
2026-08-05 15:52:58 +08:00
yiling b568eac77d feat(webui): render select options in field creation mode and pick random option color 2026-08-05 14:44:30 +08:00
yiling 7182c00c7d feat(webui): integrate i18n into fields-manager and manage-fields-dialog components 2026-06-27 14:41:47 +08:00
yiling 4806c63906 feat(metadata): add single user and multiple user custom fields 2026-06-22 11:27:00 +08:00
yiling 19716a16c1 refactor: replace crypto.randomUUID with ulid where security is not needed 2026-06-12 12:55:52 +08:00
yiling eed812247d feat(fields): show field type icons in file views and align option colors 2026-06-12 12:02:56 +08:00
yiling 98bf05a616 feat(fields): add option color picker, normalize scopes, and add list type icons 2026-06-12 11:32:40 +08:00
yiling 66f2efd77f feat(fields): improve fields popup options, group filter, and dropdown clipping 2026-06-12 11:11:00 +08:00
yiling d06b523dc7 feat(webui): enforce reviewer role restrictions in the UI 2026-06-07 09:51:33 +08:00
yiling 1f341c15d0 refactor(monorepo): decouple api and webui into workspaces packages 2026-06-01 23:35:00 +08:00