fix: remove mail settings, automation/agents from sidebar + settings from bottom

- Remove Einstellungen from E-Mail group (accessible via Settings page)
- Remove Automation and Agenten from sidebar (accessible via Topbar profile menu)
- Remove Settings from sidebar bottom items
This commit is contained in:
Agent Zero
2026-07-24 22:04:45 +02:00
parent 26ee8f8853
commit 046f00e464
3 changed files with 3 additions and 23 deletions
+1 -18
View File
@@ -69,24 +69,7 @@ class AutomationPlugin(BasePlugin):
"agents:execute",
],
is_core=False,
menu_items=[
FrontendMenuItem(
label_key="nav.automation",
label="Automation",
path="/automation",
icon="Zap",
group="Automation",
order=50,
),
FrontendMenuItem(
label_key="nav.agents",
label="Agenten",
path="/agents",
icon="Bot",
group="Automation",
order=51,
),
],
menu_items=[],
page_routes=[
FrontendPageRoute(
path="/automation",
+1 -2
View File
@@ -57,8 +57,7 @@ class MailPlugin(BasePlugin):
migrations=["0001_initial.sql", "0006_flag_type.sql", "0007_sync_queue.sql", "0008_sync_queue_deleted_at.sql", "0009_remove_mail_soft_delete.sql", "0010_add_deleted_at.sql"],
permissions=["mail:read", "mail:send", "mail:config", "mail:share", "mail:write", "mail:delete"],
menu_items=[
FrontendMenuItem(label_key='nav.mail', label='E-Mail', path='/mail', icon='Mail', group='E-Mail', order=30),
FrontendMenuItem(label_key='nav.mail.settings', label='Einstellungen', path='/mail/settings', icon='Settings', group='E-Mail', order=31),
FrontendMenuItem(label_key='nav.mail', label='E-Mail', path='/mail', icon='Mail', order=30),
],
page_routes=[
FrontendPageRoute(path='/mail', component='@/pages/Mail', protected=True),