Add instance system guide nav (default off) with overview/options/hedge manual.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-19 09:23:30 +08:00
parent eea4d4ff8f
commit 5e0ce43415
18 changed files with 449 additions and 5 deletions
@@ -28,6 +28,13 @@ class TestInstanceDisplayPrefs(unittest.TestCase):
on = normalize_display_prefs({"show_nav_dashboard": True})
self.assertTrue(tab_allowed("dashboard", on))
def test_system_guide_nav_default_off(self):
prefs = normalize_display_prefs({})
self.assertFalse(prefs["show_nav_system_guide"])
self.assertFalse(tab_allowed("system_guide", prefs))
on = normalize_display_prefs({"show_nav_system_guide": True})
self.assertTrue(tab_allowed("system_guide", on))
class TestEnvFileLib(unittest.TestCase):
def test_upsert_and_read(self):