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`}
>
-
{url}
-{state.name}