mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
refactor: move project settings to Project section, rename global settings
- Move "Settings" from Tools section to Project section in sidebar - Rename bottom settings link from "Settings" to "Global Settings" - Update keyboard shortcut description accordingly
This commit is contained in:
@@ -123,12 +123,6 @@ export function useNavigation({
|
||||
icon: Brain,
|
||||
shortcut: shortcuts.memory,
|
||||
},
|
||||
{
|
||||
id: 'project-settings',
|
||||
label: 'Settings',
|
||||
icon: Settings,
|
||||
shortcut: shortcuts.projectSettings,
|
||||
},
|
||||
];
|
||||
|
||||
// Filter out hidden items
|
||||
@@ -174,6 +168,14 @@ export function useNavigation({
|
||||
});
|
||||
}
|
||||
|
||||
// Add Project Settings to Project section
|
||||
projectItems.push({
|
||||
id: 'project-settings',
|
||||
label: 'Settings',
|
||||
icon: Settings,
|
||||
shortcut: shortcuts.projectSettings,
|
||||
});
|
||||
|
||||
const sections: NavSection[] = [
|
||||
{
|
||||
label: 'Project',
|
||||
@@ -265,11 +267,11 @@ export function useNavigation({
|
||||
});
|
||||
});
|
||||
|
||||
// Add settings shortcut
|
||||
// Add global settings shortcut
|
||||
shortcutsList.push({
|
||||
key: shortcuts.settings,
|
||||
action: () => navigate({ to: '/settings' }),
|
||||
description: 'Navigate to Settings',
|
||||
description: 'Navigate to Global Settings',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user