From df3d8a91b95f73f9a64566e88b154b888d168e45 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Wed, 26 Jul 2023 01:15:20 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20draggable=20navbar=20items?= =?UTF-8?q?=20in=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Syuilo Co-authored-by: moshibar --- packages/client/src/navbar.ts | 12 -- packages/client/src/pages/settings/navbar.vue | 107 +++++++++++++++--- 2 files changed, 89 insertions(+), 30 deletions(-) diff --git a/packages/client/src/navbar.ts b/packages/client/src/navbar.ts index f8383357b..fa4bdaf87 100644 --- a/packages/client/src/navbar.ts +++ b/packages/client/src/navbar.ts @@ -5,10 +5,6 @@ import * as os from "@/os"; import { i18n } from "@/i18n"; import { ui } from "@/config"; import { unisonReload } from "@/scripts/unison-reload"; -import { defaultStore } from "@/store"; -import { instance } from "@/instance"; -import { host } from "@/config"; -import XTutorial from "@/components/MkTutorialDialog.vue"; export const navbarItemDef = reactive({ notifications: { @@ -60,14 +56,6 @@ export const navbarItemDef = reactive({ show: computed(() => $i != null), to: "/my/lists", }, - /* - groups: { - title: 'groups', - icon: 'ph-users-three ph-bold ph-lg', - show: computed(() => $i != null), - to: '/my/groups', - }, - */ antennas: { title: "antennas", icon: "ph-flying-saucer ph-bold ph-lg", diff --git a/packages/client/src/pages/settings/navbar.vue b/packages/client/src/pages/settings/navbar.vue index 9ef184fcf..b809f3518 100644 --- a/packages/client/src/pages/settings/navbar.vue +++ b/packages/client/src/pages/settings/navbar.vue @@ -1,13 +1,41 @@