From 0e0dfbf01447475d501a54488fe0cc8c0d88c3cf Mon Sep 17 00:00:00 2001 From: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:59:19 +0000 Subject: [PATCH 01/12] Refactor ingredient-parser component to include draggable functionality --- .../_groupSlug/r/_slug/ingredient-parser.vue | 89 ++++++++++--------- 1 file changed, 49 insertions(+), 40 deletions(-) diff --git a/frontend/pages/g/_groupSlug/r/_slug/ingredient-parser.vue b/frontend/pages/g/_groupSlug/r/_slug/ingredient-parser.vue index 358a9a25fc1f..6179919124ef 100644 --- a/frontend/pages/g/_groupSlug/r/_slug/ingredient-parser.vue +++ b/frontend/pages/g/_groupSlug/r/_slug/ingredient-parser.vue @@ -48,46 +48,53 @@ - - - - - {{ ing.input }} - - - - - {{ isError(ing) ? $globals.icons.alert : $globals.icons.check }} - - - {{ ing.confidence ? asPercentage(ing.confidence.average) : "" }} - - - - - - {{ ing.input }} - - - - {{ errors[index].unitErrorMessage }} - - - {{ errors[index].foodErrorMessage }} - - - - + + + + + + {{ ing.input }} + + + + + {{ isError(ing) ? $globals.icons.alert : $globals.icons.check }} + + + {{ ing.confidence ? asPercentage(ing.confidence.average) : "" }} + + + + + + {{ ing.input }} + + + + {{ errors[index].unitErrorMessage }} + + + {{ errors[index].foodErrorMessage }} + + + + + @@ -96,6 +103,7 @@