danielbrendel / hortusfox-web

Self-hosted collaborative plant management and tracking system for plant enthusiasts
https://www.hortusfox.com
MIT License
674 stars 34 forks source link

[Feature request] Show plant id after name in lists #154

Closed tomduud closed 6 months ago

tomduud commented 7 months ago

It would be great to see plant ID number after the name of the plant so you could identify the right plants if you have multiple ones under same name. Optionally it would be nice to see tags as weel if they can be fitted in.

tomduud commented 7 months ago

Maybe even possibility to show scientific name (maybe these can be configurable option on the settings).

tomduud commented 7 months ago

plant-id I did modify the plants.php on my installation to add ID. Not sure abou the color of the badge :) but this help me meanwhile I wait possible proper solution.

danielbrendel commented 7 months ago

Will be worked together in this issue: https://github.com/danielbrendel/hortusfox-web/issues/153

tomduud commented 6 months ago

Did this feature come with 3.0? I upgraded to 3.0 but I can't find to way show id's with plant on lists / main page and due the upgrade my local changes are now gone :).

danielbrendel commented 6 months ago

Yes, for duplicated plants you will see the cloned ID next to their name. Also if you sort plants, the actual sorting value is shown in the top left corner.

danielbrendel commented 6 months ago

Is this how you wanted it? Or do you generally want the ID to be shown?

tomduud commented 6 months ago

I meant generally showing id with plant name, so it is possible to identify plant if there is multiple ones under same name (e.g. 10 jalapenos). I edited plants.php, profile.php and index.php in /var/www/html/app/views directory to achieve this. Its not fancy but it works, though I need to patch every new release manually.

plantid

danielbrendel commented 6 months ago

My apologies, this was a misunderstanding then. I'll reopen this issue.

danielbrendel commented 6 months ago

To-do: Show plant ID before the plant name like in the screenshot above. Toggle showing plant IDs via personal preferences, so users can decide how they want it for themselves.

danielbrendel commented 6 months ago

@tomduud can you check it out from the main branch in a testing environment? You'd have to enable this feature in your user preferences.

danielbrendel commented 6 months ago

Resolved as completed.

tomduud commented 6 months ago

Thank you for the update on this issue. Works nicely. Small request though, could also add this to "Last added plants" view on the front page.