From d58dfa5f5f79aa676b3fdd3382a87cfa5408f729 Mon Sep 17 00:00:00 2001 From: mmelko Date: Tue, 19 Sep 2023 14:28:26 +0200 Subject: [PATCH] chore(runtime): make tables sriped, remove whitespaces, change plugin id --- packages/hawtio/src/plugins/runtime/Metrics.tsx | 7 ++----- packages/hawtio/src/plugins/runtime/Runtime.tsx | 4 ++-- packages/hawtio/src/plugins/runtime/SysProps.test.tsx | 5 +++-- packages/hawtio/src/plugins/runtime/SysProps.tsx | 7 +++---- packages/hawtio/src/plugins/runtime/Threads.tsx | 6 +++--- packages/hawtio/src/plugins/runtime/index.ts | 2 +- 6 files changed, 14 insertions(+), 17 deletions(-) diff --git a/packages/hawtio/src/plugins/runtime/Metrics.tsx b/packages/hawtio/src/plugins/runtime/Metrics.tsx index 12b575bcd..08e0371a4 100644 --- a/packages/hawtio/src/plugins/runtime/Metrics.tsx +++ b/packages/hawtio/src/plugins/runtime/Metrics.tsx @@ -25,11 +25,9 @@ export const Metrics: React.FunctionComponent = () => { - {' '} - System + System - {' '} {metrics .filter(m => m.type === 'System') .map((metric, index) => { @@ -61,8 +59,7 @@ export const Metrics: React.FunctionComponent = () => { - {' '} - JVM + JVM diff --git a/packages/hawtio/src/plugins/runtime/Runtime.tsx b/packages/hawtio/src/plugins/runtime/Runtime.tsx index 1ec91831e..cc385f333 100644 --- a/packages/hawtio/src/plugins/runtime/Runtime.tsx +++ b/packages/hawtio/src/plugins/runtime/Runtime.tsx @@ -11,7 +11,7 @@ import { } from '@patternfly/react-core' import React from 'react' -import { SysProps } from '@hawtiosrc/plugins/runtime/SysProps' +import { SysProps } from './SysProps' import { Navigate, NavLink, Route, Routes, useLocation } from 'react-router-dom' import { Metrics } from './Metrics' import { Threads } from './Threads' @@ -37,7 +37,7 @@ export const Runtime: React.FunctionComponent = () => { -