Skip to content

feat: Ingredients parser UX - Slightly improve controls #4961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: mealie-next
Choose a base branch
from
13 changes: 7 additions & 6 deletions frontend/pages/g/_groupSlug/r/_slug/ingredient-parser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@
btn-class="mx-2 mb-4"
:items="availableParsers"
/>

<BaseButton color="info" class="mb-4" :disabled="parserLoading" @click="fetchParsed">
<template #icon> {{ $globals.icons.foods }}</template>
{{ $tc("recipe.parser.parse-all") }}
</BaseButton>
</div>
</BaseCardSectionTitle>

<div class="d-flex mt-n3 mb-4 justify-end" style="gap: 5px">
<BaseButton cancel class="mr-auto" @click="$router.go(-1)"></BaseButton>
<BaseButton color="info" :disabled="parserLoading" @click="fetchParsed">
<template #icon> {{ $globals.icons.foods }}</template>
{{ $tc("recipe.parser.parse-all") }}
</BaseButton>
<div class="d-flex mt-n3 mb-4 justify-end" style="position: sticky; top: 65px; z-index: 2;">
<BaseButton cancel @click="$router.go(-1)"></BaseButton>
<BaseButton save :disabled="parserLoading" @click="saveAll" />
</div>

Expand Down