From 93bd485ae37464bb8e53d8b8ff80128d9000c2b1 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Tue, 11 Aug 2026 02:10:34 +0100 Subject: [PATCH] Add ChevronRightIcon component and update FilterInput to use it - Introduced a new ChevronRightIcon component using SVG for better visual representation. - Replaced the ArrowLeftIcon with ChevronRightIcon in the FilterInput component to enhance the operand display. - Added the corresponding SVG file for the ChevronRightIcon to the assets/icons directory. --- assets/icons/chevronrighticon.svg | 8 ++++++++ src/components/Dashboard/common/FilterInput.jsx | 4 ++-- src/components/Icons/ChevronRightIcon.jsx | 8 ++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 assets/icons/chevronrighticon.svg create mode 100644 src/components/Icons/ChevronRightIcon.jsx diff --git a/assets/icons/chevronrighticon.svg b/assets/icons/chevronrighticon.svg new file mode 100644 index 0000000..c318211 --- /dev/null +++ b/assets/icons/chevronrighticon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/components/Dashboard/common/FilterInput.jsx b/src/components/Dashboard/common/FilterInput.jsx index e8a8a2f..65827d7 100644 --- a/src/components/Dashboard/common/FilterInput.jsx +++ b/src/components/Dashboard/common/FilterInput.jsx @@ -18,7 +18,7 @@ import useStyle, { useSharedStyle } from 'antd/es/input/style' import { useThemeContext } from '../context/ThemeContext' import SimplePropertyFilter from './SimplePropertyFilter' import ScrollBox from './ScrollBox' -import ArrowLeftIcon from '../../Icons/ArrowLeftIcon' +import ChevronRightIcon from '../../Icons/ChevronRightIcon' import GreaterThanIcon from '../../Icons/GreaterThanIcon' import GreaterThanOrEqualToIcon from '../../Icons/GreaterThanOrEqualToIcon' import LessThanIcon from '../../Icons/LessThanIcon' @@ -35,7 +35,7 @@ const WILDCARDS = new Set(['*', '?']) const OPERANDS = [ { symbol: '..', - label: , + label: , color: 'purple' }, { diff --git a/src/components/Icons/ChevronRightIcon.jsx b/src/components/Icons/ChevronRightIcon.jsx new file mode 100644 index 0000000..07dbec8 --- /dev/null +++ b/src/components/Icons/ChevronRightIcon.jsx @@ -0,0 +1,8 @@ +import Icon from '@ant-design/icons' +import CustomIconSvg from '../../../assets/icons/chevronrighticon.svg?react' + +const ChevronRightIcon = (props) => ( + +) + +export default ChevronRightIcon