feat: recette du produit et import CSV #165

Merged
Corentin merged 1 commit from feat/product-recipe-csv-import into dev 2026-09-26 15:37:39 +02:00
Owner
No description provided.
feat: product recipe in the product form and CSV import of products
All checks were successful
CI / secret-scan (push) Successful in 21s
CI / php-lint (push) Successful in 24s
CI / static-tests (push) Successful in 2m40s
CI / js-tests (push) Successful in 44s
CI / secret-scan (pull_request) Successful in 21s
CI / php-lint (pull_request) Successful in 26s
CI / static-tests (pull_request) Successful in 2m36s
CI / js-tests (pull_request) Successful in 45s
65b3f4a161
Recipe (composition) is now edited directly in the product form, next to the
price and the category, instead of only on a separate page. The same builder
serves both screens. A product can create a missing ingredient on the fly
(stock 0), which links the catalogue to the stock without leaving the form.

CSV import brings a whole price list in at once: a downloadable template, a
preview that writes nothing, and a confirmation that applies everything in a
single transaction. A file that changes a price asks for the operator code.
The same feature is exposed on the admin JSON API (dry run and apply).

Both product views were missed by the back-office design system (lots 0 to 5)
and are brought in line here: advanced fields folded into details.form-advanced,
the image caption bound to its field, the row key that lets the product list
highlight the row that was just saved, and recipe lines styled from the design
tokens instead of hard-coded colours and widths. Checkbox targets are raised to
the 24x24 floor. The operator-code window now only opens when the price or the
VAT rate actually changed, so editing a recipe no longer asks for a code the
server does not require.
Corentin scheduled this pull request to auto merge when all checks succeed 2026-09-26 15:28:09 +02:00
Sign in to join this conversation.
No reviewers
No labels
auto-merge
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AcadeNice/corentin_wakdo!165
No description provided.