diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55db0cf56..151e21fef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: exclude: ^tests/data/ - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.13 + rev: v0.12.1 hooks: - id: ruff - id: ruff-format diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index bea52fc12..2fd34f973 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -156,8 +156,6 @@ Setting the following environmental variables will change the theme of the front ### Docker Secrets -### Docker Secrets - > Starting in version `2.4.2`, any environment variable in the preceding lists with a dagger > symbol next to them support the Docker Compose secrets pattern, below. [Docker Compose secrets][docker-secrets] can be used to secure sensitive information regarding the Mealie implementation diff --git a/frontend/assets/css/main.css b/frontend/assets/css/main.css index b421c15eb..37221ee8d 100644 --- a/frontend/assets/css/main.css +++ b/frontend/assets/css/main.css @@ -64,3 +64,7 @@ a { .fill-height { min-height: 100vh; } + +.vue-simple-handler { + background-color: rgb(var(--v-theme-primary)) !important; +} diff --git a/frontend/components/Domain/Cookbook/CookbookPage.vue b/frontend/components/Domain/Cookbook/CookbookPage.vue index 36bceb9db..8793cef26 100644 --- a/frontend/components/Domain/Cookbook/CookbookPage.vue +++ b/frontend/components/Domain/Cookbook/CookbookPage.vue @@ -24,8 +24,7 @@
+ {{ $globals.icons.pages }} - {{ book.name }} - import { useLazyRecipes } from "~/composables/recipes"; import RecipeCardSection from "@/components/Domain/Recipe/RecipeCardSection.vue"; -import { useCookbook, useCookbooks } from "~/composables/use-group-cookbooks"; +import { useCookbookStore } from "~/composables/store/use-cookbook-store"; +import { useCookbook } from "~/composables/use-group-cookbooks"; import { useLoggedInState } from "~/composables/use-logged-in-state"; import type { RecipeCookBook } from "~/lib/api/types/cookbook"; import CookbookEditor from "~/components/Domain/Cookbook/CookbookEditor.vue"; @@ -87,7 +86,7 @@ export default defineNuxtComponent({ const { recipes, appendRecipes, assignSorted, removeRecipe, replaceRecipes } = useLazyRecipes(isOwnGroup.value ? null : groupSlug.value); const slug = route.params.slug as string; const { getOne } = useCookbook(isOwnGroup.value ? null : groupSlug.value); - const { actions } = useCookbooks(); + const { actions } = useCookbookStore(); const router = useRouter(); const tab = ref(null); diff --git a/frontend/components/Domain/Household/GroupMealPlanRuleForm.vue b/frontend/components/Domain/Household/GroupMealPlanRuleForm.vue index 7e10a7941..bcdd9a3e2 100644 --- a/frontend/components/Domain/Household/GroupMealPlanRuleForm.vue +++ b/frontend/components/Domain/Household/GroupMealPlanRuleForm.vue @@ -69,22 +69,22 @@ export default defineNuxtComponent({ const i18n = useI18n(); const MEAL_TYPE_OPTIONS = [ - { text: i18n.t("meal-plan.breakfast"), value: "breakfast" }, - { text: i18n.t("meal-plan.lunch"), value: "lunch" }, - { text: i18n.t("meal-plan.dinner"), value: "dinner" }, - { text: i18n.t("meal-plan.side"), value: "side" }, - { text: i18n.t("meal-plan.type-any"), value: "unset" }, + { title: i18n.t("meal-plan.breakfast"), value: "breakfast" }, + { title: i18n.t("meal-plan.lunch"), value: "lunch" }, + { title: i18n.t("meal-plan.dinner"), value: "dinner" }, + { title: i18n.t("meal-plan.side"), value: "side" }, + { title: i18n.t("meal-plan.type-any"), value: "unset" }, ]; const MEAL_DAY_OPTIONS = [ - { text: i18n.t("general.monday"), value: "monday" }, - { text: i18n.t("general.tuesday"), value: "tuesday" }, - { text: i18n.t("general.wednesday"), value: "wednesday" }, - { text: i18n.t("general.thursday"), value: "thursday" }, - { text: i18n.t("general.friday"), value: "friday" }, - { text: i18n.t("general.saturday"), value: "saturday" }, - { text: i18n.t("general.sunday"), value: "sunday" }, - { text: i18n.t("meal-plan.day-any"), value: "unset" }, + { title: i18n.t("general.monday"), value: "monday" }, + { title: i18n.t("general.tuesday"), value: "tuesday" }, + { title: i18n.t("general.wednesday"), value: "wednesday" }, + { title: i18n.t("general.thursday"), value: "thursday" }, + { title: i18n.t("general.friday"), value: "friday" }, + { title: i18n.t("general.saturday"), value: "saturday" }, + { title: i18n.t("general.sunday"), value: "sunday" }, + { title: i18n.t("meal-plan.day-any"), value: "unset" }, ]; const inputDay = computed({ diff --git a/frontend/components/Domain/QueryFilterBuilder.vue b/frontend/components/Domain/QueryFilterBuilder.vue index 85a1672ba..721b540a8 100644 --- a/frontend/components/Domain/QueryFilterBuilder.vue +++ b/frontend/components/Domain/QueryFilterBuilder.vue @@ -189,6 +189,7 @@ :show-add="false" :show-label="false" :show-icon="false" + variant="underlined" @update:model-value="setOrganizerValues(field, index, $event)" /> diff --git a/frontend/components/Domain/Recipe/RecipeActionMenu.vue b/frontend/components/Domain/Recipe/RecipeActionMenu.vue index 22a633e8a..0f77fbd99 100644 --- a/frontend/components/Domain/Recipe/RecipeActionMenu.vue +++ b/frontend/components/Domain/Recipe/RecipeActionMenu.vue @@ -74,6 +74,7 @@ :size="$vuetify.display.xs ? 'small' : undefined" :color="btn.color" variant="elevated" + :icon="$vuetify.display.xs" @click="emitHandler(btn.event)" > diff --git a/frontend/components/Domain/Recipe/RecipeCard.vue b/frontend/components/Domain/Recipe/RecipeCard.vue index 50adc5e5b..ac93a8472 100644 --- a/frontend/components/Domain/Recipe/RecipeCard.vue +++ b/frontend/components/Domain/Recipe/RecipeCard.vue @@ -1,101 +1,104 @@ diff --git a/frontend/components/Domain/Recipe/RecipeChips.vue b/frontend/components/Domain/Recipe/RecipeChips.vue index 577e80fff..7649bc58c 100644 --- a/frontend/components/Domain/Recipe/RecipeChips.vue +++ b/frontend/components/Domain/Recipe/RecipeChips.vue @@ -10,7 +10,7 @@ v-for="category in items.slice(0, limit)" :key="category.name" label - class="ma-1" + class="mr-1 mt-1" color="accent" variant="flat" :size="small ? 'small' : 'default'" diff --git a/frontend/components/Domain/Recipe/RecipeDialogSearch.vue b/frontend/components/Domain/Recipe/RecipeDialogSearch.vue index df78a36d2..40e354868 100644 --- a/frontend/components/Domain/Recipe/RecipeDialogSearch.vue +++ b/frontend/components/Domain/Recipe/RecipeDialogSearch.vue @@ -17,7 +17,7 @@ id="arrow-search" v-model="search.query.value" autofocus - variant="solo-filled" + variant="solo" flat autocomplete="off" bg-color="primary-lighten-1" diff --git a/frontend/components/Domain/Recipe/RecipeExplorerPage.vue b/frontend/components/Domain/Recipe/RecipeExplorerPage.vue index caa06b1f1..e08d9ed59 100644 --- a/frontend/components/Domain/Recipe/RecipeExplorerPage.vue +++ b/frontend/components/Domain/Recipe/RecipeExplorerPage.vue @@ -1,7 +1,7 @@