refactor(settings): list Authentication before Email and Backup in menus

Reorder the Instance settings links in the navbar and the settings
layout sidebar so Authentication comes first, then Email, then Backup.
The navbar section divider moves to Authentication, since it is now the
first item in the group.
This commit is contained in:
Andras Bacsai
2026-10-15 09:13:57 +02:00
parent c246b09075
commit 88e710058e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -153,9 +153,9 @@
['label' => 'General', 'icon' => 'settings', 'href' => route('settings.index'), 'active' => request()->is('settings')],
['label' => 'Advanced', 'icon' => 'grid', 'href' => route('settings.advanced'), 'active' => request()->is('settings/advanced')],
['label' => 'Updates', 'icon' => 'refresh3', 'href' => route('settings.updates'), 'active' => request()->is('settings/updates')],
['label' => 'Backup', 'icon' => 'database', 'href' => route('settings.backup'), 'active' => request()->is('settings/backup'), 'sectionStart' => true],
['label' => 'Authentication', 'icon' => 'keys', 'href' => route('settings.oauth'), 'active' => request()->is('settings/oauth*'), 'sectionStart' => true],
['label' => 'Email', 'icon' => 'mail', 'href' => route('settings.email'), 'active' => request()->is('settings/email')],
['label' => 'Authentication', 'icon' => 'keys', 'href' => route('settings.oauth'), 'active' => request()->is('settings/oauth*')],
['label' => 'Backup', 'icon' => 'database', 'href' => route('settings.backup'), 'active' => request()->is('settings/backup')],
]],
],
])->map(fn (array $items) => collect($items)
@@ -6,9 +6,9 @@
['label' => 'Updates', 'route' => 'settings.updates', 'icon' => 'refresh3'],
],
'Instance' => [
['label' => 'Backup', 'route' => 'settings.backup', 'icon' => 'database'],
['label' => 'Email', 'route' => 'settings.email', 'icon' => 'mail'],
['label' => 'Authentication', 'route' => 'settings.oauth', 'icon' => 'keys'],
['label' => 'Email', 'route' => 'settings.email', 'icon' => 'mail'],
['label' => 'Backup', 'route' => 'settings.backup', 'icon' => 'database'],
],
];
@endphp