Group all hub sidebar entries last

This commit is contained in:
José Valim 2024-02-08 10:59:28 +01:00
parent 629cc3f5a3
commit 587aa62d8c

View file

@ -289,21 +289,40 @@ defmodule LivebookWeb.SessionLive.Render do
</.link> </.link>
</span> </span>
<%!-- Local functionality --%>
<.button_item <.button_item
icon="booklet-fill" icon="booklet-fill"
label="Sections (ss)" label="Sections (ss)"
button_attrs={["data-el-sections-list-toggle": true]} button_attrs={["data-el-sections-list-toggle": true]}
/> />
<.button_item <.button_item
icon="folder-open-fill" icon="group-fill"
label="Files (sf)" label="Connected users (su)"
button_attrs={["data-el-files-list-toggle": true]} button_attrs={["data-el-clients-list-toggle": true]}
/> />
<.button_item
icon="cpu-line"
label="Runtime settings (sr)"
button_attrs={["data-el-runtime-info-toggle": true]}
/>
<%!-- Hub functionality --%>
<.button_item <.button_item
icon="lock-password-line" icon="lock-password-line"
label="Secrets (se)" label="Secrets (se)"
button_attrs={["data-el-secrets-list-toggle": true]} button_attrs={["data-el-secrets-list-toggle": true]}
/> />
<.button_item
icon="folder-open-fill"
label="Files (sf)"
button_attrs={["data-el-files-list-toggle": true]}
/>
<div class="relative"> <div class="relative">
<.button_item <.button_item
icon="rocket-line" icon="rocket-line"
@ -318,17 +337,6 @@ defmodule LivebookWeb.SessionLive.Render do
]} ]}
/> />
</div> </div>
<.button_item
icon="group-fill"
label="Connected users (su)"
button_attrs={["data-el-clients-list-toggle": true]}
/>
<.button_item
icon="cpu-line"
label="Runtime settings (sr)"
button_attrs={["data-el-runtime-info-toggle": true]}
/>
<div class="grow"></div> <div class="grow"></div>