raimund-schluessler / inventory

12 stars 3 forks source link

[feat] allow to add and assign tags in the tags view #535

Open umlaeute opened 5 months ago

umlaeute commented 5 months ago

afaict, the only option to add a new tag is by specifying it when creating a new item (via the CSV import).

when editing an existing item, I can type a new tag into the tags field (and it gets displayed as mytag), but the pulldown also says:

No tag available. Create one!

the tag is lost as soon as i leave the editor.

in the tags menu, i cannot add any tag at all.

raimund-schluessler commented 5 months ago

When you edit an item, the tags do get saved (and created, if the do not exisit). But the problem is, that the edits are not pushed to the server, if you just click outside. See https://github.com/raimund-schluessler/inventory/issues/537 for this. If you use the button (the checkmark at the bottom right), the edits do get saved and the new tag gets created.

raimund-schluessler commented 5 months ago

Adding a tag in the tags menu would not really make sense, as it is a filter only.

umlaeute commented 5 months ago

i figured something like the save problem (hence i created #537 while you were creating #536), and was going to mention that here... but you were faster :-)

regarding the tags menu: well this is obviously how you see (and implemented) this, but me, as a complete noob, would have expected to be able to organize my tags in the tags menu. E.g. take https://github.com/raimund-schluessler/inventory/issues/labels as an example:

i think it would be nice if Inventory could follow that model.

raimund-schluessler commented 5 months ago

i think it would be nice if Inventory could follow that model.

Fair enough. But that would require that the app allows to edit multiple items at once first. So that would require #8 before, I think.

Edit: I adjusted the title to make that more clear.