feat(settings): order the Account group as profile, user interface, notifications

In both the settings sidebar and the user menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
zurdi
2026-09-25 12:23:08 +02:00
parent 09fb8c1a4a
commit 95c04849a4
2 changed files with 21 additions and 21 deletions

View File

@@ -176,6 +176,19 @@ async function onLogout() {
<div class="r-v2-user-menu__group-label">
{{ t("settings.group-account") }}
</div>
<RMenuItem
v-if="canSeeProfile"
:to="{ name: ROUTES.USER_PROFILE, params: { user: user?.id } }"
icon="mdi-account-outline"
:label="t('common.profile')"
@click="open = false"
/>
<RMenuItem
:to="{ name: ROUTES.USER_INTERFACE }"
icon="mdi-palette-outline"
:label="t('common.user-interface')"
@click="open = false"
/>
<RMenuItem
:to="{ name: ROUTES.NOTIFICATIONS }"
icon="mdi-bell-outline"
@@ -190,19 +203,6 @@ async function onLogout() {
/>
</template>
</RMenuItem>
<RMenuItem
v-if="canSeeProfile"
:to="{ name: ROUTES.USER_PROFILE, params: { user: user?.id } }"
icon="mdi-account-outline"
:label="t('common.profile')"
@click="open = false"
/>
<RMenuItem
:to="{ name: ROUTES.USER_INTERFACE }"
icon="mdi-palette-outline"
:label="t('common.user-interface')"
@click="open = false"
/>
</div>
<!-- Library -->

View File

@@ -4,7 +4,7 @@
//
// Groups mirror the v2 user-menu IA so the dropdown and the in-page
// navigator share the same mental model:
// • Account: notifications, profile + UI prefs
// • Account: profile, UI prefs, notifications
// • Library: folder mappings, providers, paired devices
// • System: admin + server stats
// • Tools: jukebox, controller debug (developer-leaning, kept here so
@@ -56,13 +56,6 @@ const groups = computed<Group[]>(() => {
key: "account",
label: t("settings.group-account"),
entries: [
{
icon: "mdi-bell-outline",
label: t("notifications.notifications"),
to: { name: ROUTES.NOTIFICATIONS },
visible: true,
count: unreadCount.value,
},
{
icon: "mdi-account-outline",
label: t("common.profile"),
@@ -78,6 +71,13 @@ const groups = computed<Group[]>(() => {
to: { name: ROUTES.USER_INTERFACE },
visible: true,
},
{
icon: "mdi-bell-outline",
label: t("notifications.notifications"),
to: { name: ROUTES.NOTIFICATIONS },
visible: true,
count: unreadCount.value,
},
],
},
{