remove popover (#1456)

This commit is contained in:
Colin Megill
2020-05-05 14:34:11 -04:00
committed by GitHub
parent 55a7967001
commit 630b59d4a7
@@ -95,10 +95,6 @@ class DiffexpButtons extends React.Component {
eitherCellSetOneOrTwo={2} eitherCellSetOneOrTwo={2}
/> />
{!differential.diffExp ? ( {!differential.diffExp ? (
<Popover
isOpen={/* warnMaxSizeExceeded && !userDismissedPopover */ false}
position={Position.BOTTOM}
target={
<Tooltip <Tooltip
content={warnMaxSizeExceeded ? tipMessageWarn : tipMessage} content={warnMaxSizeExceeded ? tipMessageWarn : tipMessage}
position="bottom" position="bottom"
@@ -115,41 +111,6 @@ class DiffexpButtons extends React.Component {
onClick={this.computeDiffExp} onClick={this.computeDiffExp}
/> />
</Tooltip> </Tooltip>
}
content={
<div
style={{
display: "flex",
justifyContent: "flex-start",
alignItems: "flex-end",
flexDirection: "column",
padding: 10,
maxWidth: 310,
}}
>
<p>
{`The total number of cells for differential expression computation
may not exceed ${diffexpCellcountMax}`}
</p>
<Button
type="button"
data-testid="diffexp-maxsize-exceeded-warning-dismiss"
intent="warning"
onClick={this.clearDifferentialExpression}
>
Dismiss and clear cell sets
</Button>
<Button
type="button"
data-testid="diffexp-popover-dismiss"
intent="none"
onClick={this.handlePopoverDismiss}
>
Dismiss
</Button>
</div>
}
/>
) : null} ) : null}
{differential.diffExp ? ( {differential.diffExp ? (