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

[Feature request]: Consumable asset type with quantity #912

Open
carlosvirreira opened this issue Apr 15, 2024 · 4 comments
Open

[Feature request]: Consumable asset type with quantity #912

carlosvirreira opened this issue Apr 15, 2024 · 4 comments

Comments

@carlosvirreira
Copy link
Contributor

Contact Details

No response

Is your feature request related to a problem? Please describe?

in addition to larger, more expensive items, we also check out a lot of less expensive and difficult to tag items. A prime example: individual drill bits. I'd love to be able to create an asset "drill bit" that would have a quantity associated with it.

Describe the solution you'd like

We need to match specific quantities of drill bits to specific users.

The simplest way to put it is we need to be able to assign drill bits to multiple students using one QR code.

The code would be near the container of drill bits , and by scanning it, we could assign one or more drill bits to a student.

Right now, if I create an asset named "drill bit", once I assign the asset to a person, it becomes unavailable to check out.

A separate asset and QR code must be created to checkout another drill bit.

We have over a hundred drill bits, so we really need to be able to set up an "asset type" where instances of that type can be assigned to individuals, or some equivalent that doesn't require hundreds of QR codes that can't be fixed to their asset.

Describe alternatives you've considered

Using a custom field called Quantity. This helps us with tracking the amounts we have but not who we assigned this to.

We also tried assigning a drill bit asset to 1 user, but then the asset becomes unavailable to re-link to another user.

Additional context

No response

@jurrejansen
Copy link

jurrejansen commented Apr 16, 2024

There are 2 very similar issues that are currently still open. I'll add the relevant information from those in this comment and close them to centralize the discussion.

#737
Screenshot 2024-04-16 at 10 47 50

#151
Screenshot 2024-04-16 at 10 48 27

#1060
Screenshot 2024-06-27 at 17 51 59

Some early thoughts:

  • I think we should consider introducing an additional asset type. Let's call it a Quantum asset for now. This new asset type is going to interact differently with multiple parts of the app. Unlike an individual asset, the Quantum asset type will have a Quantity and a certain number of the total quantity can be used in bookings or when assigning custody.
  • We'll have to keep track and display the amount of the total quantity that is currently available. Also, the system needs to know how many are predicted to be available at any point in the future to comply with the booking functionality.
  • This means the status of the Quantum asset can be a mixture of states. Maybe the status can be Available until the point that the total quantity is not available. Status can be Unavailable then.
  • I'm thinking the Quantum asset type should have some unique UI displaying the different amounts that have a certain status, at least on the asset page.
  • The total quantity of a Quantum asset needs to be edited after it's been created
  • There will be new messages in Notes, related to Quantum asset (e.g. Assigned custody to John over (x4) Drill, total amount is now 6/10) or something in the likes of that

I'm also worried that introducing more concepts before revamping the asset page will cause double work

@jurrejansen jurrejansen changed the title [Feature request]: One QR (Asset) with quantity to assign to multiple people [Feature request]: Asset type with quantity Apr 19, 2024
@jurrejansen jurrejansen changed the title [Feature request]: Asset type with quantity [Feature request]: Consumable asset type with quantity Apr 22, 2024
@carlosvirreira
Copy link
Contributor Author

link the Figma design here @jurrejansen ?

@jurrejansen
Copy link

These are WIP scenarios

↳ Admin visits quantum asset page via asset index

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=4673-266685

↳ Admin assigns custody over a quantum asset

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=4715-41364

@jurrejansen
Copy link

@carlosvirreira @DonKoko Closed a few issues related to consumable / quantity assets and centralizing here again. I have copied over info that was given in the other issues in the original message of this issue.

Here are the latest scenarios.

SCENARIOS

↳ Status logic of Bulk assets

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=5809-66035

↳ Admin creates a bulk asset

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=4712-5568

↳ Adjusting the quantity of a bulk asset

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=5805-150782

↳ Inspecting a bulk asset within asset index

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=5809-33406

↳ A bulk asset has quantity set to 0

https://www.figma.com/design/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?node-id=5809-41019

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

No branches or pull requests

2 participants