Closed laceysanderson closed 5 years ago
Tested all items in this PR and they all worked 👍 , with just a few minor fine adjustments/suggestions below.
The violin plot has a hover event that shows a window with extra information about a figure. However, the barchart does not have this and also, in the violin plot, the window appears in the figure legend text and not next to the pointer/figure as you would expect.
For collection method, on page load, they are all collapsed showing only the title of each method. Could the first item in the list be expanded? Just an added cue that those links contain more information and here I am showing you the first.
When clicking on the left hand side navigation, the content area seems to pulsate several times.
The x axis can be cluttered and unreadable. I believe this will be addressed by fixed width issue. I just want to include this observation in this review.
Metadata
Documentation:
Description
We need a field to embed the trait distribution plot on trait, germplasm and project pages.
Pertinent information from user feedback:
This PR creates a single field (
hp__phenotypic_variability
) which is automatically included on germplasm (base table: stock), experiments (base table: project), and traits (base table: cvterm). This field will show a trait distribution plot and selector fields.Specifically,
[fresh]/Trait/2653829
[fresh]/Trait/2653826
[tripal]/bio_data/6
(Violin) and[tripal]/bio_data/3
(Multibar; bad data example 🤷♀️ )[tripal]/bio_data/2
[tripal]/bio_data/2
[fresh]/study/2653525
(should not include Flower/Stem/Root Height).[tripal]/bio_data/245
(No lorem ipsum)[tripal]/bio_data/10
(Lorem ipsum)Testing?
The most recent version of this code is on both dev tripal and fresh. You can test using
[tripal]/admin/content/bio_data
anyTrait
,Germline Variant
orProject
content.[fresh]/admin/content/bio_data
anyTrait
, orStudy
(only AGILE should show chart)` content.Known Issue: There is a known issue with the chart not fitting well in the page. This is a problem with the chart and not the field and is due to it being a fixed size. This problem will be fixed in a later issue.