Skip to content

Commit d5e2b4b

Browse files
committed
Show impact and repeats data for all spans
1 parent c3bfb5a commit d5e2b4b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/views-ui/codeAnalytics/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ vscode-panel-view {
8585
padding: 1px 5px 2px 5px;
8686
border: none;
8787
color: inherit;
88+
height: fit-content;
8889

8990
&:disabled {
9091
opacity: 0.4;

src/views/codeAnalytics/InsightListView/EndpointInsight.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,20 +377,14 @@ export class EPNPlusSpansListViewItemsCreator
377377
</div>
378378
</div>
379379
<div style="margin-top:0.5em" class="flex-row">
380-
${
381-
span.internalSpan
382-
? `
383380
<span class="error-property flex-stretch">
384381
<span class="label">Impact</span>
385382
<span>${fractionSt}</span>
386-
</span>`
387-
: `
383+
</span>
388384
<span class="error-property flex-stretch">
389385
<span class="label">Repeats</span>
390386
<span>${span.occurrences}</span>
391387
</span>
392-
`
393-
}
394388
<span class="error-property flex-stretch">
395389
<span class="label">Duration</span>
396390
<span>${span.duration.value} ${

0 commit comments

Comments
 (0)