Commit Graph

13 Commits

Author SHA1 Message Date
Matthieu
efe1fd2a73 refactor(types): eliminate explicit any casts across components (F3.3)
Extend ComponentModelPiece/Product with optional typePiece/typeProduct
nested objects. Replace 12 'as any' casts in assignment node, convert
Promise<any> to Promise<unknown>, use Record<string, unknown> at API
boundaries. ~15 casts eliminated.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 11:13:50 +01:00
3705b8daed feat(model-types): allow adding custom fields in restricted mode
When a category has linked items (pieces, components, products),
enable restricted mode instead of blocking all edits:
- Allow adding new custom fields
- Lock existing fields from modification or deletion
- Hide add buttons for products, pieces, and subcomponents
- Display informative message about restricted mode

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 19:53:56 +01:00
Matthieu
d860f24e69 feat: add product catalogue and product-aware UI
- introduce product catalogue pages, management view entries and shared product composables\n- wire product selection into component/piece flows and machine skeleton requirements\n- display linked product metadata and documents across machine, component and piece views\n- generalize model type tooling to handle PRODUCT category
2025-11-05 15:35:02 +01:00
Matthieu
42c788103a add sub componet in catego ske 2025-10-16 16:48:36 +02:00
Matthieu
62b5c9b297 Add new dropdown search 2025-10-16 08:51:18 +02:00
MatthieuTD
386a1c9d1b refactor: adopt canonical component model structure schema 2025-10-01 14:26:31 +02:00
Matthieu
25d2aa1bcc feat(models): align component model editing with type selection~ 2025-09-30 17:32:00 +02:00
Matthieu
fd60cbbbfe fix champs personnalisé update 2025-09-30 10:46:46 +02:00
Matthieu
43b615ac3e feat: reorganize machine skeleton pages 2025-09-29 15:05:54 +02:00
Matthieu
a78938a4d1 chore: update frontend configuration 2025-09-26 11:29:47 +02:00
Matthieu
7980aa186b FIx: delete champs par default 2025-09-25 11:25:43 +02:00
Matthieu
bdae2621c5 feat(frontend): améliorer éditeurs de structure 2025-09-24 09:40:43 +02:00
Matthieu
936a9d74ca set up new view for skeleton hiearchi 2025-09-22 08:34:05 +02:00