Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow editing of asset number #5651

Open
wants to merge 1 commit into
base: v2.4.1
Choose a base branch
from
Open

Conversation

CarlosNZ
Copy link
Contributor

Fixes #5392

👩🏻‍💻 What does this PR do?

This is the simplest version of this -- it just makes the Asset number editable after the asset is created. I'll make a follow-up issue to get user input on scanning, as that's a bit more involved and could do with some further planning to make it work nicely.

💌 Any notes for the reviewer?

I notice we're not enforcing unique-ness for Asset number. Should it be?

🧪 Testing

  • Go to an Asset detail page
  • Can edit the Asset Number
  • Can save, and Asset number is updated in the Breadcrumb title at the top of the page

@github-actions github-actions bot added this to the v2.4.1 milestone Nov 29, 2024
@github-actions github-actions bot added enhancement New feature or request Priority: Must Have The product will not work without this labels Nov 29, 2024
@CarlosNZ
Copy link
Contributor Author

Follow-up: #5652

Copy link

Bundle size difference

Comparing this PR to main

Old size New size Diff
4.99 MB 4.99 MB 186 B (0.00%)

@adamdewey
Copy link
Contributor

I notice we're not enforcing unique-ness for Asset number. Should it be?

It would be nice, but not sure how we would do it if assets can be added offline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature: CCEI feature: GAPS Priority: Must Have The product will not work without this Team Piwakawaka James, Laché, Carl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow user to enter an asset number when creating an asset via 2d Matrix Barcode Scan
2 participants