feat(users): add drag-and-drop reordering for PICs

Introduce pic_sort_order to persist custom user ordering
Replace data table with a custom draggable grid layout
Add API endpoint to handle bulk order updates
This commit is contained in:
2026-05-04 14:07:43 +08:00
parent 30753fdc61
commit 4e40bfd804
6 changed files with 355 additions and 91 deletions

View File

@@ -64,6 +64,7 @@ export interface AuthUser {
fullName: string
phoneNumber: string | null
role: UserRole
picSortOrder: number
isActive: boolean
mustChangePassword: boolean
needsPasskeySetup: boolean
@@ -81,6 +82,7 @@ export interface PublicContact {
fullName: string
phoneNumber: string
role: UserRole
picSortOrder: number
}
export interface PasskeySummary {