[WEB-4724] feat: migrate tooltips from blueprintjs to base-ui (#7646)

* feat: add card component to propel package and update tooltip imports

* refactor: remove @plane/ui dependency and update tooltip imports to use local card component

* fix: lint

* refactor: update import from @plane/ui to @plane/utils in command component

* chore: removed blueprintjs/core and blueprintjs/popover2 dependencies

* chore: updated tooltip instances across platform and performed related code refactoring

* chore: code refactor

* chore: code refactor

* fix: lint and build error

* chore: code refactor

* chore: code refactor

* chore: code refactor

* chore: code refactor

* fix: format issue

* fix: build fix

---------

Co-authored-by: Jayash Tripathy <76092296+JayashTripathy@users.noreply.github.com>
This commit is contained in:
Anmol Singh Bhatia 2025-09-02 18:19:56 +05:30 committed by GitHub
parent 569b2fba83
commit 26b48bfcf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
146 changed files with 325 additions and 426 deletions

View file

@ -5,7 +5,8 @@ import Link from "next/link";
import { useParams } from "next/navigation";
// ui
import { MODULE_STATUS } from "@plane/constants";
import { Tooltip, ModuleStatusIcon } from "@plane/ui";
import { Tooltip } from "@plane/propel/tooltip";
import { ModuleStatusIcon } from "@plane/ui";
// components
import { SIDEBAR_WIDTH } from "@/components/gantt-chart/constants";
import { getBlockViewDetails } from "@/components/issues/issue-layouts/utils";
@ -45,7 +46,7 @@ export const ModuleGanttBlock: React.FC<Props> = observer((props) => {
<div>{message}</div>
</div>
}
position="top-left"
position="top-start"
>
<div
className="relative flex h-full w-full cursor-pointer items-center rounded"

View file

@ -2,9 +2,10 @@ import { observer } from "mobx-react";
import { Copy, Pencil, Trash2 } from "lucide-react";
// plane types
import { MODULE_TRACKER_ELEMENTS } from "@plane/constants";
import { Tooltip } from "@plane/propel/tooltip";
import { ILinkDetails } from "@plane/types";
// plane ui
import { setToast, TOAST_TYPE, Tooltip } from "@plane/ui";
import { setToast, TOAST_TYPE } from "@plane/ui";
import { getIconForLink, copyTextToClipboard, calculateTimeAgo } from "@plane/utils";
// helpers
//

View file

@ -16,6 +16,7 @@ import {
MODULE_TRACKER_ELEMENTS,
} from "@plane/constants";
import { useLocalStorage } from "@plane/hooks";
import { Tooltip } from "@plane/propel/tooltip";
import { IModule } from "@plane/types";
import {
Card,
@ -23,7 +24,6 @@ import {
LayersIcon,
LinearProgressIndicator,
TOAST_TYPE,
Tooltip,
setPromiseToast,
setToast,
} from "@plane/ui";

View file

@ -16,9 +16,10 @@ import {
} from "@plane/constants";
import { useLocalStorage } from "@plane/hooks";
import { useTranslation } from "@plane/i18n";
import { Tooltip } from "@plane/propel/tooltip";
import { IModule } from "@plane/types";
// ui
import { FavoriteStar, TOAST_TYPE, Tooltip, setPromiseToast, setToast } from "@plane/ui";
import { FavoriteStar, TOAST_TYPE, setPromiseToast, setToast } from "@plane/ui";
// components
import { renderFormattedPayloadDate, getDate } from "@plane/utils";
import { DateRangeDropdown } from "@/components/dropdowns/date-range";

View file

@ -9,9 +9,9 @@ import { MODULE_VIEW_LAYOUTS } from "@plane/constants";
import { useOutsideClickDetector } from "@plane/hooks";
// types
import { useTranslation } from "@plane/i18n";
import { Tooltip } from "@plane/propel/tooltip";
import { TModuleFilters } from "@plane/types";
// ui
import { Tooltip } from "@plane/ui";
import { cn, calculateTotalFilters } from "@plane/utils";
// plane utils
// components