Reorganize Group/User Page Routes (#1084)

* Consolidate group routes

* Update doc migration link
This commit is contained in:
Miroito 2022-03-23 04:54:16 +01:00 committed by GitHub
parent 20822ee808
commit e743d2c66b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 23 additions and 23 deletions

View File

@ -24,7 +24,7 @@ In your instance of Mealie prior to v1, perform an export of your data in the Ad
## Step 3: Using the Migration Tool ## Step 3: Using the Migration Tool
In your new v1 instance, navigate to `/user/group/data/migrations` and select "Mealie" from the dropdown selector. Upload the exported data from your pre-v1 instance. Optionally, you can tag all the recipes you've imported with the `mealie_alpha` tag to help you identify them. Once the upload has finished, submit the form and your migration will begin. This may take some time, but when it's complete you'll be provided a new entry in hte "Previous Migrations" table below. Be sure to review the migration report to make sure everything was successful. There may be instances where some of the recipes were not imported, but the migration will still import all the successful recipes. In your new v1 instance, navigate to `/group/data/migrations` and select "Mealie" from the dropdown selector. Upload the exported data from your pre-v1 instance. Optionally, you can tag all the recipes you've imported with the `mealie_alpha` tag to help you identify them. Once the upload has finished, submit the form and your migration will begin. This may take some time, but when it's complete you'll be provided a new entry in hte "Previous Migrations" table below. Be sure to review the migration report to make sure everything was successful. There may be instances where some of the recipes were not imported, but the migration will still import all the successful recipes.
In most cases, it's faster to manually migrate the recipes that didn't take instead of trying to identify why the recipes failed to import. If you're experiencing issues with the migration tool, please open an issue on GitHub. In most cases, it's faster to manually migrate the recipes that didn't take instead of trying to identify why the recipes failed to import. If you're experiencing issues with the migration tool, please open an issue on GitHub.

View File

@ -48,7 +48,7 @@ export default defineComponent({
]; ];
function handleRowClick(item: ReportSummary) { function handleRowClick(item: ReportSummary) {
router.push("/user/group/data/reports/" + item.id); router.push("/group/data/reports/" + item.id);
} }
function capitalize(str: string) { function capitalize(str: string) {

View File

@ -7,7 +7,7 @@
absolute absolute
:top-link="topLinks" :top-link="topLinks"
secondary-header="Cookbooks" secondary-header="Cookbooks"
secondary-header-link="/user/group/cookbooks" secondary-header-link="/group/cookbooks"
:secondary-links="cookbookLinks || []" :secondary-links="cookbookLinks || []"
:bottom-links="isAdmin ? bottomLink : []" :bottom-links="isAdmin ? bottomLink : []"
> >
@ -132,7 +132,7 @@ export default defineComponent({
icon: this.$globals.icons.pages, icon: this.$globals.icons.pages,
title: "Cookbook", title: "Cookbook",
subtitle: "Create a new cookbook", subtitle: "Create a new cookbook",
to: "/user/group/cookbooks", to: "/group/cookbooks",
restricted: true, restricted: true,
}, },
], ],

View File

@ -97,7 +97,7 @@
</section> </section>
</section> </section>
<v-container class="mt-4 d-flex justify-end"> <v-container class="mt-4 d-flex justify-end">
<v-btn outlined rounded to="/user/group/data/migrations"> Looking For Migrations? </v-btn> <v-btn outlined rounded to="/group/data/migrations"> Looking For Migrations? </v-btn>
</v-container> </v-container>
</v-container> </v-container>
</template> </template>

View File

@ -308,7 +308,7 @@
</v-container> </v-container>
<v-container v-if="$auth.user.advanced" class="narrow-container d-flex justify-end"> <v-container v-if="$auth.user.advanced" class="narrow-container d-flex justify-end">
<v-btn outlined rounded to="/user/group/data/migrations"> Looking For Migrations? </v-btn> <v-btn outlined rounded to="/group/data/migrations"> Looking For Migrations? </v-btn>
</v-container> </v-container>
</div> </div>
</template> </template>

View File

@ -112,7 +112,7 @@
</v-icon> </v-icon>
Back to Profile Back to Profile
</v-btn> </v-btn>
<v-btn outlined class="rounded-xl my-1 mx-1" to="/user/group"> Looking for Privacy Settings? </v-btn> <v-btn outlined class="rounded-xl my-1 mx-1" to="/group"> Looking for Privacy Settings? </v-btn>
</div> </div>
</section> </section>
</v-container> </v-container>

View File

@ -73,7 +73,7 @@
<v-row tag="section"> <v-row tag="section">
<v-col cols="12" sm="12" md="6"> <v-col cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Group Settings', to: '/user/group' }" :link="{ text: 'Group Settings', to: '/group' }"
:image="require('~/static/svgs/manage-group-settings.svg')" :image="require('~/static/svgs/manage-group-settings.svg')"
> >
<template #title> Group Settings </template> <template #title> Group Settings </template>
@ -82,7 +82,7 @@
</v-col> </v-col>
<v-col cols="12" sm="12" md="6"> <v-col cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Cookbooks', to: '/user/group/cookbooks' }" :link="{ text: 'Manage Cookbooks', to: '/group/cookbooks' }"
:image="require('~/static/svgs/manage-cookbooks.svg')" :image="require('~/static/svgs/manage-cookbooks.svg')"
> >
<template #title> Cookbooks </template> <template #title> Cookbooks </template>
@ -91,7 +91,7 @@
</v-col> </v-col>
<v-col v-if="user.advanced" cols="12" sm="12" md="6"> <v-col v-if="user.advanced" cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Webhooks', to: '/user/group/webhooks' }" :link="{ text: 'Manage Webhooks', to: '/group/webhooks' }"
:image="require('~/static/svgs/manage-webhooks.svg')" :image="require('~/static/svgs/manage-webhooks.svg')"
> >
<template #title> Webhooks </template> <template #title> Webhooks </template>
@ -100,7 +100,7 @@
</v-col> </v-col>
<v-col v-if="user.advanced" cols="12" sm="12" md="6"> <v-col v-if="user.advanced" cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Notifiers', to: '/user/group/notifiers' }" :link="{ text: 'Manage Notifiers', to: '/group/notifiers' }"
:image="require('~/static/svgs/manage-notifiers.svg')" :image="require('~/static/svgs/manage-notifiers.svg')"
> >
<template #title> Notifiers </template> <template #title> Notifiers </template>
@ -109,7 +109,7 @@
</v-col> </v-col>
<v-col v-if="user.canManage" cols="12" sm="12" md="6"> <v-col v-if="user.canManage" cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Members', to: '/user/group/members' }" :link="{ text: 'Manage Members', to: '/group/members' }"
:image="require('~/static/svgs/manage-members.svg')" :image="require('~/static/svgs/manage-members.svg')"
> >
<template #title> Members </template> <template #title> Members </template>
@ -118,7 +118,7 @@
</v-col> </v-col>
<v-col v-if="user.advanced" cols="12" sm="12" md="6"> <v-col v-if="user.advanced" cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Recipe Data', to: '/user/group/data/recipes' }" :link="{ text: 'Manage Recipe Data', to: '/group/data/recipes' }"
:image="require('~/static/svgs/manage-recipes.svg')" :image="require('~/static/svgs/manage-recipes.svg')"
> >
<template #title> Recipe Data </template> <template #title> Recipe Data </template>
@ -136,7 +136,7 @@
</v-col> </v-col>
<v-col v-if="user.advanced" cols="12" sm="12" md="6"> <v-col v-if="user.advanced" cols="12" sm="12" md="6">
<UserProfileLinkCard <UserProfileLinkCard
:link="{ text: 'Manage Data Migrations', to: '/user/group/data/migrations' }" :link="{ text: 'Manage Data Migrations', to: '/group/data/migrations' }"
:image="require('~/static/svgs/manage-data-migrations.svg')" :image="require('~/static/svgs/manage-data-migrations.svg')"
> >
<template #title> Data Migrations </template> <template #title> Data Migrations </template>