Shravan view recipe details#4996
Merged
one-community merged 4 commits intodevelopmentfrom Apr 14, 2026
Merged
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
saisandeepkoritala
previously approved these changes
Mar 18, 2026
Contributor
saisandeepkoritala
left a comment
There was a problem hiding this comment.
Hi Shravan,
I ran your PR locally as an admin and navigated to the "kitchenandinventory/recipes" route. I didn’t encounter any issues with the three recipes you mentioned in both light and dark modes. I also checked the styling across different devices and didn’t find any problems with the reported areas.
…d dark mode support
e6e8f0a to
8375662
Compare
17a1904 to
4b2c907
Compare
|
Anusha-Gali
approved these changes
Apr 7, 2026
Member
|
Thank you all, merging! |
This was referenced Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.













Description
Implements the "View Recipe" detail panel functionality for the Kitchen Inventory Management module (Phase 6, DELIVERABLE-5). Clicking the "View Recipe" button on any recipe card opens a slide-in panel from the right displaying the full recipe details including name, type, description, prep time, servings, difficulty, tags, ingredients list with availability status, and step-by-step instructions.
Implements # Phase 6 - Kitchen Inventory Management - Add functionality to view recipe button to view recipe details and instructions
Related PRs (if any):
This PR builds on top of PR #4879 (Recipes Landing Page). The landing page PR must be merged first before this one.
Main changes explained:
ViewRecipe.jsx— new component for the recipe detail slide-in panel with sections for metadata, tags, ingredients (with onsite/available/unavailable badges and substitute/reorder buttons for unavailable items), and numbered instructionsViewRecipe.module.css— full styling with dark mode support, responsive design, slide-in animation, and One Community earth tone color paletteRecipesLandingPage.jsx— import ViewRecipe component, addselectedRecipestate, wire uphandleViewRecipeto open detail panel andhandleCloseRecipeto close itmockRecipes.js— addingredientsarray (withid,name,quantity,isOnsite,isAvailablefields) andinstructionsarray to all mock recipes for testingHow to test:
shravan-view-recipe-detailsnpm installandnpm run start:local/kitchenandinventory/recipes)Screenshots or videos of changes:
Dark Mode
Light Mode
Note: