sysadminsmedia / homebox

A continuation of HomeBox the inventory and organization system built for the Home User
https://homebox.software
GNU Affero General Public License v3.0
1.01k stars 59 forks source link

Merge Locations/Items Into a Single "Entity" type #251

Open mcarbonne opened 3 weeks ago

mcarbonne commented 3 weeks ago

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

Currently, lot of features already exists for Items but are missing for Locations. There are several issues opened to also implement them for locations (qr code, pictures, maintenance...)

What is the solution you are proposing?

In order to simplify code base, merging items and locations into a single entity will enabled to share all features between items and locations. The original idea is taken from https://github.com/hay-kot/homebox/issues/696. To sum up, the idea is to use only one table for everything and add a type column (item or location for now) + a parent column.

I haven't looked yet into details, but it should solve all those issues :

What alternatives have you considered?

No response

Additional context

No response

Contributions

tankerkiller125 commented 3 weeks ago

We're already looking into doing this, we have a roadmap we're working on putting finishing touches on and we'll release that to the community most likely immediately after the next version is released.