feat(brand): add brand sort order and drag-to-reorder
Add a sort_order column to brands with a migration, expose a PUT /api/tenant/brands/order reorder endpoint, and wire the admin-web BrandsView with drag-and-drop reordering plus i18n. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1695,6 +1695,7 @@ export interface Brand {
|
||||
website: string | null
|
||||
description: string | null
|
||||
status: string
|
||||
sort_order?: number
|
||||
keyword_count: number
|
||||
question_count: number
|
||||
competitor_count?: number
|
||||
@@ -1702,6 +1703,10 @@ export interface Brand {
|
||||
updated_at?: string
|
||||
}
|
||||
|
||||
export interface BrandReorderRequest {
|
||||
brand_ids: number[]
|
||||
}
|
||||
|
||||
export interface KeywordRequest {
|
||||
name: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user