From 7a26afff5a06da2876d53cce69bc79efa1953251 Mon Sep 17 00:00:00 2001 From: Abhishek Pal <43001336+devabhishekpal@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:50:00 +0530 Subject: [PATCH] HDDS-11158. Improve Pipelines page UI (#7171) --- .../src/v2/components/search/search.tsx | 2 + .../src/v2/components/tables/bucketsTable.tsx | 267 ++++++++++++++++++ .../v2/components/tables/pipelinesTable.tsx | 211 ++++++++++++++ .../src/v2/components/tables/volumesTable.tsx | 179 ++++++++++++ .../src/v2/pages/buckets/buckets.tsx | 236 +--------------- .../src/v2/pages/pipelines/pipelines.less | 48 ++++ .../src/v2/pages/pipelines/pipelines.tsx | 160 +++++++++++ .../src/v2/pages/volumes/volumes.tsx | 147 +--------- .../ozone-recon-web/src/v2/routes-v2.tsx | 5 + .../src/v2/types/bucket.types.ts | 12 +- .../src/v2/types/pipelines.types.ts | 62 ++++ .../src/v2/types/volume.types.ts | 10 +- .../src/v2/utils/momentUtils.ts | 63 +++++ 13 files changed, 1039 insertions(+), 363 deletions(-) create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/tables/bucketsTable.tsx create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/tables/pipelinesTable.tsx create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/tables/volumesTable.tsx create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/pipelines/pipelines.less create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/pages/pipelines/pipelines.tsx create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/types/pipelines.types.ts create mode 100644 hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/utils/momentUtils.ts diff --git a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/search/search.tsx b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/search/search.tsx index 8cac2a9c047..d320fd659a6 100644 --- a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/search/search.tsx +++ b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/v2/components/search/search.tsx @@ -20,6 +20,7 @@ import React from 'react'; import { Input, Select } from 'antd'; import { Option } from '@/v2/components/select/singleSelect'; +import { DownOutlined } from '@ant-design/icons'; // ------------- Types -------------- // type SearchProps = { @@ -51,6 +52,7 @@ const Search: React.FC = ({ const selectFilter = searchColumn ? (