Skip to content

Ramsundar - Fixed Functionality issues on the Inventory types page(Frontend)#5074

Open
Ram-blip wants to merge 1 commit intodevelopmentfrom
Frontend-inventory-types-functional-issue-fixes
Open

Ramsundar - Fixed Functionality issues on the Inventory types page(Frontend)#5074
Ram-blip wants to merge 1 commit intodevelopmentfrom
Frontend-inventory-types-functional-issue-fixes

Conversation

@Ram-blip
Copy link
Copy Markdown
Contributor

@Ram-blip Ram-blip commented Mar 27, 2026

Description

Screenshot 2026-03-27 at 4 42 38 PM

Related PRS (if any):

This frontend PR is related to the #2131 backend PR.

Main changes explained:

  • Separated the reusable create flow from the tool create flow.
  • Migrated “unit of measurement” storage from the old JSON-file approach to a MongoDB model, The backend now reads, adds, and deletes units through the database.

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 "http://localhost:5173/bmdashboard/inventorytypes"
  6. First check: Go add item in reusables, items will get added in reusables, there is no need to refresh, it updates immediately. Do the same thing for tools.
  7. Second check: Go to unit of measurement, add any measurement, it will get added. Also, the delete will also work. Error page won't come.

Screenshots or videos of changes:

Video Proof After changes:
https://www.loom.com/share/c1f26c4fe96241c2b5c6cb107c69b955

Note:

Include the information the reviewers need to know.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 27, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 3410d8c
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69c6875faeb7b8000919836e
😎 Deploy Preview https://deploy-preview-5074--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.

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@Vishnu10-hub Vishnu10-hub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Tested the Frontend-inventory-types-functional-issue-fixes branch locally. Able to add tools successfully, but encountered errors while updating types

Image Image Image

. Additionally, deletion of Units of Measurement is not working as expected.

@Ram-blip
Copy link
Copy Markdown
Contributor Author

Ram-blip commented Apr 9, 2026

Hi,

Tested the Frontend-inventory-types-functional-issue-fixes branch locally. Able to add tools successfully, but encountered errors while updating types

Image Image Image
. Additionally, deletion of Units of Measurement is not working as expected.

Hi Vishnu,

Are you telling that you are encountering errors while trying to add an item in reusable?

@Ram-blip Ram-blip requested a review from Vishnu10-hub April 11, 2026 08:18
@Ram-blip
Copy link
Copy Markdown
Contributor Author

Hi,

Tested the Frontend-inventory-types-functional-issue-fixes branch locally. Able to add tools successfully, but encountered errors while updating types

Image Image Image
. Additionally, deletion of Units of Measurement is not working as expected.

Hey Vishnu,

Can you check again? I have solved merge conflicts and i checked again, Everything is working as expected.

Thanks!

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