Better metadata editing division #79 (#82)

* feat: new dropdown-based editor switching

* feat: tab based switching

* feat: add icon

* fix: lint

* chore: i18n translations

oh boy was this a 'chore'
This commit is contained in:
DecDuck
2025-06-05 14:53:19 +10:00
committed by GitHub
parent 681efe95af
commit 9e929ddf98
21 changed files with 1144 additions and 1226 deletions
-7
View File
@@ -162,7 +162,6 @@ import {
ServerStackIcon,
HomeIcon,
Cog6ToothIcon,
DocumentIcon,
UserGroupIcon,
RectangleStackIcon,
} from "@heroicons/vue/24/outline";
@@ -181,12 +180,6 @@ const navigation: Array<NavigationItem & { icon: Component }> = [
prefix: "/admin/library",
icon: ServerStackIcon,
},
{
label: t("header.admin.meta"),
route: "/admin/metadata",
prefix: "/admin/metadata",
icon: DocumentIcon,
},
{
label: t("header.admin.users"),
route: "/admin/users",
+3 -2
View File
@@ -15,14 +15,15 @@
const route = useRoute();
const noWrapper = !!route.query.noWrapper;
const { t } = useI18n();
useHead({
htmlAttrs: {
lang: "en",
},
link: [],
titleTemplate(title) {
if (title) return `${title} | Drop`;
return `Drop`;
return title ? t("titleTemplate", [title]) : t("title");
},
});
</script>