hay-kot / homebox

Homebox is the inventory and organization system built for the Home User
https://hay-kot.github.io/homebox/
GNU Affero General Public License v3.0
2.7k stars 210 forks source link

Custom Field Presets? #190

Open shawly opened 1 year ago

shawly commented 1 year ago

What is the problem you are trying to solve with this feature?

I have a lot of electronic components and having custom field presets or maybe custom item types would allow me to use Homebox for managing basically every item in my home.

What is the solution you are proposing?

Having either custom field presets or custom item types with predetermined fields would allow users to manage new items of a specific type more quickly.

What alternatives have you considered?

Using software for my specific usecase like PartKeepr.

Additional context

I just thought this would be cool since this would make Homebox as flexible as a user would need for their specific purposes. Though maybe using another software specific for certain types of items makes more sense than creating a software that could handle everything.

Contributions

hay-kot commented 1 year ago

I'm open to this idea. Could you flesh out a little bit more on how this would be implemented either in the UI and/or on the backend?

How would these presets be defined? Would the automatically apply to items in a location? What about nested items?

I'm not sure I have a good enough idea of this feature to implement it.

AmineI commented 1 year ago

Could that be done with labels ? Here's the user story I've come up with when thinking about this feature request :

As a user, I might want that all my books have a custom field "page number". So when I create an item, I set the label to "Book", and the custom field "author" is automatically added (without a value yet) Same for "Hard Drive" label => "storage space" custom field added Or "Cable" label => "length" custom field added

To do that, I could set these custom fields in the "Labels" edit page, and they would then apply to any item created with this label

rdagger commented 1 year ago

It would be useful to have preexisting custom fields for storing information about my record collection. For instance, I would like to have fields for the artist, year of production, genre, and so on. But setting up custom fields every time I add a new record would be too tedious and error-prone, given the large number of records. Having preexisting custom fields would also help me avoid forgetting to enter necessary information.