From baba2c95b04ec244e3357ba9577f343f7177b6f1 Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Wed, 13 May 2026 15:33:40 +0200 Subject: [PATCH] chore(app): add todo Signed-off-by: Benjamin Janssens --- plugins/app/src/extensions/AppNav.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/app/src/extensions/AppNav.tsx b/plugins/app/src/extensions/AppNav.tsx index caeeb9df0c..0d6618fc8c 100644 --- a/plugins/app/src/extensions/AppNav.tsx +++ b/plugins/app/src/extensions/AppNav.tsx @@ -188,6 +188,8 @@ function NavContentRenderer(props: { return []; } + // TODO: Nav items are deprecated, and this code covers for a documented ability to use nav items still in config to disable pages in the sidebar. + // Remove this code once nav items are completely gone from the codebase. const navItemNodeId = node.spec.id.replace(/^page:/, 'nav-item:'); const navItemNode = tree.nodes.get(navItemNodeId); if (navItemNode?.spec.disabled) {