From d04747b3095462b718f66126698ed3611c8f76ce Mon Sep 17 00:00:00 2001 From: cmeng Date: Mon, 23 Jan 2023 09:14:06 +1300 Subject: [PATCH] fix(home): EE-4874 homepage ui issues (#8319) --- app/assets/ico/heartbeat-down.svg | 4 ++++ app/assets/ico/heartbeat-up.svg | 4 ++++ app/react/components/EdgeIndicator.tsx | 3 ++- app/react/components/Svg.tsx | 4 ++++ app/react/components/datatables/SearchBar.tsx | 2 +- .../WizardEndpointsList.module.css | 15 +++++++++++---- 6 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 app/assets/ico/heartbeat-down.svg create mode 100644 app/assets/ico/heartbeat-up.svg diff --git a/app/assets/ico/heartbeat-down.svg b/app/assets/ico/heartbeat-down.svg new file mode 100644 index 000000000..eafa69da7 --- /dev/null +++ b/app/assets/ico/heartbeat-down.svg @@ -0,0 +1,4 @@ + + + + diff --git a/app/assets/ico/heartbeat-up.svg b/app/assets/ico/heartbeat-up.svg new file mode 100644 index 000000000..87f7f689d --- /dev/null +++ b/app/assets/ico/heartbeat-up.svg @@ -0,0 +1,4 @@ + + + + diff --git a/app/react/components/EdgeIndicator.tsx b/app/react/components/EdgeIndicator.tsx index ce7197279..7ab2e6753 100644 --- a/app/react/components/EdgeIndicator.tsx +++ b/app/react/components/EdgeIndicator.tsx @@ -27,7 +27,7 @@ export function EdgeIndicator({ return ( - associated + Not associated ); @@ -41,6 +41,7 @@ export function EdgeIndicator({ > heartbeat diff --git a/app/react/components/Svg.tsx b/app/react/components/Svg.tsx index ffac537eb..3bcc3a7b6 100644 --- a/app/react/components/Svg.tsx +++ b/app/react/components/Svg.tsx @@ -4,6 +4,8 @@ import darkmode from '@/assets/ico/theme/darkmode.svg?c'; import lightmode from '@/assets/ico/theme/lightmode.svg?c'; import highcontrastmode from '@/assets/ico/theme/highcontrastmode.svg?c'; // general icons +import heartbeatup from '@/assets/ico/heartbeat-up.svg?c'; +import heartbeatdown from '@/assets/ico/heartbeat-down.svg?c'; import checked from '@/assets/ico/checked.svg?c'; import dataflow from '@/assets/ico/dataflow-1.svg?c'; import git from '@/assets/ico/git.svg?c'; @@ -44,6 +46,8 @@ import quay from '@/assets/ico/vendor/quay.svg?c'; const placeholder = Placeholder; export const SvgIcons = { + heartbeatup, + heartbeatdown, automode, darkmode, lightmode, diff --git a/app/react/components/datatables/SearchBar.tsx b/app/react/components/datatables/SearchBar.tsx index 7370e9d1d..6f27c5e92 100644 --- a/app/react/components/datatables/SearchBar.tsx +++ b/app/react/components/datatables/SearchBar.tsx @@ -32,7 +32,7 @@ export function SearchBar({ return (