Skip to content

Conversation

@bhanuanishakkineni
Copy link

Description

This PR is for both the tasks in the below image. The tasks are:

  • Implement access page for kitchen and inventory portal
  • Create a specific navbar for the kitchen and inventory portal
image

Related PRS (if any):

No related PRs
To test this checkout to the development branch of the backend.

Main changes explained:

  • Created KitchenandInventoryLogin component to implement access page for the portal.
  • Implemented the KIHeader component and added the conditional rendering to render the Kitchen and Inventory navbar for the portal.
  • Added routes to KitchenandInventory pages. Also implemented protected route for the kitchenandinventory page to prevent unauthorized access and will redirect to login page.

How to test:

  1. check into current branch
  2. do npm install and npm run start:local to run this PR locally
  3. Clear site data/cache
  4. log as admin/owner user
  5. go to "localhost:5173/kitchenandinventory"
  6. Login using the above admin/owner credentials
  7. Verify the navbar while routing to '/kitchenandinventory' pages
  8. Verify whether the access page is working
  9. On successful login to the Kitchen and Inventory portal, it should land on to the dashboard of the portal

Screenshots or videos of changes:

Screen.Recording.2026-01-03.210108.mp4

Note:

Include the information the reviewers need to know.

Implement protected routes for Kitchen and Inventory portal
Update header to include Kitchen and Inventory navigation
Add routes for Kitchen and Inventory portal
Update language files for Kitchen and Inventory portal
Test Login component and update header rendering for Kitchen and Inventory Portal.
Add titles for Kitchen and Inventory routes in App component.
@netlify
Copy link

netlify bot commented Jan 4, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 7ee4e1a
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/695eccb4b1f48600084a17a6
😎 Deploy Preview https://deploy-preview-4664--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

modified path in routes.jsx to reflect this change
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 7, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
74.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants