feat(shopping): tags sur les articles du catalogue
- Migration 006 : colonne tags TEXT[] sur shopping.products - Modèle SQLAlchemy + schémas Pydantic mis à jour (ProductCreate/Update/Response) - Interface TypeScript Product/ProductCreate/ProductUpdate avec tags?: string[] - CatalogueModal : chip input (Entrée/virgule pour ajouter, clic pour supprimer, Backspace pour retirer le dernier) - Recherche dans le catalogue et le bottom sheet étendue aux tags (insensible aux accents) - Tags affichés en pills dans la liste du catalogue v0.4.12 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@ export interface Product {
|
||||
avg_interval_days: string | null
|
||||
image_path: string | null
|
||||
thumbnail_path: string | null
|
||||
tags: string[] | null
|
||||
}
|
||||
|
||||
export interface ProductCreate {
|
||||
@@ -52,6 +53,7 @@ export interface ProductCreate {
|
||||
default_store_id?: string
|
||||
image_path?: string
|
||||
thumbnail_path?: string
|
||||
tags?: string[]
|
||||
}
|
||||
|
||||
export interface ProductUpdate {
|
||||
@@ -66,6 +68,7 @@ export interface ProductUpdate {
|
||||
default_store_id?: string
|
||||
image_path?: string
|
||||
thumbnail_path?: string
|
||||
tags?: string[]
|
||||
}
|
||||
|
||||
export interface ShoppingItem {
|
||||
|
||||
Reference in New Issue
Block a user