sysadminsmedia/homebox

Merge Locations/Items Into a Single "Entity" type

Opened this issue · 3 comments

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 hay-kot/homebox#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 :

  • #216
  • simplify sub-items handling
  • #52
  • #51
  • #38
  • #27 (as it easily allow to create new types of entities)
  • #9
  • #110

What alternatives have you considered?

No response

Additional context

No response

Contributions

  • I have searched through existing issues and feature requests to see if my idea has already been proposed.
  • If this feature is accepted, I would be willing to help implement and maintain this feature.
  • If this feature is accepted, I'm willing to sponsor the development of this feature.

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.

/boss 10

Total Bounty: $10

Bounties

Bounties paid automatically on close: