From 66651933a5feb77c267c64d93b48fd62518a2b37 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 15 Jul 2025 10:53:44 +0100 Subject: [PATCH] Group sections in "more" menu --- .../components/layouts/app.html.heex | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/music_library_web/components/layouts/app.html.heex b/lib/music_library_web/components/layouts/app.html.heex index adfc8bc6..f634dc80 100644 --- a/lib/music_library_web/components/layouts/app.html.heex +++ b/lib/music_library_web/components/layouts/app.html.heex @@ -58,23 +58,6 @@ <.icon name="hero-chevron-down" class="h-4 w-4" /> - <.dropdown_link href={~p"/dev/dashboard"}> - <.icon name="hero-chart-bar" class="h-4 w-4 mr-2" aria-hidden="true" data-slot="icon" /> - {gettext("Live Dashboard")} - - <.dropdown_link href={~p"/dev/errors"}> - <.icon - name="hero-exclamation-circle" - class="h-4 w-4 mr-2" - aria-hidden="true" - data-slot="icon" - /> - {gettext("Errors")} - - <.dropdown_link href={~p"/dev/oban"}> - <.icon name="hero-cog" class="h-4 w-4 mr-2" aria-hidden="true" data-slot="icon" /> - {gettext("Oban")} - <.dropdown_link href={~p"/scrobble-rules"}> <.icon name="hero-adjustments-horizontal" @@ -103,6 +86,24 @@ {gettext("Backup")} <.dropdown_separator /> + <.dropdown_link href={~p"/dev/dashboard"}> + <.icon name="hero-chart-bar" class="h-4 w-4 mr-2" aria-hidden="true" data-slot="icon" /> + {gettext("Live Dashboard")} + + <.dropdown_link href={~p"/dev/errors"}> + <.icon + name="hero-exclamation-circle" + class="h-4 w-4 mr-2" + aria-hidden="true" + data-slot="icon" + /> + {gettext("Errors")} + + <.dropdown_link href={~p"/dev/oban"}> + <.icon name="hero-cog" class="h-4 w-4 mr-2" aria-hidden="true" data-slot="icon" /> + {gettext("Oban")} + + <.dropdown_separator /> <.dropdown_link href={~p"/login"}> <.icon name="hero-arrow-left-start-on-rectangle"