-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add titles to taxa tables #255
Comments
This is an interesting issue. If we modularized the taxa section into a Now that I look at this section more closely, I'm not sure that we're rendering taxa information in the most intuitive way. The intention here is to represent a tree, and we have split the tree up into individual tables, and don't show the nested relationship between the I think we need to shoot for a more concise table rendering. for instance, if you look at the bear genus Ursus over at ITIS, their Let's discuss how to go forward with this. |
I agree that we need to modularize the EMLTaxonCoverageView. I actually started on that a few months ago and stopped once I realized how messy of a refactor it was going to be. I have a local EMLTaxonCoverageView that I can check in so that once we get to that point we can just it as a start. I already talked to @rushirajnenuji about this on Slack, but we had this exact problem with the Methods Steps fields in the Editor. The steps are numbered sequentially there too, and it changes the numbers as steps are deleted. @rushirajnenuji, you should be able to reuse that code. I like the indented display of the taxnomic hierarchy on the ITIS website. I also would like to see us improve our display in that direction. |
I also like the compact, indented ITIS display. It would be good to pair common names with scientific names at each rank in the tree. Within EML, we have several common situations that need to be handled well:
One solution for all of these cases is to always look up the leaf node(s) and display the parent tree(s) from ITIS regardless of what the user provides in the metadata document. I'm not sure if I like this. |
Reference Issue #255 Solved. Taxa tables indexes gets updated based on adding / removal of a new species to the list.
Here are some changes to make to the taxa table titles:
//updating the taxaTablesIndex once the element has been removed
var taxaNums = this.$(".taxaIndex");
for(var i=0; i < taxaNums.length; i++){
$(taxaNums[i]).text(i+1);
} At the end of the
|
Reference #255 Made appropriate changes suggested by @laurenwalker 1. Removed the table border from the species table title. 2. Made the title more visible. 3. Remove taxa-specific logic from the handleRemove() function.
Solved with Commit code da42fad. |
Each taxa table should have a title above it, such as Species 1, Species 2, etc. to indicate why there are multiple tables. During UX testing, it was not obvious what the second table was for once it appeared. There is some help text that explains it, but that is not always noticed.
The text was updated successfully, but these errors were encountered: