-
Notifications
You must be signed in to change notification settings - Fork 41
[Guided Setup] Add configuration for default trees in guided setup #7647
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
base: issue-2931-1
Are you sure you want to change the base?
Conversation
emenslin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Configure ranks for the geography and taxon trees.
- After the setup, make sure the default tree creation process started for the trees you selected to pre-load. (You will see notifications)
- If you chose a paleo/geo database then a chronostrat tree should also be imported automatically.
- If you chose to -not- pre-load the taxon tree, the taxon tree that was created should not have a root node.
- After the setup, check all the new trees, make sure the ranks respect your configuration.
- Creating a new discipline with the configuration tool should create an empty taxon tree.
- An empty taxon tree should have an import button
- Make sure you can import a taxon tree into the existing empty tree
- Make sure you can still create a new populated tree
I ran into some problems with the test panel so I could not test super thoroughly, however, I tested Vert Paleo without a pre-loaded tree and Ichthyology with a pre-loaded tree.
The main issue I ran into is that taxon tree separators are set to , by default when they should just be . This happens both when uploading a blank tree and after uploading a pre-loaded taxon tree.

|
Running sometimes into |
|
|
Preloading Taxon trees seems to generally work for me but sometimes if you edit the defaults the tree won't upload. I also ran into an issue where I preloaded the botany tree and all ranks uploaded are checked as enforced, but when uploaded there's no node in the phylum which causes an error for the node in the Class rank. 01-16_12.24.mp4Also I have just a few concerns with the preloading taxon trees in general. First, if we do not have the taxon defaults for a discipline can we remove the preload tree checkbox? I feel like making it appear like a tree can be preloaded and then nothing happens could be very confusing. Second, as I said above sometimes when editing the taxon tree setup and then checking preload tree it doesn't upload even for a tree that has defaults. I think it might have to do with either checking enforced for ranks that aren't a part of the defaults or with removing ranks that are included in the defaults, but I am not sure which. I think we need to find someway either for the tree to upload anyway or to prevent the user from continuing if the tree isn't going to upload. I am not sure what the best solution here is but I think something needs to be done so the user won't be led to believe a tree will be preloaded if it's not going to be. |
Yes, that should not be present if the user will end up needing to populate it after the discipline is created.
@CarolineDenis has changed the work plan for this feature, so for now I think that option will be removed. It will be handled in the fix for #7641. For now the user will have to go to the taxon tree viewer to populate it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing with the Geology and Botany databases...
- Configure ranks for the geography and taxon trees.
- Modifications to ranks applied correctly
- After the setup, make sure the default tree creation process started for the trees you selected to pre-load. (You will see notifications)
- Verified in notifications, however Taxon did not pre-load a tree (Geography, Storage, and Chronostrat did pre-load)
- If you chose a paleo/geo database then a chronostrat tree should also be imported automatically.
- Verified with Geology database
- If you chose to -not- pre-load the taxon tree, the taxon tree that was created should not have a root node.
- After the setup, check all the new trees, make sure the ranks respect your configuration.
- Creating a new discipline with the configuration tool should create an empty taxon tree.
- An empty taxon tree should have an import button
- Make sure you can import a taxon tree into the existing empty tree
- Make sure you can still create a new populated tree
Add collapsible tree rank sections Add separator to Geography tree Add description to pre-load tree option
As @grantfitzsimmons mentioned I have now hidden the option to pre-load the taxon tree.
Note from discussion: this might be because its still being created
I believe this is because of the schema config creation, which would be solved by this: #7615 |
Fixes #7593
Changes:
Checklist
self-explanatory (or properly documented)
Testing instructions