From 881195340f0ca885f50f6aed5fe6690ee937c0fd Mon Sep 17 00:00:00 2001 From: Simon Braitsch Date: Tue, 24 May 2022 15:28:37 +0200 Subject: [PATCH] feat 1395: Enable grouping of same agents in the status overview from the Configuration UI --- .../components/views/status/StatusTable.js | 16 ++- .../components/views/status/StatusToolbar.js | 48 ++++++++- .../src/components/views/status/StatusView.js | 98 +++++++++++++++---- 3 files changed, 143 insertions(+), 19 deletions(-) diff --git a/components/inspectit-ocelot-configurationserver-ui/src/components/views/status/StatusTable.js b/components/inspectit-ocelot-configurationserver-ui/src/components/views/status/StatusTable.js index a2edd1bc68..414894c46a 100644 --- a/components/inspectit-ocelot-configurationserver-ui/src/components/views/status/StatusTable.js +++ b/components/inspectit-ocelot-configurationserver-ui/src/components/views/status/StatusTable.js @@ -132,8 +132,22 @@ class StatusTable extends React.Component { background: #ddd; border-color: #ddd; } + .this :global(.badge) { + width: 1.2rem; + height: 1.2rem; + background: #007ad9; + border-radius: 25%; + display: inline-flex; + justify-content: center; + color: white; + } `} - {name} {agentIdElement} + {name} {agentIdElement}{' '} + {rowData.count > 1 ? ( + + {rowData.count}{' '} + + ) : null}