From 550e95ff43b2fb1d61226a25b12a262590c484e1 Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Sat, 5 Sep 2026 11:08:02 +0800 Subject: [PATCH] =?UTF-8?q?docs=F0=9F=93=9D:=20say=20which=20way=20sys=5Fm?= =?UTF-8?q?enu.visible=20points?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The comment called Visible "0" "hidden by default" and then said an administrator should not have to unhide the menu - which cannot both be true. "0" is shown; every menu this repository seeds, including the demo product menu that is visible on the demo site, uses it. Claude-Session: https://claude.ai/code/session_01HPTAw8b8tAdFNFn8rKdPYx --- app/admin/service/seed.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/admin/service/seed.go b/app/admin/service/seed.go index 3848dabf..0dc4562a 100644 --- a/app/admin/service/seed.go +++ b/app/admin/service/seed.go @@ -175,10 +175,10 @@ func seedMenuTree(tx *gorm.DB, appCode string, specs []seed.MenuSpec, apiRows ma ParentId: parentRow.MenuId, Component: s.Component, Sort: s.Sort, - // Hidden by default and marked as an external frame, the - // same defaults 1786700001000_demo_menu.go seeds its own - // menu with: a freshly installed application's menu should - // not need an administrator to first find and unhide it. + // Visible "0" is shown, not hidden - the same defaults + // 1786700001000_demo_menu.go seeds its own menu with. A + // freshly installed application's menu should not need an + // administrator to first find and unhide it. Visible: "0", IsFrame: "1", AppCode: appCode,