From 2980c2d76bee848198d756f609d16e71dd173ba4 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 26 Dec 2025 17:19:15 +0530 Subject: [PATCH] refactor: actions icon migration (#8219) * chore: gitignore updated * chore: check icon added to propel package * feat: search icon migration * chore: check icon migration * chore: plus icon added to propel package * chore: code refactor * chore: plus icon migration and code refactor * chore: trash icon added to propel package * chore: code refactor * chore: trash icon migration * chore: edit icon added to propel package * chore: new tab icon added to propel package * chore: edit icon migration * chore: newtab icon migration * chore: lock icon added to propel package * chore: lock icon migration * chore: globe icon added to propel package * chore: globe icon migration * chore: copy icon added to propel package * chore: copy icon migration * chore: link icon added to propel package * chore: link icon migration * chore: link icon migration * chore: info icon added to propel package * chore: code refactor * chore: code refactor * chore: code refactor * chore: code refactor --- .../(dashboard)/sidebar-help-section.tsx | 8 +- .../core/components/common/copy-field.tsx | 4 +- .../core/components/workspace/list-item.tsx | 5 +- .../admin/core/hooks/use-sidebar-menu/core.ts | 6 +- .../issues/filters/helpers/filter-option.tsx | 6 +- .../components/issues/filters/selection.tsx | 5 +- .../properties/all-properties.tsx | 6 +- .../comment/comment-detail-card.tsx | 6 +- .../issues/peek-overview/header.tsx | 6 +- .../(projects)/extended-project-sidebar.tsx | 6 +- .../views/(detail)/[viewId]/header.tsx | 6 +- .../(projects)/workspace-views/page.tsx | 4 +- .../settings/(workspace)/members/page.tsx | 4 +- .../(settings)/settings/account/sidebar.tsx | 5 +- .../app/(all)/workspace-invitations/page.tsx | 6 +- .../workspace-active-cycles-upgrade.tsx | 5 +- .../work-item-actions/change-state-list.tsx | 7 +- .../power-k/search/no-results-command.tsx | 6 +- .../estimates/estimate-list-item-buttons.tsx | 4 +- apps/web/ce/components/issues/header.tsx | 6 +- .../copy-menu-helper.tsx | 4 +- .../components/issues/issue-layouts/utils.tsx | 5 +- .../ce/components/workflow/state-option.tsx | 4 +- .../account/deactivate-account-modal.tsx | 4 +- .../analytics/insight-table/data-table.tsx | 8 +- .../modal/generated-token-details.tsx | 4 +- .../core/components/comments/card/display.tsx | 6 +- .../components/comments/card/edit-form.tsx | 5 +- .../components/comments/quick-actions.tsx | 11 +- .../core/components/common/access-field.tsx | 3 +- .../components/common/activity/helper.tsx | 8 +- .../components/common/page-access-icon.tsx | 5 +- .../core/description-versions/modal.tsx | 5 +- .../core/modals/bulk-delete-issues-modal.tsx | 4 +- .../modals/existing-issues-list-modal.tsx | 6 +- .../cycles/archived-cycles/header.tsx | 9 +- .../components/cycles/cycles-view-header.tsx | 8 +- .../cycles/dropdowns/filters/root.tsx | 5 +- .../cycles/list/cycles-list-item.tsx | 4 +- .../cycles/transfer-issues-modal.tsx | 6 +- .../dropdowns/cycle/cycle-options.tsx | 8 +- .../core/components/dropdowns/estimate.tsx | 7 +- .../dropdowns/intake-state/base.tsx | 5 +- apps/web/core/components/dropdowns/layout.tsx | 4 +- .../dropdowns/member/member-options.tsx | 7 +- .../dropdowns/module/module-options.tsx | 7 +- .../core/components/dropdowns/priority.tsx | 8 +- .../components/dropdowns/project/base.tsx | 7 +- .../core/components/dropdowns/state/base.tsx | 5 +- .../components/editor/lite-text/toolbar.tsx | 10 +- .../editor/sticky-editor/toolbar.tsx | 5 +- .../estimates/points/create-root.tsx | 4 +- .../components/estimates/points/create.tsx | 8 +- .../components/estimates/points/preview.tsx | 7 +- .../components/estimates/points/update.tsx | 8 +- .../gantt-chart/helpers/add-block.tsx | 4 +- .../home/widgets/empty-states/no-projects.tsx | 6 +- .../components/home/widgets/links/action.tsx | 2 +- .../home/widgets/links/link-detail.tsx | 11 +- .../components/home/widgets/links/root.tsx | 5 +- .../components/icons/locked-component.tsx | 4 +- .../inbox/content/inbox-issue-header.tsx | 12 +- .../content/inbox-issue-mobile-header.tsx | 10 +- .../inbox-filter/filters/filter-selection.tsx | 5 +- .../inbox/inbox-filter/sorting/order-by.tsx | 8 +- .../components/inbox/inbox-status-icon.tsx | 5 +- .../inbox/modals/select-duplicate.tsx | 4 +- .../components/integration/github/root.tsx | 6 +- .../integration/jira/give-details.tsx | 5 +- .../core/components/integration/jira/root.tsx | 6 +- .../components/integration/single-import.tsx | 5 +- .../attachment/attachment-list-item.tsx | 5 +- .../issue-detail-widgets/action-buttons.tsx | 6 +- .../attachments/quick-action-button.tsx | 4 +- .../links/quick-action-button.tsx | 4 +- .../relations/quick-action-button.tsx | 7 +- .../sub-issues/filters.tsx | 6 +- .../sub-issues/issues-list/list-item.tsx | 8 +- .../sub-issues/quick-action-button.tsx | 8 +- .../issue-activity/activity-filter.tsx | 5 +- .../issue-detail-quick-actions.tsx | 1 + .../issue-detail/label/create-label.tsx | 8 +- .../label/select/label-select.tsx | 9 +- .../issues/issue-detail/links/link-detail.tsx | 8 +- .../issues/issue-detail/links/link-item.tsx | 11 +- .../issues/issue-detail/links/root.tsx | 5 +- .../issues/issue-detail/parent-select.tsx | 6 +- .../issues/issue-detail/relation-select.tsx | 6 +- .../calendar/dropdowns/options-dropdown.tsx | 6 +- .../calendar/quick-add-issue-actions.tsx | 5 +- .../filters/header/helpers/filter-option.tsx | 4 +- .../kanban/headers/group-by-card.tsx | 7 +- .../list/headers/group-by-card.tsx | 9 +- .../properties/all-properties.tsx | 6 +- .../properties/label-dropdown.tsx | 8 +- .../quick-action-dropdowns/helper.tsx | 14 +- .../issue-layouts/quick-add/button/gantt.tsx | 3 +- .../issue-layouts/quick-add/button/kanban.tsx | 3 +- .../issue-layouts/quick-add/button/list.tsx | 3 +- .../quick-add/button/spreadsheet.tsx | 3 +- .../issues/issue-layouts/quick-add/root.tsx | 3 +- .../issues/parent-issues-list-modal.tsx | 5 +- .../issues/relations/issue-list-item.tsx | 7 +- .../core/components/issues/select/base.tsx | 10 +- .../workspace-draft/draft-issue-block.tsx | 9 +- .../labels/project-setting-label-group.tsx | 8 +- .../labels/project-setting-label-item.tsx | 6 +- .../modules/analytics-sidebar/root.tsx | 7 +- .../modules/archived-modules/header.tsx | 8 +- .../modules/dropdowns/filters/root.tsx | 7 +- .../components/modules/dropdowns/order-by.tsx | 10 +- .../components/modules/links/list-item.tsx | 11 +- .../components/modules/module-list-item.tsx | 7 +- .../components/modules/module-view-header.tsx | 8 +- .../components/navigation/app-rail-root.tsx | 7 +- .../navigation/project-actions-menu.tsx | 3 +- .../components/onboarding/invite-members.tsx | 8 +- .../onboarding/steps/profile/consent.tsx | 5 +- .../onboarding/steps/profile/set-password.tsx | 5 +- .../components/onboarding/steps/role/root.tsx | 6 +- .../components/onboarding/steps/team/root.tsx | 8 +- .../onboarding/steps/usecase/root.tsx | 5 +- .../components/pages/dropdowns/actions.tsx | 25 +--- .../pages/editor/toolbar/toolbar.tsx | 7 +- .../pages/header/copy-link-control.tsx | 5 +- .../pages/list/block-item-action.tsx | 5 +- .../components/pages/list/filters/root.tsx | 5 +- .../core/components/pages/list/order-by.tsx | 8 +- .../components/pages/list/search-input.tsx | 7 +- .../components/pages/modals/page-form.tsx | 11 +- .../power-k/config/miscellaneous-commands.ts | 9 +- .../power-k/ui/modal/command-item.tsx | 5 +- .../components/power-k/ui/modal/header.tsx | 7 +- .../power-k/ui/modal/shortcuts-root.tsx | 5 +- .../ui/pages/context-based/cycle/commands.ts | 3 +- .../pages/context-based/module/commands.tsx | 4 +- .../ui/pages/context-based/page/commands.ts | 17 +-- .../pages/context-based/work-item/commands.ts | 6 +- apps/web/core/components/profile/sidebar.tsx | 6 +- .../components/project-states/group-item.tsx | 6 +- .../project-states/state-item-title.tsx | 8 +- apps/web/core/components/project/card.tsx | 13 +- .../project/dropdowns/filters/root.tsx | 5 +- .../components/project/dropdowns/order-by.tsx | 9 +- apps/web/core/components/project/form.tsx | 5 +- .../core/components/project/member-list.tsx | 4 +- .../components/project/multi-select-modal.tsx | 5 +- .../project/project-network-icon.tsx | 8 +- .../project/publish-project/modal.tsx | 9 +- .../components/project/search-projects.tsx | 7 +- .../project/send-project-invitation-modal.tsx | 5 +- .../core/components/sidebar/search-button.tsx | 4 +- .../core/components/stickies/action-bar.tsx | 6 +- .../stickies/layout/stickies-list.tsx | 5 +- .../core/components/stickies/modal/search.tsx | 7 +- .../components/stickies/modal/stickies.tsx | 6 +- apps/web/core/components/stickies/widget.tsx | 5 +- .../views/filters/filter-selection.tsx | 6 +- .../components/views/filters/order-by.tsx | 7 +- .../components/views/view-list-header.tsx | 8 +- .../views/view-list-item-action.tsx | 5 +- .../components/web-hooks/form/secret-key.tsx | 5 +- .../sidebar/filters/menu/menu-option-item.tsx | 7 +- .../header/options/menu-option/root.tsx | 12 +- .../workspace/invite-modal/actions.tsx | 5 +- .../settings/invitations-list-item.tsx | 6 +- .../workspace/settings/member-columns.tsx | 6 +- .../workspace/settings/workspace-details.tsx | 5 +- .../workspace/sidebar/dropdown-item.tsx | 5 +- .../workspace/sidebar/projects-list-item.tsx | 4 +- .../workspace/sidebar/projects-list.tsx | 6 +- .../views/default-view-quick-action.tsx | 7 +- .../components/workspace/views/header.tsx | 5 +- .../workspace/views/view-list-item.tsx | 9 +- apps/web/helpers/views.helper.ts | 10 +- .../core/components/links/link-preview.tsx | 9 +- .../src/core/components/menus/block-menu.tsx | 6 +- .../menus/bubble-menu/link-selector.tsx | 9 +- .../menus/bubble-menu/node-selector.tsx | 6 +- .../src/core/components/menus/menu-items.ts | 6 +- .../extensions/code/code-block-node-view.tsx | 3 +- .../components/toolbar/full-screen/modal.tsx | 8 +- .../plugins/drag-handles/column/dropdown.tsx | 8 +- .../plugins/drag-handles/row/dropdown.tsx | 8 +- packages/propel/src/accordion/accordion.tsx | 3 +- .../propel/src/combobox/combobox.stories.tsx | 19 +-- packages/propel/src/combobox/combobox.tsx | 4 +- packages/propel/src/command/command.tsx | 2 +- .../src/context-menu/context-menu.stories.tsx | 31 +++-- .../src/emoji-icon-picker/icon/icon-root.tsx | 5 +- .../src/emoji-icon-picker/lucide-icons.tsx | 4 +- .../propel/src/icons/actions/check-icon.tsx | 13 ++ .../propel/src/icons/actions/copy-icon.tsx | 13 ++ .../propel/src/icons/actions/edit-icon.tsx | 16 +++ .../propel/src/icons/actions/globe-icon.tsx | 16 +++ packages/propel/src/icons/actions/index.ts | 9 ++ .../propel/src/icons/actions/link-icon.tsx | 13 ++ .../propel/src/icons/actions/lock-icon.tsx | 13 ++ .../propel/src/icons/actions/new-tab-icon.tsx | 13 ++ .../propel/src/icons/actions/plus-icon.tsx | 13 ++ .../propel/src/icons/actions/trash-icon.tsx | 13 ++ packages/propel/src/icons/constants.tsx | 11 ++ packages/propel/src/icons/icons.stories.tsx | 13 ++ packages/propel/src/icons/index.ts | 2 +- packages/propel/src/icons/info-icon.tsx | 23 --- packages/propel/src/icons/misc/index.ts | 1 + packages/propel/src/icons/misc/info-icon.tsx | 17 +++ packages/propel/src/icons/registry.ts | 131 +++++++++++------- .../propel/src/toolbar/toolbar.stories.tsx | 10 +- packages/ui/src/constants/icons.ts | 38 ++--- .../ui/src/dropdown/common/input-search.tsx | 5 +- packages/ui/src/dropdown/common/options.tsx | 5 +- .../ui/src/dropdowns/custom-search-select.tsx | 8 +- packages/ui/src/dropdowns/custom-select.tsx | 6 +- packages/utils/src/get-icon-for-link.ts | 4 +- 215 files changed, 932 insertions(+), 729 deletions(-) create mode 100644 packages/propel/src/icons/actions/check-icon.tsx create mode 100644 packages/propel/src/icons/actions/copy-icon.tsx create mode 100644 packages/propel/src/icons/actions/edit-icon.tsx create mode 100644 packages/propel/src/icons/actions/globe-icon.tsx create mode 100644 packages/propel/src/icons/actions/link-icon.tsx create mode 100644 packages/propel/src/icons/actions/lock-icon.tsx create mode 100644 packages/propel/src/icons/actions/new-tab-icon.tsx create mode 100644 packages/propel/src/icons/actions/plus-icon.tsx create mode 100644 packages/propel/src/icons/actions/trash-icon.tsx delete mode 100644 packages/propel/src/icons/info-icon.tsx create mode 100644 packages/propel/src/icons/misc/index.ts create mode 100644 packages/propel/src/icons/misc/info-icon.tsx diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx index 146770c70..c46d58f90 100644 --- a/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx +++ b/apps/admin/app/(all)/(dashboard)/sidebar-help-section.tsx @@ -1,11 +1,11 @@ import { useState, useRef } from "react"; import { observer } from "mobx-react"; import Link from "next/link"; -import { ExternalLink, HelpCircle, MoveLeft } from "lucide-react"; +import { HelpCircle, MoveLeft } from "lucide-react"; import { Transition } from "@headlessui/react"; -// plane internal packages import { WEB_BASE_URL } from "@plane/constants"; -import { DiscordIcon, GithubIcon, PageIcon } from "@plane/propel/icons"; +// plane internal packages +import { DiscordIcon, GithubIcon, NewTabIcon, PageIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; import { cn } from "@plane/utils"; // hooks @@ -56,7 +56,7 @@ export const AdminSidebarHelpSection = observer(function AdminSidebarHelpSection href={redirectionLink} className={`relative px-2 py-1 flex items-center gap-1 rounded-sm bg-layer-1 text-body-xs-medium text-secondary whitespace-nowrap`} > - + {!isSidebarCollapsed && "Redirect to Plane"} diff --git a/apps/admin/core/components/common/copy-field.tsx b/apps/admin/core/components/common/copy-field.tsx index 10a2c3729..981a0476b 100644 --- a/apps/admin/core/components/common/copy-field.tsx +++ b/apps/admin/core/components/common/copy-field.tsx @@ -1,7 +1,7 @@ import React from "react"; // ui -import { Copy } from "lucide-react"; import { Button } from "@plane/propel/button"; +import { CopyIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; type Props = { @@ -37,7 +37,7 @@ export function CopyField(props: Props) { }} >

{url}

- +
{description}
diff --git a/apps/admin/core/components/workspace/list-item.tsx b/apps/admin/core/components/workspace/list-item.tsx index c64ea648d..a4e0df225 100644 --- a/apps/admin/core/components/workspace/list-item.tsx +++ b/apps/admin/core/components/workspace/list-item.tsx @@ -1,7 +1,8 @@ import { observer } from "mobx-react"; -import { ExternalLink } from "lucide-react"; + // plane internal packages import { WEB_BASE_URL } from "@plane/constants"; +import { NewTabIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; import { getFileURL } from "@plane/utils"; // hooks @@ -75,7 +76,7 @@ export const WorkspaceListItem = observer(function WorkspaceListItem({ workspace
- +
); diff --git a/apps/admin/core/hooks/use-sidebar-menu/core.ts b/apps/admin/core/hooks/use-sidebar-menu/core.ts index 36b143598..7a821d899 100644 --- a/apps/admin/core/hooks/use-sidebar-menu/core.ts +++ b/apps/admin/core/hooks/use-sidebar-menu/core.ts @@ -1,6 +1,6 @@ -import { Image, BrainCog, Cog, Lock, Mail } from "lucide-react"; +import { Image, BrainCog, Cog, Mail } from "lucide-react"; // plane imports -import { WorkspaceIcon } from "@plane/propel/icons"; +import { LockIcon, WorkspaceIcon } from "@plane/propel/icons"; // types import type { TSidebarMenuItem } from "./types"; @@ -26,7 +26,7 @@ export const coreSidebarMenuLinks: Record href: `/workspace/`, }, authentication: { - Icon: Lock, + Icon: LockIcon, name: "Authentication", description: "Configure authentication modes.", href: `/authentication/`, diff --git a/apps/space/core/components/issues/filters/helpers/filter-option.tsx b/apps/space/core/components/issues/filters/helpers/filter-option.tsx index 0926e5e93..b690c88ae 100644 --- a/apps/space/core/components/issues/filters/helpers/filter-option.tsx +++ b/apps/space/core/components/issues/filters/helpers/filter-option.tsx @@ -1,6 +1,6 @@ import React from "react"; -// lucide icons -import { Check } from "lucide-react"; +// plane imports +import { CheckIcon } from "@plane/propel/icons"; type Props = { icon?: React.ReactNode; @@ -24,7 +24,7 @@ export function FilterOption(props: Props) { isChecked ? "border-accent-strong bg-accent-primary text-on-color" : "border-strong" } ${multiple ? "rounded-xs" : "rounded-full"}`} > - {isChecked && } + {isChecked && }
{icon &&
{icon}
} diff --git a/apps/space/core/components/issues/filters/selection.tsx b/apps/space/core/components/issues/filters/selection.tsx index cf7f11c4e..8d016bc26 100644 --- a/apps/space/core/components/issues/filters/selection.tsx +++ b/apps/space/core/components/issues/filters/selection.tsx @@ -1,7 +1,6 @@ import React, { useState } from "react"; import { observer } from "mobx-react"; -import { Search } from "lucide-react"; -import { CloseIcon } from "@plane/propel/icons"; +import { SearchIcon, CloseIcon } from "@plane/propel/icons"; // types import type { IIssueFilterOptions, TIssueFilterKeys } from "@/types/issue"; // local imports @@ -25,7 +24,7 @@ export const FilterSelection = observer(function FilterSelection(props: Props) {
- +
- +
{issue.link_count}
diff --git a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx index 65606ad6b..a1715e2a8 100644 --- a/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx +++ b/apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx @@ -1,11 +1,11 @@ import React, { useRef, useState } from "react"; import { observer } from "mobx-react"; import { Controller, useForm } from "react-hook-form"; -import { Check, MessageSquare, MoreVertical } from "lucide-react"; +import { MessageSquare, MoreVertical } from "lucide-react"; import { Menu, Transition } from "@headlessui/react"; // plane imports import type { EditorRefApi } from "@plane/editor"; -import { CloseIcon } from "@plane/propel/icons"; +import { CheckIcon, CloseIcon } from "@plane/propel/icons"; import type { TIssuePublicComment } from "@plane/types"; import { getFileURL } from "@plane/utils"; // components @@ -134,7 +134,7 @@ export const CommentCard = observer(function CommentCard(props: Props) { disabled={isSubmitting} className="group rounded-sm border border-success-strong bg-success-primary p-2 shadow-md duration-300 hover:bg-green-500" > - diff --git a/apps/space/core/components/issues/peek-overview/header.tsx b/apps/space/core/components/issues/peek-overview/header.tsx index fae71817d..67f325e38 100644 --- a/apps/space/core/components/issues/peek-overview/header.tsx +++ b/apps/space/core/components/issues/peek-overview/header.tsx @@ -1,9 +1,9 @@ import React from "react"; import { observer } from "mobx-react"; -import { Link2, MoveRight } from "lucide-react"; +import { MoveRight } from "lucide-react"; import { Listbox, Transition } from "@headlessui/react"; // ui -import { CenterPanelIcon, FullScreenPanelIcon, SidePanelIcon } from "@plane/propel/icons"; +import { LinkIcon, CenterPanelIcon, FullScreenPanelIcon, SidePanelIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; // helpers import { copyTextToClipboard } from "@/helpers/string.helper"; @@ -116,7 +116,7 @@ export const PeekOverviewHeader = observer(function PeekOverviewHeader(props: Pr className="shrink-0 focus:outline-none text-tertiary hover:text-secondary" tabIndex={1} > - + )}
diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx index 52edb02bf..a79a12a26 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/extended-project-sidebar.tsx @@ -2,10 +2,10 @@ import { useCallback, useRef, useState } from "react"; import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // plane imports -import { Plus, Search } from "lucide-react"; import { EUserPermissions, EUserPermissionsLevel, PROJECT_TRACKER_ELEMENTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import { EmptyStateCompact } from "@plane/propel/empty-state"; +import { PlusIcon, SearchIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import { Tooltip } from "@plane/propel/tooltip"; import { copyUrlToClipboard, orderJoinedProjects } from "@plane/utils"; @@ -117,13 +117,13 @@ export const ExtendedProjectSidebar = observer(function ExtendedProjectSidebar() setIsProjectModalOpen(true); }} > - + )}
- + - +
) : ( diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx index 4bb831ebf..70007f5a0 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/workspace-views/page.tsx @@ -1,9 +1,9 @@ import React, { useState } from "react"; import { observer } from "mobx-react"; -import { Search } from "lucide-react"; // plane imports import { DEFAULT_GLOBAL_VIEWS_LIST } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; +import { SearchIcon } from "@plane/propel/icons"; import { Input } from "@plane/ui"; // components import { PageHead } from "@/components/core/page-title"; @@ -25,7 +25,7 @@ function WorkspaceViewsPage() {
- +
- + - + ) diff --git a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx index 03c9a05f3..512ef9709 100644 --- a/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx +++ b/apps/web/ce/components/active-cycles/workspace-active-cycles-upgrade.tsx @@ -1,9 +1,10 @@ import { observer } from "mobx-react"; -import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope, Search } from "lucide-react"; +import { AlertOctagon, BarChart4, CircleDashed, Folder, Microscope } from "lucide-react"; // plane imports import { MARKETING_PRICING_PAGE_LINK } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import { getButtonStyling } from "@plane/propel/button"; +import { SearchIcon } from "@plane/propel/icons"; import { ContentWrapper } from "@plane/ui"; import { cn } from "@plane/utils"; // assets @@ -50,7 +51,7 @@ export const WORKSPACE_ACTIVE_CYCLES_DETAILS = [ key: "zoom_into_cycles_that_need_attention", title: "Zoom into cycles that need attention. ", description: "Investigate the state of any cycle that doesn’t conform to expectations in one click.", - icon: Search, + icon: SearchIcon, }, { key: "stay_ahead_of_blockers", diff --git a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx index 091aaea3f..91ccd7444 100644 --- a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx +++ b/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx @@ -1,9 +1,8 @@ import { Command } from "cmdk"; import { observer } from "mobx-react"; -import { Check } from "lucide-react"; -// plane imports import { EIconSize } from "@plane/constants"; -import { StateGroupIcon } from "@plane/propel/icons"; +// plane imports +import { CheckIcon, StateGroupIcon } from "@plane/propel/icons"; import { Spinner } from "@plane/ui"; // store hooks import { useProjectState } from "@/hooks/store/use-project-state"; @@ -36,7 +35,7 @@ export const ChangeWorkItemStateList = observer(function ChangeWorkItemStateList />

{state.name}

-
{state.id === currentStateId && }
+
{state.id === currentStateId && }
)) ) : ( diff --git a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx index c4badccd4..8639b52be 100644 --- a/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx +++ b/apps/web/ce/components/command-palette/power-k/search/no-results-command.tsx @@ -1,7 +1,7 @@ import { Command } from "cmdk"; -import { Search } from "lucide-react"; -// plane imports import { useTranslation } from "@plane/i18n"; +import { SearchIcon } from "@plane/propel/icons"; +// plane imports // components import type { TPowerKContext } from "@/components/power-k/core/types"; // plane web imports @@ -21,7 +21,7 @@ export function PowerKModalNoSearchResultsCommand(props: TPowerKModalNoSearchRes return ( diff --git a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx index be1f209ad..d20c0217a 100644 --- a/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx +++ b/apps/web/ce/components/estimates/estimate-list-item-buttons.tsx @@ -1,6 +1,6 @@ import { observer } from "mobx-react"; -import { Trash } from "lucide-react"; import { PROJECT_SETTINGS_TRACKER_ELEMENTS } from "@plane/constants"; +import { TrashIcon } from "@plane/propel/icons"; type TEstimateListItem = { estimateId: string; @@ -22,7 +22,7 @@ export const EstimateListItemButtons = observer(function EstimateListItemButtons onClick={() => onDeleteClick && onDeleteClick(estimateId)} data-ph-element={PROJECT_SETTINGS_TRACKER_ELEMENTS.ESTIMATES_LIST_ITEM} > - +
); diff --git a/apps/web/ce/components/issues/header.tsx b/apps/web/ce/components/issues/header.tsx index b10b8bf1d..89772ae19 100644 --- a/apps/web/ce/components/issues/header.tsx +++ b/apps/web/ce/components/issues/header.tsx @@ -1,7 +1,7 @@ import { observer } from "mobx-react"; import { useParams } from "next/navigation"; // icons -import { Circle, ExternalLink } from "lucide-react"; +import { Circle } from "lucide-react"; // plane imports import { EUserPermissions, @@ -12,7 +12,7 @@ import { } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import { Button } from "@plane/propel/button"; -import { WorkItemsIcon } from "@plane/propel/icons"; +import { NewTabIcon, WorkItemsIcon } from "@plane/propel/icons"; import { Tooltip } from "@plane/propel/tooltip"; import { EIssuesStoreType } from "@plane/types"; import { Breadcrumbs, Header } from "@plane/ui"; @@ -95,7 +95,7 @@ export const IssuesHeader = observer(function IssuesHeader() { > {t("workspace_projects.network.public.title")} - + ) : ( <> diff --git a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx index 7f4bb031b..641c9fc39 100644 --- a/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx +++ b/apps/web/ce/components/issues/issue-layouts/quick-action-dropdowns/copy-menu-helper.tsx @@ -1,11 +1,11 @@ -import type { Copy } from "lucide-react"; +import type { ISvgIcons } from "@plane/propel/icons"; import type { TContextMenuItem } from "@plane/ui"; export interface CopyMenuHelperProps { baseItem: { key: string; title: string; - icon: typeof Copy; + icon: React.FC; action: () => void; shouldRender: boolean; }; diff --git a/apps/web/ce/components/issues/issue-layouts/utils.tsx b/apps/web/ce/components/issues/issue-layouts/utils.tsx index 82a26a00c..6b6fa529d 100644 --- a/apps/web/ce/components/issues/issue-layouts/utils.tsx +++ b/apps/web/ce/components/issues/issue-layouts/utils.tsx @@ -1,9 +1,10 @@ import type { FC } from "react"; -import { CalendarDays, LayersIcon, Link2, Paperclip } from "lucide-react"; +import { CalendarDays, LayersIcon, Paperclip } from "lucide-react"; // types import { ISSUE_GROUP_BY_OPTIONS } from "@plane/constants"; import type { ISvgIcons } from "@plane/propel/icons"; import { + LinkIcon, CycleIcon, StatePropertyIcon, ModuleIcon, @@ -82,7 +83,7 @@ export const SpreadSheetPropertyIconMap: Record> = { PriorityPropertyIcon: PriorityPropertyIcon, StartDatePropertyIcon: StartDatePropertyIcon, StatePropertyIcon: StatePropertyIcon, - Link2: Link2, + Link2: LinkIcon, Paperclip: Paperclip, LayersIcon: LayersIcon, }; diff --git a/apps/web/ce/components/workflow/state-option.tsx b/apps/web/ce/components/workflow/state-option.tsx index 1c31e030f..ee260e717 100644 --- a/apps/web/ce/components/workflow/state-option.tsx +++ b/apps/web/ce/components/workflow/state-option.tsx @@ -1,6 +1,6 @@ import { observer } from "mobx-react"; -import { Check } from "lucide-react"; import { Combobox } from "@headlessui/react"; +import { CheckIcon } from "@plane/propel/icons"; import { cn } from "@plane/utils"; export type TStateOptionProps = { @@ -31,7 +31,7 @@ export const StateOption = observer(function StateOption(props: TStateOptionProp {({ selected }) => ( <> {option.content} - {selected && } + {selected && } )} diff --git a/apps/web/core/components/account/deactivate-account-modal.tsx b/apps/web/core/components/account/deactivate-account-modal.tsx index 0cd13cb1c..42fd21b06 100644 --- a/apps/web/core/components/account/deactivate-account-modal.tsx +++ b/apps/web/core/components/account/deactivate-account-modal.tsx @@ -1,9 +1,9 @@ import { useState } from "react"; -import { Trash2 } from "lucide-react"; import { PROFILE_SETTINGS_TRACKER_EVENTS } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; // ui import { Button } from "@plane/propel/button"; +import { TrashIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/toast"; import { EModalPosition, EModalWidth, ModalCore } from "@plane/ui"; // hooks @@ -68,7 +68,7 @@ export function DeactivateAccountModal(props: Props) {
-