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.71k stars 213 forks source link

Create new Label / Locations from dropdowns #898

Open guiltyvictim opened 6 months ago

guiltyvictim commented 6 months ago

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

If I'm creating / editing an item and a location / label is missing, I'd have to restart the process and creating the location / label first before restarting the process.

What is the solution you are proposing?

In the Location / Label dropdown, have 'new location' / 'new label' and create it with a simple modal.

What alternatives have you considered?

None, I have to restart my item creation / editing process to make it possible.

Additional context

This is a fairly standard feature in a lot of management tools, so there are many standardised way of doing this. e.g. the first option in the Locations dropdown can be 'add new location' that triggers the create location modal; with labels, using a 'comma separated tags' field with autocomplete dropdown is a common way of achieving this.

Contributions