[WEB-3759] chore: header revamp for cycles, modules, pages and views (#6875)

* chore: header revamp for cycles, modules, pages and views

* chore: moved list fetch to layout level
This commit is contained in:
Vamsi Krishna 2025-04-09 14:56:57 +05:30 committed by GitHub
parent 2b411de1e3
commit 993c7899b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 269 additions and 453 deletions

View file

@ -26,3 +26,11 @@ export type TLogoProps = {
export type TNameDescriptionLoader = "submitting" | "submitted" | "saved";
export type TFetchStatus = "partial" | "complete" | undefined;
export type ICustomSearchSelectOption = {
value: any;
query: string;
content: React.ReactNode;
disabled?: boolean;
tooltip?: string | React.ReactNode;
};

View file

@ -1,5 +1,6 @@
// FIXME: fix this!!!
import { Placement } from "@blueprintjs/popover2";
import { ICustomSearchSelectOption } from "@plane/types";
export interface IDropdownProps {
customButtonClassName?: string;
@ -44,15 +45,7 @@ interface CustomSearchSelectProps {
onChange: any;
onClose?: () => void;
noResultsMessage?: string;
options:
| {
value: any;
query: string;
content: React.ReactNode;
disabled?: boolean;
tooltip?: string | React.ReactNode;
}[]
| undefined;
options?: ICustomSearchSelectOption[];
}
interface SingleValueProps {