From 417b34b45e564c10ef34cc62cf17ac316b32afcb Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 23 Oct 2025 09:01:38 +0200 Subject: [PATCH] feat: enrich piece assignment labels and document previews --- app/components/ComponentItem.vue | 81 ++++++++++---- .../ComponentStructureAssignmentNode.vue | 44 ++++++-- app/components/PieceItem.vue | 47 +++++++- app/components/StructureNodeEditor.vue | 2 + app/pages/component/[id]/edit.vue | 51 ++++++++- app/pages/component/create.vue | 5 +- app/pages/machine/[id].vue | 104 +++++++++++++++--- app/pages/pieces/[id]/edit.vue | 47 +++++++- app/shared/modelUtils.ts | 22 +++- app/shared/types/inventory.ts | 10 +- app/utils/documentPreview.js | 2 + 11 files changed, 364 insertions(+), 51 deletions(-) diff --git a/app/components/ComponentItem.vue b/app/components/ComponentItem.vue index 9c552cb..af727e9 100644 --- a/app/components/ComponentItem.vue +++ b/app/components/ComponentItem.vue @@ -208,24 +208,33 @@ />
-
-
-
- - +
+
+ +