feat(ui): clean settings duplicates, move agents to start page, remove from topbar dropdown

This commit is contained in:
Agent Zero
2026-08-17 11:39:25 +02:00
parent 81be3478ff
commit cbb17c4ddd
3 changed files with 5 additions and 9 deletions
+3
View File
@@ -44,8 +44,11 @@ export function SettingsPage() {
];
const existingPaths = new Set(hardcodedNavItems.map(item => item.to));
// Filter out plugin nav items that are duplicates of hardcoded ones
const duplicateLabels = new Set(['Roles', 'Users', 'Groups', 'AI Settings', 'Automation', 'Proactive AI']);
const pluginNavItems = pluginSettingsPages
.filter(p => !existingPaths.has(`/settings/${p.path}`))
.filter(p => !duplicateLabels.has(p.label))
.map(p => ({
to: `/settings/${p.path}`,
label: t(p.label_key, p.label),