diff --git a/apps/web/ce/components/command-palette/actions/index.ts b/apps/web/ce/components/command-palette/actions/index.ts
deleted file mode 100644
index a6961e2387..0000000000
--- a/apps/web/ce/components/command-palette/actions/index.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export * from "./work-item-actions";
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
deleted file mode 100644
index 69e4aed88e..0000000000
--- a/apps/web/ce/components/command-palette/actions/work-item-actions/change-state-list.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-import { Command } from "cmdk";
-import { observer } from "mobx-react";
-import { EIconSize } from "@plane/constants";
-// plane imports
-import { CheckIcon, StateGroupIcon } from "@plane/propel/icons";
-import { Spinner } from "@plane/ui";
-// store hooks
-import { useProjectState } from "@/hooks/store/use-project-state";
-
-export type TChangeWorkItemStateListProps = {
- projectId: string | null;
- currentStateId: string | null;
- handleStateChange: (stateId: string) => void;
-};
-
-export const ChangeWorkItemStateList = observer(function ChangeWorkItemStateList(props: TChangeWorkItemStateListProps) {
- const { projectId, currentStateId, handleStateChange } = props;
- // store hooks
- const { getProjectStates } = useProjectState();
- // derived values
- const projectStates = getProjectStates(projectId);
-
- return (
- <>
- {projectStates ? (
- projectStates.length > 0 ? (
- projectStates.map((state) => (
- handleStateChange(state.id)} className="focus:outline-none">
-
- {state.id === currentStateId && }
-
- ))
- ) : (
-
No states found
- )
- ) : (
-
- )}
- >
- );
-});
diff --git a/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts b/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts
deleted file mode 100644
index 3f2f8c0718..0000000000
--- a/apps/web/ce/components/command-palette/actions/work-item-actions/index.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export * from "./change-state-list";
diff --git a/apps/web/ce/components/command-palette/helpers.tsx b/apps/web/ce/components/command-palette/helpers.tsx
deleted file mode 100644
index d691579226..0000000000
--- a/apps/web/ce/components/command-palette/helpers.tsx
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-import { LayoutGrid } from "lucide-react";
-// plane imports
-import { CycleIcon, ModuleIcon, PageIcon, ProjectIcon, ViewsIcon } from "@plane/propel/icons";
-import type {
- IWorkspaceDefaultSearchResult,
- IWorkspaceIssueSearchResult,
- IWorkspacePageSearchResult,
- IWorkspaceProjectSearchResult,
- IWorkspaceSearchResult,
-} from "@plane/types";
-import { generateWorkItemLink } from "@plane/utils";
-// plane web components
-import { IssueIdentifier } from "@/plane-web/components/issues/issue-details/issue-identifier";
-
-export type TCommandGroups = {
- [key: string]: {
- icon: React.ReactNode | null;
- itemName: (item: any) => React.ReactNode;
- path: (item: any, projectId: string | undefined) => string;
- title: string;
- };
-};
-
-export const commandGroups: TCommandGroups = {
- cycle: {
- icon: ,
- itemName: (cycle: IWorkspaceDefaultSearchResult) => (
-
- {cycle.project__identifier} {cycle.name}
-
- ),
- path: (cycle: IWorkspaceDefaultSearchResult) =>
- `/${cycle?.workspace__slug}/projects/${cycle?.project_id}/cycles/${cycle?.id}`,
- title: "Cycles",
- },
- issue: {
- icon: null,
- itemName: (issue: IWorkspaceIssueSearchResult) => (
-
- {" "}
- {issue.name}
-
- ),
- path: (issue: IWorkspaceIssueSearchResult) =>
- generateWorkItemLink({
- workspaceSlug: issue?.workspace__slug,
- projectId: issue?.project_id,
- issueId: issue?.id,
- projectIdentifier: issue.project__identifier,
- sequenceId: issue?.sequence_id,
- }),
- title: "Work items",
- },
- issue_view: {
- icon: ,
- itemName: (view: IWorkspaceDefaultSearchResult) => (
-
- {view.project__identifier} {view.name}
-
- ),
- path: (view: IWorkspaceDefaultSearchResult) =>
- `/${view?.workspace__slug}/projects/${view?.project_id}/views/${view?.id}`,
- title: "Views",
- },
- module: {
- icon: ,
- itemName: (module: IWorkspaceDefaultSearchResult) => (
-
- {module.project__identifier} {module.name}
-
- ),
- path: (module: IWorkspaceDefaultSearchResult) =>
- `/${module?.workspace__slug}/projects/${module?.project_id}/modules/${module?.id}`,
- title: "Modules",
- },
- page: {
- icon: ,
- itemName: (page: IWorkspacePageSearchResult) => (
-
- {page.project__identifiers?.[0]} {page.name}
-
- ),
- path: (page: IWorkspacePageSearchResult, projectId: string | undefined) => {
- let redirectProjectId = page?.project_ids?.[0];
- if (!!projectId && page?.project_ids?.includes(projectId)) redirectProjectId = projectId;
- return redirectProjectId
- ? `/${page?.workspace__slug}/projects/${redirectProjectId}/pages/${page?.id}`
- : `/${page?.workspace__slug}/wiki/${page?.id}`;
- },
- title: "Pages",
- },
- project: {
- icon: ,
- itemName: (project: IWorkspaceProjectSearchResult) => project?.name,
- path: (project: IWorkspaceProjectSearchResult) => `/${project?.workspace__slug}/projects/${project?.id}/issues/`,
- title: "Projects",
- },
- workspace: {
- icon: ,
- itemName: (workspace: IWorkspaceSearchResult) => workspace?.name,
- path: (workspace: IWorkspaceSearchResult) => `/${workspace?.slug}/`,
- title: "Workspaces",
- },
-};
diff --git a/apps/web/ce/components/command-palette/index.ts b/apps/web/ce/components/command-palette/index.ts
deleted file mode 100644
index 128f77fb15..0000000000
--- a/apps/web/ce/components/command-palette/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export * from "./actions";
-export * from "./helpers";
diff --git a/apps/web/ce/components/common/quick-actions-factory.tsx b/apps/web/ce/components/common/quick-actions-factory.tsx
deleted file mode 100644
index 9f94c8ddf1..0000000000
--- a/apps/web/ce/components/common/quick-actions-factory.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export { useQuickActionsFactory } from "@/components/common/quick-actions-factory";
diff --git a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx b/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx
deleted file mode 100644
index 09ff7737f5..0000000000
--- a/apps/web/ce/components/issues/filters/applied-filters/issue-types.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-import { observer } from "mobx-react";
-
-type Props = {
- handleRemove: (val: string) => void;
- values: string[];
- editable: boolean | undefined;
-};
-
-export const AppliedIssueTypeFilters = observer(function AppliedIssueTypeFilters(_props: Props) {
- return null;
-});
diff --git a/apps/web/ce/components/issues/filters/team-project.tsx b/apps/web/ce/components/issues/filters/team-project.tsx
deleted file mode 100644
index f838f4c948..0000000000
--- a/apps/web/ce/components/issues/filters/team-project.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-import { observer } from "mobx-react";
-
-type Props = {
- appliedFilters: string[] | null;
- handleUpdate: (val: string) => void;
- searchQuery: string;
-};
-
-export const FilterTeamProjects = observer(function FilterTeamProjects(_props: Props) {
- return null;
-});
diff --git a/apps/web/ce/components/projects/settings/features-list.tsx b/apps/web/ce/components/projects/settings/features-list.tsx
deleted file mode 100644
index f256288ae1..0000000000
--- a/apps/web/ce/components/projects/settings/features-list.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export { ProjectFeaturesList } from "@/components/project/settings/features-list";
diff --git a/apps/web/ce/components/sidebar/app-switcher.tsx b/apps/web/ce/components/sidebar/app-switcher.tsx
deleted file mode 100644
index 80cc87797f..0000000000
--- a/apps/web/ce/components/sidebar/app-switcher.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export function SidebarAppSwitcher() {
- return null;
-}
diff --git a/apps/web/ce/components/sidebar/index.ts b/apps/web/ce/components/sidebar/index.ts
deleted file mode 100644
index 4f6ed0ef8d..0000000000
--- a/apps/web/ce/components/sidebar/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-export * from "./app-switcher";
-export * from "./project-navigation-root";
diff --git a/apps/web/ce/components/sidebar/project-navigation-root.tsx b/apps/web/ce/components/sidebar/project-navigation-root.tsx
deleted file mode 100644
index fd5249c01f..0000000000
--- a/apps/web/ce/components/sidebar/project-navigation-root.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-// components
-import { ProjectNavigation } from "@/components/workspace/sidebar/project-navigation";
-
-type TProjectItemsRootProps = {
- workspaceSlug: string;
- projectId: string;
-};
-
-export function ProjectNavigationRoot(props: TProjectItemsRootProps) {
- const { workspaceSlug, projectId } = props;
- return ;
-}
diff --git a/apps/web/ce/components/workspace/app-switcher.tsx b/apps/web/ce/components/workspace/app-switcher.tsx
deleted file mode 100644
index 4c1779e375..0000000000
--- a/apps/web/ce/components/workspace/app-switcher.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Copyright (c) 2023-present Plane Software, Inc. and contributors
- * SPDX-License-Identifier: AGPL-3.0-only
- * See the LICENSE file for details.
- */
-
-import React from "react";
-
-export function WorkspaceAppSwitcher() {
- return <>>;
-}
diff --git a/apps/web/core/components/common/quick-actions-helper.tsx b/apps/web/core/components/common/quick-actions-helper.tsx
index 4b9af1dadd..a79b440248 100644
--- a/apps/web/core/components/common/quick-actions-helper.tsx
+++ b/apps/web/core/components/common/quick-actions-helper.tsx
@@ -8,7 +8,7 @@
import type { ICycle, IModule, IProjectView, IWorkspaceView } from "@plane/types";
import type { TContextMenuItem } from "@plane/ui";
// hooks
-import { useQuickActionsFactory } from "@/plane-web/components/common/quick-actions-factory";
+import { useQuickActionsFactory } from "@/components/common/quick-actions-factory";
// Types
interface UseCycleMenuItemsProps {
diff --git a/apps/web/core/components/project/project-feature-update.tsx b/apps/web/core/components/project/project-feature-update.tsx
index b2eac27f0d..931f36b347 100644
--- a/apps/web/core/components/project/project-feature-update.tsx
+++ b/apps/web/core/components/project/project-feature-update.tsx
@@ -15,7 +15,7 @@ import { Row } from "@plane/ui";
// hooks
import { useProject } from "@/hooks/store/use-project";
// plane web imports
-import { ProjectFeaturesList } from "@/plane-web/components/projects/settings/features-list";
+import { ProjectFeaturesList } from "@/components/project/settings/features-list";
type Props = {
workspaceSlug: string;
@@ -45,6 +45,7 @@ export const ProjectFeatureUpdate = observer(function ProjectFeatureUpdate(props
{t("created").toLowerCase()}.
+ {/* eslint-disable-next-line jsx-a11y/tabindex-no-positive */}
@@ -52,6 +53,7 @@ export const ProjectFeatureUpdate = observer(function ProjectFeatureUpdate(props
href={`/${workspaceSlug}/projects/${projectId}/issues`}
onClick={onClose}
className={getButtonStyling("primary", "lg")}
+ // oxlint-disable-next-line jsx-a11y/tabindex-no-positive
tabIndex={2}
>
{t("open_project")}
diff --git a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
index f1256a4e44..cff27b5469 100644
--- a/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
+++ b/apps/web/core/components/workspace/sidebar/projects-list-item.tsx
@@ -40,9 +40,9 @@ import { useProjectNavigationPreferences } from "@/hooks/use-navigation-preferen
import { usePlatformOS } from "@/hooks/use-platform-os";
// plane web imports
import { useNavigationItems } from "@/plane-web/components/navigations";
-import { ProjectNavigationRoot } from "@/plane-web/components/sidebar";
// local imports
import { HIGHLIGHT_CLASS, highlightIssueOnDrop } from "../../issues/issue-layouts/utils";
+import { ProjectNavigation } from "./project-navigation";
type Props = {
projectId: string;
@@ -177,6 +177,7 @@ export const SidebarProjectsListItem = observer(function SidebarProjectsListItem
element,
canDrop: ({ source }) =>
!disableDrop && source?.data?.id !== projectId && source?.data?.dragInstanceId === "PROJECTS",
+ // oxlint-disable-next-line no-shadow
getData: ({ input, element }) => {
const data = { id: projectId };
@@ -222,6 +223,7 @@ export const SidebarProjectsListItem = observer(function SidebarProjectsListItem
},
})
);
+ // oxlint-disable-next-line eslint-plugin-react-hooks/exhaustive-deps
}, [projectId, isLastChild, projectListType, handleOnProjectDrop]);
useEffect(() => {
@@ -479,7 +481,7 @@ export const SidebarProjectsListItem = observer(function SidebarProjectsListItem
{isProjectListOpen && (
-
+
)}