<DeferredSpinner loading={loadingMeasure}>
{hotspotsReviewedMeasure && <CoverageRating value={hotspotsReviewedMeasure} />}
<Measure
- className="spacer-left huge"
+ className="spacer-left huge it__hs-review-percentage"
metricKey={
onBranch && !filters.sinceLeakPeriod
? 'security_hotspots_reviewed'
</DropdownOverlay>
}>
<EditButton
- className="it__hotspots-comment-edit button-small"
+ className="button-small"
onClick={() => setEditedCommentKey(key)}
/>
</Toggler>
</div>
}
overlayPlacement={PopupPlacement.BottomRight}>
- <DeleteButton className="it__hotspots-comment-delete button-small" />
+ <DeleteButton className="button-small" />
</Dropdown>
</div>
)}
return (
<>
<h1>{translate('hotspot.section.activity')}</h1>
- <div className="padded">
+ <div className="padded it__hs-review-history">
<HotspotReviewHistory
hotspot={hotspot}
onDeleteComment={this.handleDeleteComment}
<hr />
<div className="big-spacer-top">
<Button
- className={classNames({ invisible: commentVisible })}
+ className={classNames('it__hs-add-comment', { invisible: commentVisible })}
id="hotspot-comment-box-display"
onClick={this.props.onOpenComment}>
{translate('hotspots.comment.open')}
{isLoggedIn(currentUser) && (
<>
<div className="dropdown spacer-right flex-1-0-auto">
- <Button onClick={props.onOpenComment}>
+ <Button className="it__hs-add-comment" onClick={props.onOpenComment}>
{translate('hotspots.comment.open')}
</Button>
</div>
{translate('risk_exposure', hotspot.rule.vulnerabilityProbability)}
</div>
</div>
- <div className="display-flex-center">
+ <div className="display-flex-center it__hs-assignee">
<span className="big-spacer-right">{translate('assignee')}</span>
<div>
<Assignee hotspot={hotspot} onAssigneeChange={props.onUpdateHotspot} />
loading={false}
>
<Measure
- className="spacer-left huge"
+ className="spacer-left huge it__hs-review-percentage"
metricKey="security_hotspots_reviewed"
metricType="PERCENT"
/>
loading={false}
>
<Measure
- className="spacer-left huge"
+ className="spacer-left huge it__hs-review-percentage"
metricKey="security_hotspots_reviewed"
metricType="PERCENT"
/>
loading={false}
>
<Measure
- className="spacer-left huge"
+ className="spacer-left huge it__hs-review-percentage"
metricKey="new_security_hotspots_reviewed"
metricType="PERCENT"
/>
value="23.30"
/>
<Measure
- className="spacer-left huge"
+ className="spacer-left huge it__hs-review-percentage"
metricKey="security_hotspots_reviewed"
metricType="PERCENT"
value="23.30"
}
>
<EditButton
- className="it__hotspots-comment-edit button-small"
+ className="button-small"
onClick={[Function]}
/>
</Toggler>
overlayPlacement="bottom-right"
>
<DeleteButton
- className="it__hotspots-comment-delete button-small"
+ className="button-small"
/>
</Dropdown>
</div>
hotspot.section.activity
</h1>
<div
- className="padded"
+ className="padded it__hs-review-history"
>
<HotspotReviewHistory
hotspot={
className="big-spacer-top"
>
<Button
- className=""
+ className="it__hs-add-comment"
id="hotspot-comment-box-display"
onClick={[MockFunction]}
>
hotspot.section.activity
</h1>
<div
- className="padded"
+ className="padded it__hs-review-history"
>
<HotspotReviewHistory
hotspot={
className="dropdown spacer-right flex-1-0-auto"
>
<Button
+ className="it__hs-add-comment"
onClick={[MockFunction]}
>
hotspots.comment.open
</div>
</div>
<div
- className="display-flex-center"
+ className="display-flex-center it__hs-assignee"
>
<span
className="big-spacer-right"
className="dropdown spacer-right flex-1-0-auto"
>
<Button
+ className="it__hs-add-comment"
onClick={[MockFunction]}
>
hotspots.comment.open
</div>
</div>
<div
- className="display-flex-center"
+ className="display-flex-center it__hs-assignee"
>
<span
className="big-spacer-right"
className="dropdown spacer-right flex-1-0-auto"
>
<Button
+ className="it__hs-add-comment"
onClick={[MockFunction]}
>
hotspots.comment.open
</div>
</div>
<div
- className="display-flex-center"
+ className="display-flex-center it__hs-assignee"
>
<span
className="big-spacer-right"
className="dropdown spacer-right flex-1-0-auto"
>
<Button
+ className="it__hs-add-comment"
onClick={[MockFunction]}
>
hotspots.comment.open
</div>
</div>
<div
- className="display-flex-center"
+ className="display-flex-center it__hs-assignee"
>
<span
className="big-spacer-right"
className="dropdown spacer-right flex-1-0-auto"
>
<Button
+ className="it__hs-add-comment"
onClick={[MockFunction]}
>
hotspots.comment.open
</div>
</div>
<div
- className="display-flex-center"
+ className="display-flex-center it__hs-assignee"
>
<span
className="big-spacer-right"