-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: add transformation dropdown to histogram (#1666)
* feat: add transformation dropdown to histogram ...and adjust histogram endpoint call to include histogram concept id in variables list instead of being part of the url, according to the backend changes implemented for this same endpoint. * feat: add filters to histogram * feat: do not filter the histogram data ...instead, we want the filter just to be recorded as part of the concept item and be reflected in the histogram UI as a line at this point. * feat: add min and max lines to histogram * fix: empty data handling and move select and input boxes * feat: improve comments in Histogram code; remove data-tour * feat: define and use FILTERS as enumeration options * feat: executed eslint-new on new histogram feature code * fix: add missing onchange setters for state values in PhenotypeHistogram * fix: min/max constraints on PhenotypeHistogram cutoff inputs * fix: add aria labels and some css improvements * feat(add_transformration_to_histogram): Added CSS styles and class names to components and storybooks to better match design * feat(add_transformration_to_histogram): fixed typo in SVG aria-labelledby reference --------- Co-authored-by: Jarvis Raymond <jarvisraymond@uchicago.edu> Co-authored-by: Jarvis <113449836+jarvisraymond-uchicago@users.noreply.github.com>
- Loading branch information
1 parent
68dc9f5
commit b630445
Showing
14 changed files
with
298 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Analysis/GWASApp/Components/Diagrams/PhenotypeHistogram/PhenotypeHistogram.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.GWASUI-column.transformation-dropdown-label { | ||
max-width: 25%; | ||
} | ||
|
||
.GWASUI-column.transformation-select { | ||
max-width: 65%; | ||
} | ||
|
||
label[for='input-minOutlierCutoff'], | ||
label[for='input-maxOutlierCutoff'] { | ||
margin-top: 3px; | ||
} | ||
|
||
.GWASUI-row.outlier-inputs { | ||
margin-top: -8px; | ||
} | ||
|
||
.recharts-text.xAxisLabel tspan:nth-child(1) { | ||
font-weight: bold; | ||
fill: black; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.