feat(catalog) : M7 — écran Ajouter un stockage /admin/storages/new (ERP-217) #169
Open
tristan
wants to merge 1 commits from
feat/erp-217-storage-create-form into feat/erp-216-storages-list-page
pull from: feat/erp-217-storage-create-form
merge into: MALIO-DEV:feat/erp-216-storages-list-page
MALIO-DEV:develop
MALIO-DEV:feat/erp-218-storage-edit-form
MALIO-DEV:feat/erp-216-storages-list-page
MALIO-DEV:feat/erp-215-tests-storage
MALIO-DEV:feat/erp-214-storage-export-xlsx
MALIO-DEV:feat/erp-213-storage-provider-processor
MALIO-DEV:feat/erp-212-entite-storage
MALIO-DEV:feat/erp-211-migration-storage
MALIO-DEV:feat/erp-210-permissions-catalog-storages
MALIO-DEV:feat/erp-202-product-export-xlsx
MALIO-DEV:feat/erp-201-storage-type-expose-seed
MALIO-DEV:feat/erp-200-product-provider-processor
MALIO-DEV:feat/erp-199-entites-product-storagetype
MALIO-DEV:feat/erp-198-migration-schema-m6-produit
MALIO-DEV:feat/erp-197-permissions-catalog-products
MALIO-DEV:feat/erp-190-ecran-modification-ticket-pesee
MALIO-DEV:feat/erp-189-ecran-ajouter-ticket-pesee
MALIO-DEV:feat/erp-188-liste-tickets-pesee
MALIO-DEV:chore/erp-174-migration-mixgraine
MALIO-DEV:feature/ERP-138-rbac-technique-providers
MALIO-DEV:feature/ERP-137-export-xlsx-prestataires
MALIO-DEV:feature/ERP-136-validations-rg-server-side
MALIO-DEV:feature/ERP-135-sous-ressources-provider
MALIO-DEV:feature/ERP-134-provider-processor-cloisonnement-site
MALIO-DEV:feature/M6-field-sales
MALIO-DEV:feature/ERP-88-sous-ressources-m2
MALIO-DEV:feature/ERP-89-validators-m2
MALIO-DEV:refactor/refonte-contact-suppression-inline-back
MALIO-DEV:feat/admin-tables-filter-pagination
MALIO-DEV:main
No Reviewers
Labels
Clear labels
back
blocked
breaking
db
front
infra
M0-Categorie
M1-Client
M2-Fournisseur
M3-Prestataire
M4-Transporteur
M5-Ticket-pesee
M6-Produit
M7-Stockage
type/chore
type/ci
type/docs
type/feat
type/fix
type/perf
type/refactor
type/test
wip
Backend PHP / Symfony / API Platform
Bloqué par une dépendance externe
Breaking change — impact API / contrat
Migrations Doctrine / schéma BDD
Frontend Nuxt / Vue / @malio/layer-ui
Docker / nginx / config infra
M0 — Catégories
M1 — Clients
M2 — Fournisseurs
M3 — Prestataires
M4 — Transporteurs
M5 — Tickets de pesée
M6 — Catalogue produit
M7 — Stockage
Tâche de maintenance (bump, conf, etc.)
CI / pipeline / workflows
Documentation
Nouvelle fonctionnalité
Correction de bug
Amélioration de performance
Refacto sans changement fonctionnel
Ajout ou modification de tests
Work in progress — ne pas merger
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MALIO-DEV/Starseed#169
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "feat/erp-217-storage-create-form"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Écran de création d'un stockage (admin-only), empilé sur ERP-216 (#168) — base =
feat/erp-216-storages-list-page.Contenu
/admin/storages/new(shell admin), gatecatalog.storages.manage(redirection sinon).@malio/layer-ui:MalioSelect(RG-7.02)MalioSelectMalioInputText(RG-7.01, trim serveur)MalioSelectCheckbox(multi ≥ 1, RG-7.04)useFormErrors({ toast: false }), bouton Valider toujours actif (ERP-101).setError('numero', …)+ toast explicite.useStorageForm(POST /api/storages, relations en IRI), libellés i18n.⚠ Écart spec assumé — RG-7.03 (cascade Site→Type)
Le prompt demandait une cascade Site→Type (
?siteId[]). Non implémentée, sur décision (30/06) de rester fidèle au back :StorageTypeest un référentiel plat sans relationSite(jointurestorage_type_sitedroppée en M6, migrationVersion20260626100000) ;StorageTypeProviderignore?siteId[].StorageProcessorle signale déjà : « RG-7.03 n'est PAS portée… à reclarifier côté spec. »→ Choix : Site et Type indépendants, tous les types chargés une fois. RG-7.03 à reclarifier / mettre à jour dans la spec M7 (et ré-ouvrir un ticket back si le filtrage par site doit revenir).
Fichiers
frontend/modules/catalog/composables/useStorageForm.tsfrontend/modules/catalog/pages/admin/storages/new.vuefrontend/modules/catalog/composables/__tests__/useStorageForm.spec.ts(7 tests)frontend/i18n/locales/fr.json(blocadmin.storages.form.*+toast.createSuccess)Vérifications
make nuxt-test: ✅ 743 testsView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.