mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
feat: reorganize global settings navigation into groups
- Refactored the global navigation structure to group settings items into distinct categories for improved organization and usability. - Updated the settings navigation component to render these groups dynamically, enhancing the user experience. - Changed the default initial view in the settings hook to 'model-defaults' for better alignment with the new navigation structure. These changes streamline navigation and make it easier for users to find relevant settings.
This commit is contained in:
@@ -24,7 +24,7 @@ interface UseSettingsViewOptions {
|
||||
initialView?: SettingsViewId;
|
||||
}
|
||||
|
||||
export function useSettingsView({ initialView = 'api-keys' }: UseSettingsViewOptions = {}) {
|
||||
export function useSettingsView({ initialView = 'model-defaults' }: UseSettingsViewOptions = {}) {
|
||||
const [activeView, setActiveView] = useState<SettingsViewId>(initialView);
|
||||
|
||||
const navigateTo = useCallback((viewId: SettingsViewId) => {
|
||||
|
||||
Reference in New Issue
Block a user