import { AlertCircle } from "lucide-react"; import { TIssueOrderByOptions } from "@plane/types"; import { ISSUE_ORDER_BY_OPTIONS } from "@/constants/issue"; import { cn } from "@/helpers/common.helper"; type Props = { dragColumnOrientation: "justify-start" | "justify-center" | "justify-end"; canDropOverIssue: boolean; isDropDisabled: boolean; dropErrorMessage?: string; orderBy: TIssueOrderByOptions | undefined; isDraggingOverColumn: boolean; }; export const GroupDragOverlay = (props: Props) => { const { dragColumnOrientation, canDropOverIssue, isDropDisabled, dropErrorMessage, orderBy, isDraggingOverColumn } = props; const shouldOverlay = isDraggingOverColumn && (!canDropOverIssue || isDropDisabled); const readableOrderBy = ISSUE_ORDER_BY_OPTIONS.find((orderByObj) => orderByObj.key === orderBy)?.title; return (