From 549247da719d86f2196c29363abba03116027bf0 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Thu, 3 Oct 2024 18:09:55 +0530 Subject: [PATCH 1/4] [WEB-2580] chore: improvements for custom search select. --- .../ui/src/dropdowns/custom-search-select.tsx | 20 ++++++++++++----- packages/ui/src/dropdowns/helper.tsx | 14 +++++++----- .../issues/issue-modal/issue-type-select.tsx | 22 ++++++++++++++----- .../components/issues/issue-modal/form.tsx | 1 + 4 files changed, 40 insertions(+), 17 deletions(-) diff --git a/packages/ui/src/dropdowns/custom-search-select.tsx b/packages/ui/src/dropdowns/custom-search-select.tsx index 81d33df6eaa..e89a3ea44c1 100644 --- a/packages/ui/src/dropdowns/custom-search-select.tsx +++ b/packages/ui/src/dropdowns/custom-search-select.tsx @@ -1,7 +1,7 @@ import React, { useRef, useState } from "react"; import { usePopper } from "react-popper"; import { Combobox } from "@headlessui/react"; -import { Check, ChevronDown, Search } from "lucide-react"; +import { Check, ChevronDown, Info, Search } from "lucide-react"; import { createPortal } from "react-dom"; // plane helpers import { useOutsideClickDetector } from "@plane/helpers"; @@ -11,6 +11,8 @@ import { useDropdownKeyDown } from "../hooks/use-dropdown-key-down"; import { cn } from "../../helpers"; // types import { ICustomSearchSelectProps } from "./helper"; +// local components +import { Tooltip } from "../tooltip"; export const CustomSearchSelect = (props: ICustomSearchSelectProps) => { const { @@ -95,11 +97,10 @@ export const CustomSearchSelect = (props: ICustomSearchSelectProps) => {