MDeLuise / plant-it

🪴 Self-hosted, open source gardening companion app
https://plant-it.org
GNU General Public License v3.0
686 stars 25 forks source link

Add common names for custom created species #76

Closed MDeLuise closed 10 months ago

MDeLuise commented 11 months ago

Avoid duplicated feature requests

Description

Similar to the Trefle service, a user-created species should include a scientific_name along with optional synonyms and common_names fields. This enhancement becomes particularly beneficial in scenarios where a user modifies the Trefle species, such as changing the thumbnail. For example, currently a new custom species for Helianthus annuus is generated when the user makes modifications. Consequently, when searching for sunflower, only the Trefle species is provided. This limitation exists because users must search precisely for Helianthus annuus to find their custom species. The inclusion of a common_names field for user-created species would alleviate this issue.

Solution

Add a field called common_names (or synonyms) to the species object and use this along the scientific_name when searching.

What are alternatives?

No response

Additional context

No response