From b941ea2cd859108712eeba0826278f87b27e9ee3 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Wed, 30 Oct 2024 11:44:31 +0100 Subject: [PATCH] ui: start redesign for live search/list --- .../Spots/SpotsList/SpotsListHeader.tsx | 2 +- .../shared/LiveSessionList/LiveSessionList.tsx | 4 ++-- .../LiveSessionReloadButton.tsx | 2 +- .../shared/ReloadButton/ReloadButton.tsx | 15 +++++++++------ 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/frontend/app/components/Spots/SpotsList/SpotsListHeader.tsx b/frontend/app/components/Spots/SpotsList/SpotsListHeader.tsx index b2368469f..781893575 100644 --- a/frontend/app/components/Spots/SpotsList/SpotsListHeader.tsx +++ b/frontend/app/components/Spots/SpotsList/SpotsListHeader.tsx @@ -50,7 +50,7 @@ const SpotsListHeader = observer(

Spot List

- +
{tenantHasSpots ? ( diff --git a/frontend/app/components/shared/LiveSessionList/LiveSessionList.tsx b/frontend/app/components/shared/LiveSessionList/LiveSessionList.tsx index aa043a42a..9ed3c9fd6 100644 --- a/frontend/app/components/shared/LiveSessionList/LiveSessionList.tsx +++ b/frontend/app/components/shared/LiveSessionList/LiveSessionList.tsx @@ -78,8 +78,8 @@ function LiveSessionList() { return (
-
-
+
+

Co-Browse diff --git a/frontend/app/components/shared/LiveSessionReloadButton/LiveSessionReloadButton.tsx b/frontend/app/components/shared/LiveSessionReloadButton/LiveSessionReloadButton.tsx index 56be39a16..44301a9de 100644 --- a/frontend/app/components/shared/LiveSessionReloadButton/LiveSessionReloadButton.tsx +++ b/frontend/app/components/shared/LiveSessionReloadButton/LiveSessionReloadButton.tsx @@ -12,7 +12,7 @@ function LiveSessionReloadButton(props: Props) { const { onClick } = props; const loading = sessionStore.loadingLiveSessions; return ( - + ); } diff --git a/frontend/app/components/shared/ReloadButton/ReloadButton.tsx b/frontend/app/components/shared/ReloadButton/ReloadButton.tsx index e4480c0fc..495a80f47 100644 --- a/frontend/app/components/shared/ReloadButton/ReloadButton.tsx +++ b/frontend/app/components/shared/ReloadButton/ReloadButton.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import {Button, Tooltip} from 'antd'; -import { ListRestart } from 'lucide-react'; +import { Button, Tooltip } from 'antd'; +import { SyncOutlined } from '@ant-design/icons'; interface Props { loading?: boolean; @@ -11,10 +11,13 @@ interface Props { export default function ReloadButton(props: Props) { const { loading, onClick, iconSize = 18, buttonSize } = props; return ( - - + +