From a2c51cdae28deb4d308e191c0b1761b7c512b12a Mon Sep 17 00:00:00 2001 From: Iddo Date: Fri, 8 May 2026 08:42:04 +0200 Subject: [PATCH 1/2] fix: DcimGenericDevice gets include_in_menu: false --- base/dcim.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/base/dcim.yml b/base/dcim.yml index 791390a..a35d6a9 100644 --- a/base/dcim.yml +++ b/base/dcim.yml @@ -8,6 +8,7 @@ generics: description: Generic Device object. label: Device icon: mdi:server + include_in_menu: false human_friendly_id: - name__value order_by: From 0143c59b096e7a9eaf65e02897cac3d051cb3bc6 Mon Sep 17 00:00:00 2001 From: Iddo Date: Fri, 8 May 2026 08:46:47 +0200 Subject: [PATCH 2/2] fix: hide DcimChannelMapping and DcimOpticalDevice from menu Both abstract generics defaulted into the auto-menu while their concrete descendants (DcimFiberMapping/DcimCableMapping/DcimWSSConnect, and DcimOpticalNode) already render their own top-level entries with no menu_placement nesting them. The generic listings duplicated the same records, so this aligns them with DcimGenericDevice and the other hidden DCIM generics. Co-Authored-By: Claude Opus 4.7 (1M context) --- experimental/optical_transport/optical_transport.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/experimental/optical_transport/optical_transport.yml b/experimental/optical_transport/optical_transport.yml index 56f2655..b507918 100644 --- a/experimental/optical_transport/optical_transport.yml +++ b/experimental/optical_transport/optical_transport.yml @@ -23,7 +23,7 @@ generics: namespace: Dcim description: "Generic base for any channel allocation/routing (fiber, cable, or internal cross-connect)" label: "Channel Mapping" - include_in_menu: true + include_in_menu: false attributes: # TODO: Replace with a proper status - name: is_active @@ -66,7 +66,7 @@ generics: namespace: Dcim description: "Generic interface for any device that can multiplex DWDM channels (active or passive)" label: "Optical Multiplexer Device" - include_in_menu: true + include_in_menu: false uniqueness_constraints: - [computed_name__value] attributes: