Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit f81701d

Browse files
committed
fix for buggy filter-drilldown from grid legend
Fixes #797
1 parent f47a448 commit f81701d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/plugins/modules/activation-visualizations/lib/grid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ const _drawGrid = (options, {sidecar, leftHeader, rightHeader}, content, groupDa
224224
ui.addNameToSidecarHeader(sidecar, name, packageName, onclick)
225225

226226
if (groups.length > 0) {
227-
drawLegend(viewName, rightHeader, summary)
227+
drawLegend(viewName, rightHeader, summary, options)
228228
}
229229
}
230230

app/plugins/modules/activation-visualizations/usage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const optional = [{ name: 'action|app', positional: true, docs: 'include only ac
2727
{ name: '--failure', boolean: true, docs: 'include only failed activations' },
2828
{ name: '--outliers', docs: 'include only outlier activations', allowed: ['min',25,50,90,95,99,'max'], defaultValue: 90 },
2929
{ name: '--since', hidden: true },
30+
{ name: '--latency-bucket', hidden: true },
3031
{ name: '--upto', hidden: true },
3132
{ name: '--today', docs: 'show only activations from today'},
3233
{ name: '--yesterday', docs: 'show only activations from yesterday'},

app/plugins/modules/activation-visualizations/web/css/table.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
overflow: hidden;
387387
text-overflow: ellipsis;
388388
white-space: nowrap;
389+
max-width: 25em;
389390
}
390391
.activation-viz-plugin .grid-grid:not(.zoom_0) .grid-label {
391392
max-width: none !important;
@@ -562,7 +563,7 @@
562563
}
563564
.activation-viz-plugin.grid-header-key {
564565
height: 8em;
565-
width: 16em;
566+
width: 17em;
566567
font-size: 0.875em;
567568
padding: 0;
568569
}
@@ -591,7 +592,7 @@
591592
}
592593
.activation-viz-plugin.grid-header-key .zoom_-1 .kind {
593594
/* value text for the legend in the sidecar header */
594-
font-size: 0.875em;
595+
font-size: 0.75em;
595596
font-weight: 300;
596597
text-align: center;
597598
}

0 commit comments

Comments
 (0)