Align iOS home common apps and all-functions page with Android.

Add unified HomeCommonMenu/HomeAllFunctions diagnostics, rebuild all-functions from top-level menuList permissions, and document Home and AllFunctions module logic.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-30 09:40:02 +08:00
parent 63fb0462d6
commit 5692134efc
11 changed files with 693 additions and 138 deletions

View File

@ -456,6 +456,13 @@ struct HomeView: View {
legacyRoleId: legacyRoleId,
topLevelPermissionURIs: permissionContext.topLevelPermissionURIs(for: roleCode)
)
let displayItems = displayMenuItems.map { ($0.title, $0.uri) }
HomeCommonMenuDiagnostics.log(
step: "displayItems",
fields: [
"items": HomeCommonMenuDiagnostics.formatDisplayItems(displayItems)
]
)
}
/// GPS Loading