Skip to content

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

@mcarbonne

Description

@mcarbonne

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 :

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.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    In progress

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions