Skip to content

#3886 implemented bulk copy button functionality#3922

Open
rbessin wants to merge 9 commits intofeature/bom-improvementsfrom
#3886-Implement-Bulk-Copy-Materials
Open

#3886 implemented bulk copy button functionality#3922
rbessin wants to merge 9 commits intofeature/bom-improvementsfrom
#3886-Implement-Bulk-Copy-Materials

Conversation

@rbessin
Copy link
Contributor

@rbessin rbessin commented Jan 25, 2026

Changes

BACKEND

  • added service method
  • added project controller method
  • added validation utility for copyMaterials parameters
  • added project route

FRONTEND

  • added url to copy materials
  • added api call
  • added hook method

Test Cases

  • Verified successful copying with fields correctly reseting.
  • Verified unsuccessful copying when material does not exist.
  • Route testing with postman.
Pic4 Pic3 Pic2 Pic1

To Do

  • Add modal to call the hook.

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes # (issue #3886 )

@rbessin rbessin requested a review from wavehassman January 25, 2026 03:49
@rbessin rbessin self-assigned this Jan 25, 2026
Copy link
Contributor

@wavehassman wavehassman left a comment

Choose a reason for hiding this comment

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

Awesome job! For testing, you should use Postman to do manual testing for the route and look at backend project unit tests to see how to make unit tests for the service function

@rbessin rbessin marked this pull request as draft February 4, 2026 19:45
@rbessin rbessin marked this pull request as ready for review February 4, 2026 20:27
Copy link
Contributor

@wavehassman wavehassman left a comment

Choose a reason for hiding this comment

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

Great job! Just one small change

@wavehassman wavehassman requested a review from chpy04 February 6, 2026 00:05
Copy link
Contributor

@chpy04 chpy04 left a comment

Choose a reason for hiding this comment

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

looks great just a couple things

@rbessin rbessin requested a review from chpy04 February 6, 2026 16:03
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.

3 participants