Split risk policy into its own navigation tab.

Move read-only risk control docs to /risk_policy before settings; keep transfers and exports on the settings page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 19:42:29 +08:00
parent fd6391b734
commit d84a265b67
14 changed files with 126 additions and 80 deletions
+2
View File
@@ -18,6 +18,7 @@ EMBED_TABS: tuple[str, ...] = (
"options",
"records",
"stats",
"risk_policy",
"settings",
)
@@ -32,6 +33,7 @@ PATH_TO_EMBED_TAB: dict[str, str] = {
"/options": "options",
"/records": "records",
"/stats": "stats",
"/risk_policy": "risk_policy",
"/settings": "settings",
}