feat: align frontend document and rule management flows

This commit is contained in:
wren
2026-05-06 09:40:37 +08:00
parent 8a5044b024
commit c54f84382b
41 changed files with 4239 additions and 2903 deletions
+7 -1
View File
@@ -1,8 +1,13 @@
export const MINIMAL_MENU_PREFIXES = [
'/home',
'/chat-with-llm',
'/contract-template',
'/cross-checking',
'/files',
'/documents',
'/rules',
'/rule-groups',
'/rules-files',
'/settings',
'/entry-modules',
'/role-permissions',
@@ -13,7 +18,8 @@ export const MINIMAL_HOME_TARGETS = [
'/home',
'/files/upload',
'/documents',
'/chat-with-llm/chat'
'/chat-with-llm/chat',
'/cross-checking',
] as const;
export function isMinimalMenuPath(path?: string | null): boolean {