Diversity trees: Public pages
Current crop details page scans the files[]
for entries ending with _tree.json
to determine the Div Trees of the crop.
The API for Diversity Trees has changed in ... Please update the /crop/{cropName} details page to use the new diversityTrees
array in CropDetails
:
Please update the tree display to source its data from the new property.
Tree display page
Instead of opening a popup with tree display, a new Div Tree Display page at /divtree/{uuid} is used.
The layout is similar to the Accession map layout:
- The tree browser takes entire available space
- Change the node click behavor:
- Double-click collapses/expands the node
Node single-click
Initial idea is discussed in #724 (closed).
Single-click displays a popup menu with node information + a button to "List accessions" of this node.
On mobile, the accession list should lay over the tree browser.