mirror of
https://github.com/gosticks/plane.git
synced 2025-10-16 12:45:33 +00:00
fix: CI to include lint and format along with build (#7482)
* fix(lint): get ci passing again * chore(ci): run lint before build * chore(ci): exclude web app from build check for now The web app takes too long and causes CI to timeout. Once we improve we will reintroduce. * fix: formating of files * fix: adding format to ci --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
b194089fec
commit
d8f58d28ed
@ -4,7 +4,14 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["preview"]
|
branches: ["preview"]
|
||||||
types: ["opened", "synchronize", "ready_for_review", "review_requested", "reopened"]
|
types:
|
||||||
|
[
|
||||||
|
"opened",
|
||||||
|
"synchronize",
|
||||||
|
"ready_for_review",
|
||||||
|
"review_requested",
|
||||||
|
"reopened",
|
||||||
|
]
|
||||||
paths:
|
paths:
|
||||||
- "**.tsx?"
|
- "**.tsx?"
|
||||||
- "**.jsx?"
|
- "**.jsx?"
|
||||||
@ -34,10 +41,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: Build web apps
|
|
||||||
run: yarn run build
|
|
||||||
|
|
||||||
- name: Lint web apps
|
- name: Lint web apps
|
||||||
run: yarn run ci:lint
|
run: yarn check:lint
|
||||||
|
|
||||||
|
- name: Check format
|
||||||
|
run: yarn check:format
|
||||||
|
|
||||||
|
- name: Build apps
|
||||||
|
run: yarn build
|
||||||
|
|||||||
@ -2,5 +2,5 @@
|
|||||||
.vercel
|
.vercel
|
||||||
.tubro
|
.tubro
|
||||||
out/
|
out/
|
||||||
dis/
|
dist/
|
||||||
build/
|
build/
|
||||||
|
|||||||
@ -2,5 +2,6 @@
|
|||||||
.vercel
|
.vercel
|
||||||
.tubro
|
.tubro
|
||||||
out/
|
out/
|
||||||
dis/
|
dist/
|
||||||
build/
|
build/
|
||||||
|
node_modules/
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { Breadcrumbs, Header } from "@plane/ui";
|
|||||||
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
||||||
import { IssueDetailQuickActions } from "@/components/issues/issue-detail/issue-detail-quick-actions";
|
import { IssueDetailQuickActions } from "@/components/issues/issue-detail/issue-detail-quick-actions";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { CommonProjectBreadcrumbs } from "@/plane-web/components/breadcrumbs/common";
|
import { CommonProjectBreadcrumbs } from "@/plane-web/components/breadcrumbs/common";
|
||||||
|
|||||||
@ -14,8 +14,8 @@ import { EmptyState } from "@/components/common/empty-state";
|
|||||||
import { PageHead } from "@/components/core/page-title";
|
import { PageHead } from "@/components/core/page-title";
|
||||||
import { IssueDetailRoot } from "@/components/issues/issue-detail";
|
import { IssueDetailRoot } from "@/components/issues/issue-detail";
|
||||||
// hooks
|
// hooks
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
// assets
|
// assets
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
|
|||||||
@ -14,8 +14,8 @@ import { CountChip } from "@/components/common/count-chip";
|
|||||||
import { CreateUpdateIssueModal } from "@/components/issues/issue-modal/modal";
|
import { CreateUpdateIssueModal } from "@/components/issues/issue-modal/modal";
|
||||||
|
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user"
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useWorkspaceDraftIssues } from "@/hooks/store/workspace-draft";
|
import { useWorkspaceDraftIssues } from "@/hooks/store/workspace-draft";
|
||||||
|
|
||||||
export const WorkspaceDraftHeader = observer(() => {
|
export const WorkspaceDraftHeader = observer(() => {
|
||||||
|
|||||||
@ -13,8 +13,8 @@ import { copyUrlToClipboard, orderJoinedProjects } from "@plane/utils";
|
|||||||
import { CreateProjectModal } from "@/components/project/create-project-modal";
|
import { CreateProjectModal } from "@/components/project/create-project-modal";
|
||||||
import { SidebarProjectsListItem } from "@/components/workspace/sidebar/projects-list-item";
|
import { SidebarProjectsListItem } from "@/components/workspace/sidebar/projects-list-item";
|
||||||
// hooks
|
// hooks
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { TProject } from "@/plane-web/types";
|
import { TProject } from "@/plane-web/types";
|
||||||
import { ExtendedSidebarWrapper } from "./extended-sidebar-wrapper";
|
import { ExtendedSidebarWrapper } from "./extended-sidebar-wrapper";
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { useParams } from "next/navigation";
|
|||||||
import { WORKSPACE_SIDEBAR_DYNAMIC_NAVIGATION_ITEMS_LINKS } from "@plane/constants";
|
import { WORKSPACE_SIDEBAR_DYNAMIC_NAVIGATION_ITEMS_LINKS } from "@plane/constants";
|
||||||
import { EUserWorkspaceRoles } from "@plane/types";
|
import { EUserWorkspaceRoles } from "@plane/types";
|
||||||
// hooks
|
// hooks
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
// plane-web imports
|
// plane-web imports
|
||||||
import { ExtendedSidebarItem } from "@/plane-web/components/workspace/sidebar/extended-sidebar-item";
|
import { ExtendedSidebarItem } from "@/plane-web/components/workspace/sidebar/extended-sidebar-item";
|
||||||
|
|||||||
@ -15,7 +15,7 @@ import { cn } from "@plane/utils";
|
|||||||
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
||||||
import { ProfileIssuesFilter } from "@/components/profile/profile-issues-filter";
|
import { ProfileIssuesFilter } from "@/components/profile/profile-issues-filter";
|
||||||
// hooks
|
// hooks
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
type TUserProfileHeader = {
|
type TUserProfileHeader = {
|
||||||
|
|||||||
@ -25,7 +25,7 @@ import { isIssueFilterActive } from "@plane/utils";
|
|||||||
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
||||||
import { IssueLayoutIcon } from "@/components/issues/issue-layouts/layout-icon";
|
import { IssueLayoutIcon } from "@/components/issues/issue-layouts/layout-icon";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useLabel } from "@/hooks/store/use-label";
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
|
|
||||||
export const ProfileIssuesMobileHeader = observer(() => {
|
export const ProfileIssuesMobileHeader = observer(() => {
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { ArchiveIcon, Breadcrumbs, Tooltip, Header, ContrastIcon, DiceIcon, Laye
|
|||||||
// components
|
// components
|
||||||
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { PageHead } from "@/components/core/page-title";
|
|||||||
import { IssueDetailRoot } from "@/components/issues/issue-detail";
|
import { IssueDetailRoot } from "@/components/issues/issue-detail";
|
||||||
// constants
|
// constants
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
|
|
||||||
const ArchivedIssueDetailsPage = observer(() => {
|
const ArchivedIssueDetailsPage = observer(() => {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import useCyclesDetails from "@/components/cycles/active-cycle/use-cycles-detail
|
|||||||
import { CycleDetailsSidebar } from "@/components/cycles/analytics-sidebar";
|
import { CycleDetailsSidebar } from "@/components/cycles/analytics-sidebar";
|
||||||
import { CycleLayoutRoot } from "@/components/issues/issue-layouts/roots/cycle-layout-root";
|
import { CycleLayoutRoot } from "@/components/issues/issue-layouts/roots/cycle-layout-root";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import useLocalStorage from "@/hooks/use-local-storage";
|
import useLocalStorage from "@/hooks/use-local-storage";
|
||||||
|
|||||||
@ -10,8 +10,8 @@ import { Breadcrumbs, Button, Header } from "@plane/ui";
|
|||||||
// components
|
// components
|
||||||
import { CyclesViewHeader } from "@/components/cycles/cycles-view-header";
|
import { CyclesViewHeader } from "@/components/cycles/cycles-view-header";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// plane web
|
// plane web
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { GanttChartSquare, LayoutGrid, List, type LucideIcon } from "lucide-reac
|
|||||||
import { TCycleLayoutOptions } from "@plane/types";
|
import { TCycleLayoutOptions } from "@plane/types";
|
||||||
import { CustomMenu } from "@plane/ui";
|
import { CustomMenu } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCycleFilter } from "@/hooks/store/use-cycle-filter"
|
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
|
|
||||||
const CYCLE_VIEW_LAYOUTS: {
|
const CYCLE_VIEW_LAYOUTS: {
|
||||||
|
|||||||
@ -28,10 +28,10 @@ import {
|
|||||||
} from "@/components/issues/issue-layouts/filters";
|
} from "@/components/issues/issue-layouts/filters";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// plane web
|
// plane web
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { PageHead } from "@/components/core/page-title";
|
|||||||
import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-state-root";
|
import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-state-root";
|
||||||
import { InboxIssueRoot } from "@/components/inbox";
|
import { InboxIssueRoot } from "@/components/inbox";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
||||||
|
|||||||
@ -24,10 +24,10 @@ import {
|
|||||||
MobileLayoutSelection,
|
MobileLayoutSelection,
|
||||||
} from "@/components/issues/issue-layouts/filters";
|
} from "@/components/issues/issue-layouts/filters";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
|
|
||||||
export const ProjectIssuesMobileHeader = observer(() => {
|
export const ProjectIssuesMobileHeader = observer(() => {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { ModuleLayoutRoot } from "@/components/issues/issue-layouts/roots/module
|
|||||||
import { ModuleAnalyticsSidebar } from "@/components/modules";
|
import { ModuleAnalyticsSidebar } from "@/components/modules";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useModule } from "@/hooks/store/use-module"
|
import { useModule } from "@/hooks/store/use-module";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import useLocalStorage from "@/hooks/use-local-storage";
|
import useLocalStorage from "@/hooks/use-local-storage";
|
||||||
|
|||||||
@ -22,11 +22,11 @@ import { WorkItemsModal } from "@/components/analytics/work-items/modal";
|
|||||||
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
||||||
import { IssueLayoutIcon } from "@/components/issues/issue-layouts/layout-icon";
|
import { IssueLayoutIcon } from "@/components/issues/issue-layouts/layout-icon";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useModule } from "@/hooks/store/use-module"
|
import { useModule } from "@/hooks/store/use-module";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
|
|
||||||
export const ModuleIssuesMobileHeader = observer(() => {
|
export const ModuleIssuesMobileHeader = observer(() => {
|
||||||
|
|||||||
@ -10,8 +10,8 @@ import { Breadcrumbs, Button, Header } from "@plane/ui";
|
|||||||
// components
|
// components
|
||||||
import { ModuleViewHeader } from "@/components/modules";
|
import { ModuleViewHeader } from "@/components/modules";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// plane web
|
// plane web
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { MODULE_VIEW_LAYOUTS } from "@plane/constants";
|
|||||||
import { useTranslation } from "@plane/i18n";
|
import { useTranslation } from "@plane/i18n";
|
||||||
import { CustomMenu, Row } from "@plane/ui";
|
import { CustomMenu, Row } from "@plane/ui";
|
||||||
import { ModuleLayoutIcon } from "@/components/modules";
|
import { ModuleLayoutIcon } from "@/components/modules";
|
||||||
import { useModuleFilter } from "@/hooks/store/use-module-filter"
|
import { useModuleFilter } from "@/hooks/store/use-module-filter";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
|
|
||||||
export const ModulesListMobileHeader = observer(() => {
|
export const ModulesListMobileHeader = observer(() => {
|
||||||
|
|||||||
@ -14,8 +14,8 @@ import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-stat
|
|||||||
import { ModuleAppliedFiltersList, ModulesListView } from "@/components/modules";
|
import { ModuleAppliedFiltersList, ModulesListView } from "@/components/modules";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useModuleFilter } from "@/hooks/store/use-module-filter"
|
import { useModuleFilter } from "@/hooks/store/use-module-filter";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
||||||
|
|||||||
@ -18,7 +18,7 @@ import { IssuePeekOverview } from "@/components/issues/peek-overview";
|
|||||||
import { PageRoot, TPageRootConfig, TPageRootHandlers } from "@/components/pages/editor/page-root";
|
import { PageRoot, TPageRootConfig, TPageRootHandlers } from "@/components/pages/editor/page-root";
|
||||||
// hooks
|
// hooks
|
||||||
import { useEditorConfig } from "@/hooks/editor";
|
import { useEditorConfig } from "@/hooks/editor";
|
||||||
import { useEditorAsset } from "@/hooks/store/use-editor-asset"
|
import { useEditorAsset } from "@/hooks/store/use-editor-asset";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
// plane web hooks
|
// plane web hooks
|
||||||
import { EPageStoreType, usePage, usePageStore } from "@/plane-web/hooks/store";
|
import { EPageStoreType, usePage, usePageStore } from "@/plane-web/hooks/store";
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-stat
|
|||||||
import { PagesListRoot } from "@/components/pages/list/root";
|
import { PagesListRoot } from "@/components/pages/list/root";
|
||||||
import { PagesListView } from "@/components/pages/pages-list-view";
|
import { PagesListView } from "@/components/pages/pages-list-view";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import { EmptyState } from "@/components/common/empty-state";
|
|||||||
import { PageHead } from "@/components/core/page-title";
|
import { PageHead } from "@/components/core/page-title";
|
||||||
import { ProjectViewLayoutRoot } from "@/components/issues/issue-layouts/roots/project-view-layout-root";
|
import { ProjectViewLayoutRoot } from "@/components/issues/issue-layouts/roots/project-view-layout-root";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectView } from "@/hooks/store/use-project-view";
|
import { useProjectView } from "@/hooks/store/use-project-view";
|
||||||
// assets
|
// assets
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
|
|||||||
@ -8,7 +8,7 @@ import { Breadcrumbs, Button, Header } from "@plane/ui";
|
|||||||
// components
|
// components
|
||||||
import { ViewListHeader } from "@/components/views/view-list-header";
|
import { ViewListHeader } from "@/components/views/view-list-header";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
// plane web
|
// plane web
|
||||||
import { CommonProjectBreadcrumbs } from "@/plane-web/components/breadcrumbs/common";
|
import { CommonProjectBreadcrumbs } from "@/plane-web/components/breadcrumbs/common";
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
|||||||
import { ViewFiltersSelection } from "@/components/views/filters/filter-selection";
|
import { ViewFiltersSelection } from "@/components/views/filters/filter-selection";
|
||||||
import { ViewOrderByDropdown } from "@/components/views/filters/order-by";
|
import { ViewOrderByDropdown } from "@/components/views/filters/order-by";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectView } from "@/hooks/store/use-project-view";
|
import { useProjectView } from "@/hooks/store/use-project-view";
|
||||||
|
|
||||||
export const ViewMobileHeader = observer(() => {
|
export const ViewMobileHeader = observer(() => {
|
||||||
|
|||||||
@ -16,8 +16,8 @@ import { ProjectViewsList } from "@/components/views/views-list";
|
|||||||
// constants
|
// constants
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectView } from "@/hooks/store/use-project-view"
|
import { useProjectView } from "@/hooks/store/use-project-view";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { PageHead } from "@/components/core/page-title";
|
|||||||
import { EstimateRoot } from "@/components/estimates";
|
import { EstimateRoot } from "@/components/estimates";
|
||||||
// hooks
|
// hooks
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
const EstimatesSettingsPage = observer(() => {
|
const EstimatesSettingsPage = observer(() => {
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { PageHead } from "@/components/core/page-title";
|
|||||||
import { ProjectFeaturesList } from "@/components/project/settings/features-list";
|
import { ProjectFeaturesList } from "@/components/project/settings/features-list";
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
const FeaturesSettingsPage = observer(() => {
|
const FeaturesSettingsPage = observer(() => {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { PageHead } from "@/components/core/page-title";
|
|||||||
import { ProjectSettingsLabelList } from "@/components/labels";
|
import { ProjectSettingsLabelList } from "@/components/labels";
|
||||||
// hooks
|
// hooks
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
const LabelsSettingsPage = observer(() => {
|
const LabelsSettingsPage = observer(() => {
|
||||||
|
|||||||
@ -13,7 +13,7 @@ import { ProjectMemberList } from "@/components/project/member-list";
|
|||||||
import { ProjectSettingsMemberDefaults } from "@/components/project/project-settings-member-defaults";
|
import { ProjectSettingsMemberDefaults } from "@/components/project/project-settings-member-defaults";
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
import { SettingsHeading } from "@/components/settings/heading";
|
import { SettingsHeading } from "@/components/settings/heading";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
// plane web imports
|
// plane web imports
|
||||||
import { ProjectTeamspaceList } from "@/plane-web/components/projects/teamspaces";
|
import { ProjectTeamspaceList } from "@/plane-web/components/projects/teamspaces";
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import { ArchiveProjectSelection } from "@/components/project/settings/archive-p
|
|||||||
import { DeleteProjectSection } from "@/components/project/settings/delete-project-section";
|
import { DeleteProjectSection } from "@/components/project/settings/delete-project-section";
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
const ProjectSettingsPage = observer(() => {
|
const ProjectSettingsPage = observer(() => {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { ProjectStateRoot } from "@/components/project-states";
|
|||||||
// hook
|
// hook
|
||||||
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
import { SettingsContentWrapper } from "@/components/settings/content-wrapper";
|
||||||
import { SettingsHeading } from "@/components/settings/heading";
|
import { SettingsHeading } from "@/components/settings/heading";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
const StatesSettingsPage = observer(() => {
|
const StatesSettingsPage = observer(() => {
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
export * from "./team-issues";
|
export * from "./team-issues";
|
||||||
export * from "./team-view-issues";
|
export * from "./team-view-issues";
|
||||||
|
|||||||
@ -19,4 +19,4 @@ export const useTeamProjectWorkItemsActions: () => IssueActions = () => ({
|
|||||||
fetchNextIssues: () => Promise.resolve(undefined),
|
fetchNextIssues: () => Promise.resolve(undefined),
|
||||||
removeIssue: () => Promise.resolve(undefined),
|
removeIssue: () => Promise.resolve(undefined),
|
||||||
updateFilters: () => Promise.resolve(undefined),
|
updateFilters: () => Promise.resolve(undefined),
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
export * from "./filter.store";
|
export * from "./filter.store";
|
||||||
export * from "./issue.store";
|
export * from "./issue.store";
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import useSWR from "swr";
|
|||||||
import { useTranslation } from "@plane/i18n";
|
import { useTranslation } from "@plane/i18n";
|
||||||
import { Loader } from "@plane/ui";
|
import { Loader } from "@plane/ui";
|
||||||
// plane web hooks
|
// plane web hooks
|
||||||
import { useAnalytics } from "@/hooks/store/use-analytics"
|
import { useAnalytics } from "@/hooks/store/use-analytics";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
// plane web components
|
// plane web components
|
||||||
import AnalyticsSectionWrapper from "../analytics-section-wrapper";
|
import AnalyticsSectionWrapper from "../analytics-section-wrapper";
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { ClipboardList } from "lucide-react";
|
|||||||
// plane imports
|
// plane imports
|
||||||
import { Button } from "@plane/ui";
|
import { Button } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
// assets
|
// assets
|
||||||
import Unauthorized from "@/public/auth/unauthorized.svg";
|
import Unauthorized from "@/public/auth/unauthorized.svg";
|
||||||
|
|||||||
@ -21,7 +21,7 @@ import { SelectMonthModal } from "@/components/automation";
|
|||||||
// constants
|
// constants
|
||||||
// hooks
|
// hooks
|
||||||
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -23,8 +23,8 @@ import { SelectMonthModal } from "@/components/automation";
|
|||||||
// constants
|
// constants
|
||||||
// hooks
|
// hooks
|
||||||
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state"
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { FileText, GithubIcon, MessageSquare, Rocket } from "lucide-react";
|
|||||||
// ui
|
// ui
|
||||||
import { DiscordIcon } from "@plane/ui";
|
import { DiscordIcon } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useTransient } from "@/hooks/store/use-transient";
|
import { useTransient } from "@/hooks/store/use-transient";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -10,8 +10,8 @@ import { DoubleCircleIcon, TOAST_TYPE, setToast } from "@plane/ui";
|
|||||||
// helpers
|
// helpers
|
||||||
import { copyTextToClipboard } from "@plane/utils";
|
import { copyTextToClipboard } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { Avatar } from "@plane/ui";
|
|||||||
// helpers
|
// helpers
|
||||||
import { getFileURL } from "@plane/utils";
|
import { getFileURL } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
|
|
||||||
type Props = { closePalette: () => void; issue: TIssue };
|
type Props = { closePalette: () => void; issue: TIssue };
|
||||||
|
|||||||
@ -13,9 +13,9 @@ import { CommandModal, ShortcutsModal } from "@/components/command-palette";
|
|||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { captureClick } from "@/helpers/event-tracker.helper";
|
import { captureClick } from "@/helpers/event-tracker.helper";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user"
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// plane web components
|
// plane web components
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import Link from "next/link";
|
|||||||
// types
|
// types
|
||||||
import { TWorkspaceBaseActivity } from "@plane/types";
|
import { TWorkspaceBaseActivity } from "@plane/types";
|
||||||
// store hooks
|
// store hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
|
|
||||||
type TUser = {
|
type TUser = {
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { getFileURL } from "@plane/utils";
|
|||||||
import { FilterHeader, FilterOption } from "@/components/issues/issue-layouts/filters";
|
import { FilterHeader, FilterOption } from "@/components/issues/issue-layouts/filters";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import useSWR from "swr";
|
|||||||
import { EIssueFilterType } from "@plane/constants";
|
import { EIssueFilterType } from "@plane/constants";
|
||||||
import { EIssuesStoreType, IIssueFilterOptions } from "@plane/types";
|
import { EIssuesStoreType, IIssueFilterOptions } from "@plane/types";
|
||||||
import { CYCLE_ISSUES_WITH_PARAMS } from "@/constants/fetch-keys";
|
import { CYCLE_ISSUES_WITH_PARAMS } from "@/constants/fetch-keys";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useIssues } from "@/hooks/store/use-issues";
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
|
|
||||||
interface IActiveCycleDetails {
|
interface IActiveCycleDetails {
|
||||||
|
|||||||
@ -13,7 +13,7 @@ import { useTranslation } from "@plane/i18n";
|
|||||||
import { EIssuesStoreType, ICycle, IIssueFilterOptions, TCyclePlotType, TProgressSnapshot } from "@plane/types";
|
import { EIssuesStoreType, ICycle, IIssueFilterOptions, TCyclePlotType, TProgressSnapshot } from "@plane/types";
|
||||||
import { getDate } from "@plane/utils";
|
import { getDate } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle";
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
// plane web components
|
// plane web components
|
||||||
import { SidebarChartRoot } from "@/plane-web/components/cycles";
|
import { SidebarChartRoot } from "@/plane-web/components/cycles";
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import { Avatar, AvatarGroup, TextArea } from "@plane/ui";
|
|||||||
// helpers
|
// helpers
|
||||||
import { getFileURL } from "@plane/utils";
|
import { getFileURL } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectEstimates } from "@/hooks/store/estimates";
|
import { useProjectEstimates } from "@/hooks/store/estimates";
|
||||||
// plane web constants
|
// plane web constants
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ import { getDate, renderFormattedPayloadDate } from "@plane/utils";
|
|||||||
import { DateRangeDropdown } from "@/components/dropdowns/date-range";
|
import { DateRangeDropdown } from "@/components/dropdowns/date-range";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useTimeZoneConverter } from "@/hooks/use-timezone-converter";
|
import { useTimeZoneConverter } from "@/hooks/use-timezone-converter";
|
||||||
// services
|
// services
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { calculateTotalFilters } from "@plane/utils";
|
|||||||
import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-state-root";
|
import { DetailedEmptyState } from "@/components/empty-state/detailed-empty-state-root";
|
||||||
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
||||||
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";
|
||||||
// local imports
|
// local imports
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { CyclesList } from "@/components/cycles/list";
|
|||||||
// ui
|
// ui
|
||||||
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
||||||
// assets
|
// assets
|
||||||
import AllFiltersImage from "@/public/empty-state/cycle/all-filters.svg";
|
import AllFiltersImage from "@/public/empty-state/cycle/all-filters.svg";
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { CyclesList } from "@/components/cycles/list";
|
|||||||
// ui
|
// ui
|
||||||
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
import { CycleModuleListLayoutLoader } from "@/components/ui/loader/cycle-module-list-loader";
|
||||||
// hooks
|
// hooks
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
import { useCycleFilter } from "@/hooks/store/use-cycle-filter";
|
||||||
// assets
|
// assets
|
||||||
import AllFiltersImage from "@/public/empty-state/cycle/all-filters.svg";
|
import AllFiltersImage from "@/public/empty-state/cycle/all-filters.svg";
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { EEstimateSystem, TCycleEstimateType } from "@plane/types";
|
import { EEstimateSystem, TCycleEstimateType } from "@plane/types";
|
||||||
import { CustomSelect } from "@plane/ui";
|
import { CustomSelect } from "@plane/ui";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useProjectEstimates } from "@/hooks/store/estimates";
|
import { useProjectEstimates } from "@/hooks/store/estimates";
|
||||||
// local imports
|
// local imports
|
||||||
import { cycleEstimateOptions } from "../analytics-sidebar/issue-progress";
|
import { cycleEstimateOptions } from "../analytics-sidebar/issue-progress";
|
||||||
|
|||||||
@ -24,8 +24,8 @@ import { ButtonAvatars } from "@/components/dropdowns/member/avatar";
|
|||||||
import { MergedDateDisplay } from "@/components/dropdowns/merged-date";
|
import { MergedDateDisplay } from "@/components/dropdowns/merged-date";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import type { CycleDateCheckData, ICycle, TCycleTabOptions } from "@plane/types"
|
|||||||
import { EModalPosition, EModalWidth, ModalCore, TOAST_TYPE, setToast } from "@plane/ui";
|
import { EModalPosition, EModalWidth, ModalCore, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import useKeypress from "@/hooks/use-keypress";
|
import useKeypress from "@/hooks/use-keypress";
|
||||||
import useLocalStorage from "@/hooks/use-local-storage";
|
import useLocalStorage from "@/hooks/use-local-storage";
|
||||||
|
|||||||
@ -18,7 +18,7 @@ import { copyUrlToClipboard, cn } from "@plane/utils";
|
|||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { captureClick, captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureClick, captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useEndCycle, EndCycleModal } from "@/plane-web/components/cycles";
|
import { useEndCycle, EndCycleModal } from "@/plane-web/components/cycles";
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { EIssuesStoreType } from "@plane/types";
|
|||||||
// ui
|
// ui
|
||||||
//icons
|
//icons
|
||||||
import { ContrastIcon, TransferIcon, TOAST_TYPE, setToast } from "@plane/ui";
|
import { ContrastIcon, TransferIcon, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
import { useCycle } from "@/hooks/store/use-cycle"
|
import { useCycle } from "@/hooks/store/use-cycle";
|
||||||
import { useIssues } from "@/hooks/store/use-issues";
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
//icons
|
//icons
|
||||||
// constants
|
// constants
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { cn, getFileURL } from "@plane/utils";
|
|||||||
// constants
|
// constants
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { useTranslation } from "@plane/i18n";
|
|||||||
import { TOAST_TYPE, ToggleSwitch, setToast } from "@plane/ui";
|
import { TOAST_TYPE, ToggleSwitch, setToast } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
import { captureElementAndEvent } from "@/helpers/event-tracker.helper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectEstimates } from "@/hooks/store/estimates";
|
import { useProjectEstimates } from "@/hooks/store/estimates";
|
||||||
// i18n
|
// i18n
|
||||||
type TEstimateDisableSwitch = {
|
type TEstimateDisableSwitch = {
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import useSWR from "swr";
|
|||||||
// plane imports
|
// plane imports
|
||||||
import { useTranslation } from "@plane/i18n";
|
import { useTranslation } from "@plane/i18n";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectEstimates } from "@/hooks/store/estimates";
|
import { useProjectEstimates } from "@/hooks/store/estimates";
|
||||||
// plane web components
|
// plane web components
|
||||||
import { UpdateEstimateModal } from "@/plane-web/components/estimates";
|
import { UpdateEstimateModal } from "@/plane-web/components/estimates";
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import {
|
|||||||
import { useTranslation } from "@plane/i18n";
|
import { useTranslation } from "@plane/i18n";
|
||||||
import { Button, CustomSearchSelect, CustomSelect, TOAST_TYPE, setToast } from "@plane/ui";
|
import { Button, CustomSearchSelect, CustomSelect, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
import { ProjectExportService } from "@/services/project/project-export.service";
|
import { ProjectExportService } from "@/services/project/project-export.service";
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { IUser, IImporterService } from "@plane/types";
|
|||||||
// ui
|
// ui
|
||||||
import { Button, CustomSearchSelect, TOAST_TYPE, setToast } from "@plane/ui";
|
import { Button, CustomSearchSelect, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// services
|
// services
|
||||||
|
|||||||
@ -12,9 +12,9 @@ import { cn, getFileURL } from "@plane/utils";
|
|||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { captureClick } from "@/helpers/event-tracker.helper";
|
import { captureClick } from "@/helpers/event-tracker.helper";
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user"
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
// plane web constants
|
// plane web constants
|
||||||
|
|
||||||
|
|||||||
@ -25,8 +25,8 @@ import { copyUrlToClipboard, findHowManyDaysLeft, generateWorkItemLink } from "@
|
|||||||
import { CreateUpdateIssueModal } from "@/components/issues/issue-modal/modal";
|
import { CreateUpdateIssueModal } from "@/components/issues/issue-modal/modal";
|
||||||
import { NameDescriptionUpdateStatus } from "@/components/issues/issue-update-status";
|
import { NameDescriptionUpdateStatus } from "@/components/issues/issue-update-status";
|
||||||
// hooks
|
// hooks
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user"
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// store
|
// store
|
||||||
|
|||||||
@ -19,10 +19,10 @@ import { IssueTitleInput } from "@/components/issues/title-input";
|
|||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
import useReloadConfirmations from "@/hooks/use-reload-confirmation";
|
import useReloadConfirmations from "@/hooks/use-reload-confirmation";
|
||||||
// store types
|
// store types
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { TNameDescriptionLoader } from "@plane/types";
|
|||||||
// components
|
// components
|
||||||
import { ContentWrapper } from "@plane/ui";
|
import { ContentWrapper } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// local imports
|
// local imports
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { observer } from "mobx-react";
|
|||||||
import { X } from "lucide-react";
|
import { X } from "lucide-react";
|
||||||
// hooks
|
// hooks
|
||||||
import { Tag } from "@plane/ui";
|
import { Tag } from "@plane/ui";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
|
|
||||||
const LabelIcons = ({ color }: { color: string }) => (
|
const LabelIcons = ({ color }: { color: string }) => (
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { Avatar, Tag } from "@plane/ui";
|
|||||||
// helpers
|
// helpers
|
||||||
import { getFileURL } from "@plane/utils";
|
import { getFileURL } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
|
|
||||||
type InboxIssueAppliedFiltersMember = {
|
type InboxIssueAppliedFiltersMember = {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { X } from "lucide-react";
|
|||||||
import { EIconSize } from "@plane/constants";
|
import { EIconSize } from "@plane/constants";
|
||||||
import { StateGroupIcon, Tag } from "@plane/ui";
|
import { StateGroupIcon, Tag } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
|
|
||||||
export const InboxIssueAppliedFiltersState: FC = observer(() => {
|
export const InboxIssueAppliedFiltersState: FC = observer(() => {
|
||||||
|
|||||||
@ -2,8 +2,8 @@ import { FC, useState } from "react";
|
|||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { Search, X } from "lucide-react";
|
import { Search, X } from "lucide-react";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// local imports
|
// local imports
|
||||||
|
|||||||
@ -12,8 +12,8 @@ import { getFileURL } from "@plane/utils";
|
|||||||
import { FilterHeader, FilterOption } from "@/components/issues/issue-layouts/filters";
|
import { FilterHeader, FilterOption } from "@/components/issues/issue-layouts/filters";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@ -12,8 +12,8 @@ import { renderFormattedPayloadDate, getTabIndex } from "@plane/utils";
|
|||||||
// helpers
|
// helpers
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox"
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import useKeypress from "@/hooks/use-keypress";
|
import useKeypress from "@/hooks/use-keypress";
|
||||||
|
|||||||
@ -12,7 +12,7 @@ import { getDescriptionPlaceholderI18n, getTabIndex } from "@plane/utils";
|
|||||||
// components
|
// components
|
||||||
import { RichTextEditor } from "@/components/editor/rich-text/editor";
|
import { RichTextEditor } from "@/components/editor/rich-text/editor";
|
||||||
// hooks
|
// hooks
|
||||||
import { useEditorAsset } from "@/hooks/store/use-editor-asset"
|
import { useEditorAsset } from "@/hooks/store/use-editor-asset";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// services
|
// services
|
||||||
|
|||||||
@ -10,8 +10,8 @@ import { cn, renderFormattedDate, getFileURL } from "@plane/utils";
|
|||||||
// components
|
// components
|
||||||
import { ButtonAvatars } from "@/components/dropdowns/member/avatar";
|
import { ButtonAvatars } from "@/components/dropdowns/member/avatar";
|
||||||
// hooks
|
// hooks
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// plane web imports
|
// plane web imports
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { cn } from "@plane/utils";
|
|||||||
import { SimpleEmptyState } from "@/components/empty-state/simple-empty-state-root";
|
import { SimpleEmptyState } from "@/components/empty-state/simple-empty-state-root";
|
||||||
import { InboxSidebarLoader } from "@/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader";
|
import { InboxSidebarLoader } from "@/components/ui/loader/layouts/project-inbox/inbox-sidebar-loader";
|
||||||
// hooks
|
// hooks
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { useIntersectionObserver } from "@/hooks/use-intersection-observer";
|
import { useIntersectionObserver } from "@/hooks/use-intersection-observer";
|
||||||
|
|||||||
@ -13,7 +13,7 @@ import { CustomSelect, Input } from "@plane/ui";
|
|||||||
// helpers
|
// helpers
|
||||||
import { checkEmailValidity } from "@plane/utils";
|
import { checkEmailValidity } from "@plane/utils";
|
||||||
import { captureClick } from "@/helpers/event-tracker.helper";
|
import { captureClick } from "@/helpers/event-tracker.helper";
|
||||||
import { useCommandPalette } from "@/hooks/store/use-command-palette"
|
import { useCommandPalette } from "@/hooks/store/use-command-palette";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
// types
|
// types
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ import { Button, Loader, Tooltip, TOAST_TYPE, setToast } from "@plane/ui";
|
|||||||
// constants
|
// constants
|
||||||
import { WORKSPACE_INTEGRATIONS } from "@/constants/fetch-keys";
|
import { WORKSPACE_INTEGRATIONS } from "@/constants/fetch-keys";
|
||||||
// hooks
|
// hooks
|
||||||
import { useInstance } from "@/hooks/store/use-instance"
|
import { useInstance } from "@/hooks/store/use-instance";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import useIntegrationPopup from "@/hooks/use-integration-popup";
|
import useIntegrationPopup from "@/hooks/use-integration-popup";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
|
|||||||
@ -18,10 +18,10 @@ import { ArchiveTabsList } from "@/components/archives";
|
|||||||
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown } from "@/components/issues/issue-layouts/filters";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
|
|
||||||
export const ArchivedIssuesHeader: FC = observer(() => {
|
export const ArchivedIssuesHeader: FC = observer(() => {
|
||||||
|
|||||||
@ -21,7 +21,7 @@ import { getFileIcon } from "@/components/icons";
|
|||||||
import { IssueAttachmentDeleteModal } from "@/components/issues/attachment/delete-attachment-modal";
|
import { IssueAttachmentDeleteModal } from "@/components/issues/attachment/delete-attachment-modal";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// types
|
// types
|
||||||
|
|||||||
@ -14,7 +14,7 @@ import { ButtonAvatars } from "@/components/dropdowns/member/avatar";
|
|||||||
import { getFileIcon } from "@/components/icons";
|
import { getFileIcon } from "@/components/icons";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { copyUrlToClipboard, generateWorkItemLink } from "@plane/utils";
|
|||||||
// plane imports
|
// plane imports
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
|
|
||||||
type TCreateIssueToastActionItems = {
|
type TCreateIssueToastActionItems = {
|
||||||
|
|||||||
@ -11,8 +11,8 @@ import { TDeDupeIssue, TIssue } from "@plane/types";
|
|||||||
import { AlertModalCore, TOAST_TYPE, setToast } from "@plane/ui";
|
import { AlertModalCore, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
// constants
|
// constants
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
import { useUser, useUserPermissions } from "@/hooks/store/user";
|
||||||
// plane-web
|
// plane-web
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ import { RichTextEditor } from "@/components/editor/rich-text";
|
|||||||
import { TIssueOperations } from "@/components/issues/issue-detail";
|
import { TIssueOperations } from "@/components/issues/issue-detail";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useEditorAsset } from "@/hooks/store/use-editor-asset"
|
import { useEditorAsset } from "@/hooks/store/use-editor-asset";
|
||||||
import { useWorkspace } from "@/hooks/store/use-workspace";
|
import { useWorkspace } from "@/hooks/store/use-workspace";
|
||||||
// plane web services
|
// plane web services
|
||||||
import { WorkspaceService } from "@/plane-web/services";
|
import { WorkspaceService } from "@/plane-web/services";
|
||||||
|
|||||||
@ -20,9 +20,9 @@ import { Button } from "@plane/ui";
|
|||||||
import { isIssueFilterActive } from "@plane/utils";
|
import { isIssueFilterActive } from "@plane/utils";
|
||||||
// helpers
|
// helpers
|
||||||
// hooks
|
// hooks
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state"
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useIssues } from "@/hooks/store/use-issues";
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
// plane web types
|
// plane web types
|
||||||
import { TProject } from "@/plane-web/types";
|
import { TProject } from "@/plane-web/types";
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { TOAST_TYPE, setToast } from "@plane/ui";
|
|||||||
import { copyUrlToClipboard } from "@plane/utils";
|
import { copyUrlToClipboard } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
// plane web helpers
|
// plane web helpers
|
||||||
import { updateEpicAnalytics } from "@/plane-web/helpers/epic-analytics";
|
import { updateEpicAnalytics } from "@/plane-web/helpers/epic-analytics";
|
||||||
|
|||||||
@ -9,8 +9,8 @@ import {
|
|||||||
IIssueFilterOptions,
|
IIssueFilterOptions,
|
||||||
TIssueServiceType,
|
TIssueServiceType,
|
||||||
} from "@plane/types";
|
} from "@plane/types";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProjectState } from "@/hooks/store/use-project-state";
|
import { useProjectState } from "@/hooks/store/use-project-state";
|
||||||
import { SubIssueDisplayFilters } from "./display-filters";
|
import { SubIssueDisplayFilters } from "./display-filters";
|
||||||
import { SubIssueFilters } from "./filters";
|
import { SubIssueFilters } from "./filters";
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { FC } from "react";
|
|||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import { Tag } from "lucide-react";
|
import { Tag } from "lucide-react";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useLabel } from "@/hooks/store/use-label";
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
// components
|
// components
|
||||||
import { IssueActivityBlockComponent, IssueLink, LabelActivityChip } from "./";
|
import { IssueActivityBlockComponent, IssueLink, LabelActivityChip } from "./";
|
||||||
|
|||||||
@ -3,10 +3,10 @@ import { useTranslation } from "@plane/i18n";
|
|||||||
import { EFileAssetType, type TCommentsOperations } from "@plane/types";
|
import { EFileAssetType, type TCommentsOperations } from "@plane/types";
|
||||||
import { setToast, TOAST_TYPE } from "@plane/ui";
|
import { setToast, TOAST_TYPE } from "@plane/ui";
|
||||||
import { copyUrlToClipboard, formatTextList, generateWorkItemLink } from "@plane/utils";
|
import { copyUrlToClipboard, formatTextList, generateWorkItemLink } from "@plane/utils";
|
||||||
import { useEditorAsset } from "@/hooks/store/use-editor-asset"
|
import { useEditorAsset } from "@/hooks/store/use-editor-asset";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member"
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
|
|
||||||
export const useCommentOperations = (
|
export const useCommentOperations = (
|
||||||
|
|||||||
@ -12,9 +12,9 @@ import { generateWorkItemLink, copyTextToClipboard } from "@plane/utils";
|
|||||||
// helpers
|
// helpers
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useProject } from "@/hooks/store/use-project"
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { useUser } from "@/hooks/store/user";
|
import { useUser } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
|
|||||||
@ -7,8 +7,8 @@ import { EIssueServiceType, IIssueLabel, TIssue, TIssueServiceType } from "@plan
|
|||||||
// components
|
// components
|
||||||
import { TOAST_TYPE, setToast } from "@plane/ui";
|
import { TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
import { useProjectInbox } from "@/hooks/store/use-project-inbox";
|
||||||
// ui
|
// ui
|
||||||
// types
|
// types
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { EUserProjectRoles, IIssueLabel } from "@plane/types";
|
|||||||
// helpers
|
// helpers
|
||||||
import { getTabIndex } from "@plane/utils";
|
import { getTabIndex } from "@plane/utils";
|
||||||
// hooks
|
// hooks
|
||||||
import { useLabel } from "@/hooks/store/use-label"
|
import { useLabel } from "@/hooks/store/use-label";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
//constants
|
//constants
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { getIconForLink, copyTextToClipboard, calculateTimeAgo } from "@plane/ut
|
|||||||
// types
|
// types
|
||||||
// helpers
|
// helpers
|
||||||
//
|
//
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
import { TLinkOperationsModal } from "./create-update-link-modal";
|
import { TLinkOperationsModal } from "./create-update-link-modal";
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { cn, formatTextList } from "@plane/utils";
|
|||||||
// helper
|
// helper
|
||||||
import { renderEmoji } from "@/helpers/emoji.helper";
|
import { renderEmoji } from "@/helpers/emoji.helper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
// types
|
// types
|
||||||
import { ReactionSelector } from "./reaction-selector";
|
import { ReactionSelector } from "./reaction-selector";
|
||||||
|
|||||||
@ -9,7 +9,7 @@ import { TOAST_TYPE, Tooltip, setToast } from "@plane/ui";
|
|||||||
import { cn, formatTextList } from "@plane/utils";
|
import { cn, formatTextList } from "@plane/utils";
|
||||||
// helpers
|
// helpers
|
||||||
import { renderEmoji } from "@/helpers/emoji.helper";
|
import { renderEmoji } from "@/helpers/emoji.helper";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useMember } from "@/hooks/store/use-member";
|
import { useMember } from "@/hooks/store/use-member";
|
||||||
// types
|
// types
|
||||||
import { ReactionSelector } from "./reaction-selector";
|
import { ReactionSelector } from "./reaction-selector";
|
||||||
|
|||||||
@ -11,8 +11,8 @@ import { cn, generateWorkItemLink } from "@plane/utils";
|
|||||||
// components
|
// components
|
||||||
import { ExistingIssuesListModal } from "@/components/core/modals/existing-issues-list-modal";
|
import { ExistingIssuesListModal } from "@/components/core/modals/existing-issues-list-modal";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useProject } from "@/hooks/store/use-project";
|
import { useProject } from "@/hooks/store/use-project";
|
||||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
// Plane web imports
|
// Plane web imports
|
||||||
|
|||||||
@ -11,9 +11,9 @@ import { TOAST_TYPE, setPromiseToast, setToast } from "@plane/ui";
|
|||||||
import { EmptyState } from "@/components/common/empty-state";
|
import { EmptyState } from "@/components/common/empty-state";
|
||||||
// hooks
|
// hooks
|
||||||
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";
|
||||||
import { useAppTheme } from "@/hooks/store/use-app-theme"
|
import { useAppTheme } from "@/hooks/store/use-app-theme";
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useIssues } from "@/hooks/store/use-issues"
|
import { useIssues } from "@/hooks/store/use-issues";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
import { useAppRouter } from "@/hooks/use-app-router";
|
import { useAppRouter } from "@/hooks/use-app-router";
|
||||||
// images
|
// images
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import { useTranslation } from "@plane/i18n";
|
|||||||
import { EIssueServiceType } from "@plane/types";
|
import { EIssueServiceType } from "@plane/types";
|
||||||
import { Button, Loader, TOAST_TYPE, setToast } from "@plane/ui";
|
import { Button, Loader, TOAST_TYPE, setToast } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useIssueDetail } from "@/hooks/store/use-issue-detail"
|
import { useIssueDetail } from "@/hooks/store/use-issue-detail";
|
||||||
import { useUserPermissions } from "@/hooks/store/user";
|
import { useUserPermissions } from "@/hooks/store/user";
|
||||||
|
|
||||||
export type TIssueSubscription = {
|
export type TIssueSubscription = {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user