From 98f5d983b38945babfc24be8ac11c8ef3d1a9872 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 8 Mar 2026 18:34:35 +0100 Subject: [PATCH] feat(machine) : add custom field definition editor on machine detail page Adds UI to create, edit, reorder and delete custom field definitions directly from the machine detail page in edit mode. Co-Authored-By: Claude Opus 4.6 --- .../machine/MachineCustomFieldDefEditor.vue | 124 +++++++ app/components/machine/MachineInfoCard.vue | 35 +- app/composables/useMachineCustomFieldDefs.ts | 327 ++++++++++++++++++ app/pages/machine/[id].vue | 3 + 4 files changed, 487 insertions(+), 2 deletions(-) create mode 100644 app/components/machine/MachineCustomFieldDefEditor.vue create mode 100644 app/composables/useMachineCustomFieldDefs.ts diff --git a/app/components/machine/MachineCustomFieldDefEditor.vue b/app/components/machine/MachineCustomFieldDefEditor.vue new file mode 100644 index 0000000..98eccad --- /dev/null +++ b/app/components/machine/MachineCustomFieldDefEditor.vue @@ -0,0 +1,124 @@ +