## Goal Add a favourite toggle to the recipe detail page and list cards. ## Spec reference [`docs/specs/recipe-creation-target-architecture.md`](https://github.com/dgee2/Menu/blob/main/docs/specs/recipe-creation-target-architecture.md) — §"Frontend target architecture" ## Implementation notes - Favourite toggle button (heart icon) on `RecipeDetailPage.vue` and recipe list/search result cards - `useFavorite(recipeId)` composable wrapping `PUT/DELETE /api/recipe/{recipeId}/favorite` - Optimistic UI update with error rollback - Regenerate OpenAPI types: `pnpm generate-openapi` ## Acceptance criteria - [ ] Toggle button state reflects current favourite status - [ ] Clicking toggles and calls correct endpoint ## Testing - Vitest: `useFavorite` composable (add, remove, optimistic update) ## Part of#1105
Activity