Skip to content

Commit

Permalink
cleanup: make playgrounds first in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptrunedev authored and cdxker committed Oct 4, 2024
1 parent 1628340 commit 217e5df
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions frontends/dashboard/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,21 @@ export const DashboardSidebar = () => {
label="API Keys"
/>
</div>
<div class="gap flex flex-col pt-6">
<SectionLabel>Playgrounds</SectionLabel>
<Link
isExternal={true}
icon={AiOutlineSearch}
href={`${searchUiURL}${orgDatasetParams()}`}
label="Search"
/>
<Link
isExternal={true}
icon={AiOutlineMessage}
href={`${chatUiURL}${orgDatasetParams()}`}
label="Chat"
/>
</div>
<div class="gap flex flex-col pt-4">
<SectionLabel>Analytics</SectionLabel>
<Link
Expand Down Expand Up @@ -221,21 +236,6 @@ export const DashboardSidebar = () => {
label="Manage Dataset"
/>
</div>
<div class="gap flex flex-col pt-6">
<SectionLabel>Playgrounds</SectionLabel>
<Link
isExternal={true}
icon={AiOutlineSearch}
href={`${searchUiURL}${orgDatasetParams()}`}
label="Search"
/>
<Link
isExternal={true}
icon={AiOutlineMessage}
href={`${chatUiURL}${orgDatasetParams()}`}
label="Chat"
/>
</div>
</div>
</div>
</>
Expand Down

0 comments on commit 217e5df

Please sign in to comment.