π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: removed module tooltip from peek-overview & issue detail (#3946)
Lakhan Bahetic3c6ef883001
diff --git a/web/components/dropdowns/module/index.tsx b/web/components/dropdowns/module/index.tsxindex 8826047129..629aeba0ec 100644--- a/web/components/dropdowns/module/index.tsx+++ b/web/components/dropdowns/module/index.tsx@@ -47,6 +47,7 @@ type ButtonContentProps = {onChange: (moduleIds: string[]) => void;placeholder: string;showCount: boolean;+ showTooltip?: boolean;value: string | string[] | null;};@@ -60,6 +61,7 @@ const ButtonContent: React.FC<ButtonContentProps> = (props) => {onChange,placeholder,showCount,+ showTooltip = false,value,} = props;// store hooks@@ -90,12 +92,12 @@ const ButtonContent: React.FC<ButtonContentProps> = (props) => {>{!hideIcon && <DiceIcon className="h-2.5 w-2.5 flex-shrink-0" />}{!hideText && (- <Tooltip tooltipHeading="Title" tooltipContent={moduleDetails?.name}>+ <Tooltip tooltipHeading="Title" tooltipContent={moduleDetails?.name} disabled={!showTooltip}><span className="max-w-40 flex-grow truncate text-xs font-medium">{moduleDetails?.name}</span></Tooltip>)}{!disabled && (- <Tooltip tooltipContent="Remove">+ <Tooltip tooltipContent="Remove" disabled={!showTooltip}><buttontype="button"className="flex-shrink-0"@@ -265,6 +267,7 @@ export const ModuleDropdown: React.FC<Props> = observer((props) => {hideText={BUTTON_VARIANTS_WITHOUT_TEXT.includes(buttonVariant)}placeholder={placeholder}showCount={showCount}+ showTooltip={showTooltip}value={value}onChange={onChange as any}/>diff --git a/web/components/issues/issue-detail/module-select.tsx b/web/components/issues/issue-detail/module-select.tsxindex f157ede86d..91cda67d6d 100644--- a/web/components/issues/issue-detail/module-select.tsx+++ b/web/components/issues/issue-detail/module-select.tsx@@ -71,7 +71,6 @@ export const IssueModuleSelect: React.FC<TIssueModuleSelect> = observer((props)hideIcondropdownArrowdropdownArrowClassName="h-3.5 w-3.5 hidden group-hover:inline"- showTooltipmultiple/></div>