Group sections in "more" menu

This commit is contained in:
Claudio Ortolina
2025-07-15 10:53:44 +01:00
parent f89d28fae5
commit 66651933a5
@@ -58,23 +58,6 @@
<.icon name="hero-chevron-down" class="h-4 w-4" /> <.icon name="hero-chevron-down" class="h-4 w-4" />
</button> </button>
</:toggle> </:toggle>
<.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>
<.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>
<.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>
<.dropdown_link href={~p"/scrobble-rules"}> <.dropdown_link href={~p"/scrobble-rules"}>
<.icon <.icon
name="hero-adjustments-horizontal" name="hero-adjustments-horizontal"
@@ -103,6 +86,24 @@
{gettext("Backup")} {gettext("Backup")}
</.dropdown_link> </.dropdown_link>
<.dropdown_separator /> <.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>
<.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>
<.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>
<.dropdown_separator />
<.dropdown_link href={~p"/login"}> <.dropdown_link href={~p"/login"}>
<.icon <.icon
name="hero-arrow-left-start-on-rectangle" name="hero-arrow-left-start-on-rectangle"