feat: Lesion tracker right panel (#1428)
* WIP * Finish mock * Update name, remove vendor prefix * Remove lesion tracker from defaults * Refactor measurement table changes * Remove unused code * Update naming of collections
This commit is contained in:
1 parent
3529474a16
commit
98a649b455
7 files changed
+256
-79
No files matched your search
@@ -184,10 +184,12 @@ class MeasurementTable extends Component {
|
||||
};
|
||||
|
||||
getTimepointsHeader = () => {
|
||||
return this.props.timepoints.map((timepoint, index) => {
|
||||
const { timepoints, t } = this.props;
|
||||
|
||||
return timepoints.map((timepoint, index) => {
|
||||
return (
|
||||
<div key={index} className="measurementTableHeaderItem">
|
||||
<div className="timepointLabel">{this.props.t(timepoint.key)}</div>
|
||||
<div className="timepointLabel">{t(timepoint.key)}</div>
|
||||
<div className="timepointDate">{timepoint.date}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
position: relative
|
||||
top: 2px
|
||||
|
||||
|
||||
.tooltip-warning
|
||||
&.in
|
||||
opacity 1
|
||||
|
||||
@@ -44,8 +44,8 @@ class MeasurementTableItem extends Component {
|
||||
<div>{this.getTableListItem()}</div>
|
||||
</OverlayTrigger>
|
||||
) : (
|
||||
<React.Fragment>{this.getTableListItem()}</React.Fragment>
|
||||
)}
|
||||
<React.Fragment>{this.getTableListItem()}</React.Fragment>
|
||||
)}
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
@@ -101,7 +101,7 @@ class MeasurementTableItem extends Component {
|
||||
nsSeparator: '|',
|
||||
})}
|
||||
</div>
|
||||
<div>{this.getDataDisplayText()}</div>
|
||||
<div className="displayTexts">{this.getDataDisplayText()}</div>
|
||||
<div className="rowActions">{actionButtons}</div>
|
||||
</div>
|
||||
</TableListItem>
|
||||
|
||||
@@ -25,6 +25,20 @@ $headerRowHeight = 63px
|
||||
text-align: left
|
||||
flex: 1;
|
||||
|
||||
.tableListHeaderSelector
|
||||
cursor: pointer
|
||||
max-width: 30px
|
||||
padding-left: 2px
|
||||
align-items: stretch
|
||||
flex: 1
|
||||
justify-content: space-around
|
||||
text-align: center
|
||||
|
||||
svg
|
||||
fill: #c1d8e3
|
||||
height: 63px
|
||||
max-width: 11px
|
||||
|
||||
.numberOfItems
|
||||
color: var(--ui-sky-blue)
|
||||
float: right
|
||||
|
||||
Reference in new issue
Block a user