mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	feat(frontend): ✨ Add Meal Tags + UI Improvements (#807)
* feat: ✨ * fix colors * add additional support for settings meal tag * add defaults to recipe * use group reciep settings * fix login infinite loading * disable owner on initial load * add skeleton loader * add v-model support * formatting * fix overwriting existing values * feat(frontend): ✨ add markdown preview for steps * update black plus formatting * update help text * fix overwrite error * remove print Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
		| @@ -5,10 +5,10 @@ | ||||
|         :class="{ 'on-hover': hover }" | ||||
|         :elevation="hover ? 12 : 2" | ||||
|         :to="route ? `/recipe/${slug}` : ''" | ||||
|         min-height="275" | ||||
|         :min-height="imageHeight + 75" | ||||
|         @click="$emit('click')" | ||||
|       > | ||||
|         <RecipeCardImage icon-size="200" :slug="slug" small :image-version="image"> | ||||
|         <RecipeCardImage :icon-size="imageHeight" :height="imageHeight" :slug="slug" small :image-version="image"> | ||||
|           <v-expand-transition v-if="description"> | ||||
|             <div v-if="hover" class="d-flex transition-fast-in-fast-out secondary v-card--reveal" style="height: 100%"> | ||||
|               <v-card-text class="v-card--text-show white--text"> | ||||
| @@ -23,26 +23,28 @@ | ||||
|           </div> | ||||
|         </v-card-title> | ||||
|  | ||||
|         <v-card-actions> | ||||
|           <RecipeFavoriteBadge v-if="loggedIn" :slug="slug" show-always /> | ||||
|           <RecipeRating :value="rating" :name="name" :slug="slug" :small="true" /> | ||||
|           <v-spacer></v-spacer> | ||||
|           <RecipeChips :truncate="true" :items="tags" :title="false" :limit="2" :small="true" :is-category="false" /> | ||||
|           <RecipeContextMenu | ||||
|             :slug="slug" | ||||
|             :name="name" | ||||
|             :recipe-id="recipeId" | ||||
|             :use-items="{ | ||||
|               delete: true, | ||||
|               edit: true, | ||||
|               download: true, | ||||
|               mealplanner: true, | ||||
|               print: false, | ||||
|               share: true, | ||||
|             }" | ||||
|             @delete="$emit('delete', slug)" | ||||
|           /> | ||||
|         </v-card-actions> | ||||
|         <slot name="actions"> | ||||
|           <v-card-actions> | ||||
|             <RecipeFavoriteBadge v-if="loggedIn" :slug="slug" show-always /> | ||||
|             <RecipeRating :value="rating" :name="name" :slug="slug" :small="true" /> | ||||
|             <v-spacer></v-spacer> | ||||
|             <RecipeChips :truncate="true" :items="tags" :title="false" :limit="2" :small="true" :is-category="false" /> | ||||
|             <RecipeContextMenu | ||||
|               :slug="slug" | ||||
|               :name="name" | ||||
|               :recipe-id="recipeId" | ||||
|               :use-items="{ | ||||
|                 delete: true, | ||||
|                 edit: true, | ||||
|                 download: true, | ||||
|                 mealplanner: true, | ||||
|                 print: false, | ||||
|                 share: true, | ||||
|               }" | ||||
|               @delete="$emit('delete', slug)" | ||||
|             /> | ||||
|           </v-card-actions> | ||||
|         </slot> | ||||
|         <slot></slot> | ||||
|       </v-card> | ||||
|     </v-hover> | ||||
| @@ -92,6 +94,10 @@ export default { | ||||
|       required: true, | ||||
|       type: Number, | ||||
|     }, | ||||
|     imageHeight: { | ||||
|       type: Number, | ||||
|       default: 200, | ||||
|     }, | ||||
|   }, | ||||
|   data() { | ||||
|     return { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user