Closed Tian-Tan closed 6 months ago
@Tian-Tan since the function exists, i didn't really see anywhere using this function or having dropdown list? especially not in the old entry form. I'll look around to see if there is any clue.
Related Issues:
Based on the video, the field "scientific name" should have the dropdown list function. However, i didn't find related code in the occurrenceeditor.php file. So, we guess that it's because our repo is out of date. Langdon is woking on merging the new version to our repo, and we will see if we can find any potential dropdown list code.
I took a look at the occurrenceeditor of the merge branch, but there was still nothing related to dropdown list.
Issue currently on hold as we approach the Symbiota devs for some pointers on the code for existing Symbiota typeahead functions
@Tian-Tan do we still need to work on this one? Or we are good with the new dropdown function?
ON HOLD: Currently we need to contact Symbiota's admins to inquire about pointers to where the code for the existing dropdown functions might be.
On the other hand, we have also implemented our own dropdown functions, but how it works is still a little different from what the client expects. There are basically 2 options here:
We should mention this in a future meeting but I'd suppose this is lower on the priority list.
During the meeting, Jonathan told us to let him access the dev version of the website to poke around the code himself
The existing drop down function is using jQuery autocomplete plugin to achieve the functionality. Here is an example(/home/herbaria/running-symbiota/js/symb/collections.editor.main.js):
For the old entry form, many autocomplete functions are broken, such as state, country.
I think the reason is that in our data base, we don't have state or country table, and the query fails.
Should we fix it? and how?
Finish implementing one of the dropdown. Should i move on to implement all field's drop?
Implemented all dropdowns with commit 001ca652fefe51f4944f96daefc25aafb5e0d6cd
Our client has mentioned that there is no need to create new dropdown tables and to leverage existing dropdown functions currently available in Symbiota. This requires some digging into the code to find out these existing functions.