From 40ff41f97d5a3e12b1fa623088f1ca677fa141cb Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 7 Jan 2025 17:43:12 +0100 Subject: [PATCH] change(ui): projects revamp - progress avatar of samplerate, scroll etc., --- .../Client/CustomFields/CustomFields.tsx | 52 ++++++-------- .../Client/Projects/ProjectList.tsx | 67 ++++++++++++++----- .../Client/Projects/ProjectTags.tsx | 6 +- .../components/Client/Projects/Projects.tsx | 3 +- frontend/app/layout/SideMenu.tsx | 22 ------ frontend/app/layout/data.ts | 4 +- 6 files changed, 80 insertions(+), 74 deletions(-) diff --git a/frontend/app/components/Client/CustomFields/CustomFields.tsx b/frontend/app/components/Client/CustomFields/CustomFields.tsx index 7effb17cc..98844e9a5 100644 --- a/frontend/app/components/Client/CustomFields/CustomFields.tsx +++ b/frontend/app/components/Client/CustomFields/CustomFields.tsx @@ -1,5 +1,4 @@ import React, { useEffect, useState } from 'react'; -import { NoContent } from 'UI'; import CustomFieldForm from './CustomFieldForm'; import AnimatedSVG, { ICONS } from 'Shared/AnimatedSVG/AnimatedSVG'; import { useModal } from 'App/components/Modal'; @@ -8,6 +7,7 @@ import { observer } from 'mobx-react-lite'; import { List, Space, Typography, Button, Tooltip } from 'antd'; import { PencilIcon, PlusIcon, Tags } from 'lucide-react'; import usePageTitle from '@/hooks/usePageTitle'; +import { Empty } from '.store/antd-virtual-7db13b4af6/package'; const CustomFields = () => { usePageTitle('Metadata - OpenReplay Preferences'); @@ -59,36 +59,26 @@ const CustomFields = () => { - - - -
None added yet
- - } - size="small" - show={fields.length === 0} - > - ( - handleInit(field)} - className="cursor-pointer group hover:bg-active-blue !px-4" - actions={[ -