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:
webdevcody
2026-01-09 17:09:08 -05:00
parent a01241fabe
commit cadb19d7ed
3 changed files with 75 additions and 49 deletions

View File

@@ -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) => {