feat: merge food into another (#1143)

* setup food repository

* add merge route and payloads

* remove type checking

* generate types

* implement merge dialog

* food repo tests

* split install from workflow

* bum dependencies

* revert changes

* update copy

* refactor URLs to avoid incorrect template being used

* stick advanced items under developer mode

* use utility component for advanced feature
This commit is contained in:
Hayden 2022-04-09 19:08:48 -08:00 committed by GitHub
parent 10784b6e24
commit b93dae109e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 319 additions and 175 deletions

View file

@ -6,7 +6,8 @@
:top-link="topLinks"
:bottom-links="bottomLinks"
:user="{ data: true }"
:secondary-header="$t('user.admin')"
secondary-header="Developer"
:secondary-links="developerLinks"
/>
<TheSnackbar />
@ -49,11 +50,7 @@ export default defineComponent({
to: "/admin/site-settings",
title: i18n.t("sidebar.site-settings"),
},
{
icon: $globals.icons.wrench,
to: "/admin/maintenance",
title: "Maintenance",
},
// {
// icon: $globals.icons.chart,
// to: "/admin/analytics",
@ -74,6 +71,14 @@ export default defineComponent({
to: "/admin/backups",
title: i18n.t("sidebar.backups"),
},
];
const developerLinks: SidebarLinks = [
{
icon: $globals.icons.wrench,
to: "/admin/maintenance",
title: "Maintenance",
},
{
icon: $globals.icons.check,
to: "/admin/background-tasks",
@ -98,6 +103,7 @@ export default defineComponent({
sidebar,
topLinks,
bottomLinks,
developerLinks,
};
},
});