Skip to content

Som Ramnani - refactor(KIInventory): fix buttons in KIInventory - #5364

Open
somramnani wants to merge 3 commits into
developmentfrom
som/fix/action-buttons-inventory
Open

Som Ramnani - refactor(KIInventory): fix buttons in KIInventory#5364
somramnani wants to merge 3 commits into
developmentfrom
som/fix/action-buttons-inventory

Conversation

@somramnani

@somramnani somramnani commented Jul 3, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-07-02 at 4 13 54 PM

Related PRS (if any):

This frontend PR is related to the PR#5318

This backend PR is related to PR#2267

Main changes explained:

  • Update KIInventory.jsx to open the Add Item modal from the + Add Item button.
  • Create KIAddItemModal for the Add Item form, validation, and submit flow.
  • Add modal CSS for light/dark mode and responsive layout.
  • Update inventory actions/constants/reducer for Add Item API state.
  • Add focused tests for the Add Item button and modal behavior.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to: /kitchenandinventory/inventory
  6. verify function “A” (feel free to include screenshot here)
  7. verify this new feature works in dark mode

Screenshots or videos of changes:

Coming soon

@netlify

netlify Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 7a604d8
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a5a62851f9b63000849a893
😎 Deploy Preview https://deploy-preview-5364--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@somramnani somramnani changed the title refactor(KIInventory): fix buttons in KIInventory Som Ramnani - refactor(KIInventory): fix buttons in KIInventory Jul 8, 2026
@beblicarl

Copy link
Copy Markdown
Contributor

This functionality works as intended and the code is great

https://www.loom.com/share/e7f792ef75e24e0cb8d4bc4f122563d7

@beblicarl
beblicarl self-requested a review July 16, 2026 17:20
beblicarl
beblicarl previously approved these changes Jul 16, 2026
@somramnani somramnani added the do not review Do not review or look at code without full context label Jul 17, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not review Do not review or look at code without full context

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants