forked from github/plane
refactor: moved files to draft-issues
This commit is contained in:
parent
b0413a50f6
commit
b8c3abdc80
@ -12,7 +12,7 @@ import { ModuleService } from "services/module.service";
|
||||
import useToast from "hooks/use-toast";
|
||||
import useLocalStorage from "hooks/use-local-storage";
|
||||
// components
|
||||
import { DraftIssueForm } from "components/issues";
|
||||
import { DraftIssueForm } from "components/draft-issues";
|
||||
// constants
|
||||
import { ISSUE_PRIORITIES, ISSUE_STATE_GROUPS, getValueFromObject } from "constants/issue";
|
||||
// types
|
4
web/components/draft-issues/index.ts
Normal file
4
web/components/draft-issues/index.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export * from "./draft-issue-form";
|
||||
export * from "./draft-issue-modal";
|
||||
export * from "./delete-draft-issue-modal";
|
||||
export * from "./confirm-issue-discard";
|
@ -14,12 +14,6 @@ export * from "./sidebar";
|
||||
export * from "./label";
|
||||
export * from "./issue-reaction";
|
||||
export * from "./peek-overview";
|
||||
export * from "./confirm-issue-discard";
|
||||
|
||||
// draft issue
|
||||
export * from "./draft-issue-form";
|
||||
export * from "./draft-issue-modal";
|
||||
export * from "./delete-draft-issue-modal";
|
||||
|
||||
// archived issue
|
||||
export * from "./delete-archived-issue-modal";
|
||||
|
@ -2,7 +2,7 @@ import { useState } from "react";
|
||||
import { CustomMenu } from "@plane/ui";
|
||||
import { Copy, Pencil, Trash2 } from "lucide-react";
|
||||
// components
|
||||
import { CreateUpdateDraftIssueModal, DeleteDraftIssueModal } from "components/issues";
|
||||
import { CreateUpdateDraftIssueModal, DeleteDraftIssueModal } from "components/draft-issues";
|
||||
// types
|
||||
import { IIssue } from "types";
|
||||
|
||||
|
@ -9,7 +9,8 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
||||
import useToast from "hooks/use-toast";
|
||||
import useLocalStorage from "hooks/use-local-storage";
|
||||
// components
|
||||
import { IssueForm, ConfirmIssueDiscard } from "components/issues";
|
||||
import { IssueForm } from "components/issues";
|
||||
import { ConfirmIssueDiscard } from "components/draft-issues";
|
||||
// types
|
||||
import type { IIssue } from "types";
|
||||
// fetch-keys
|
||||
|
@ -5,7 +5,7 @@ import { ChevronDown, PenSquare, Search } from "lucide-react";
|
||||
// hooks
|
||||
import useLocalStorage from "hooks/use-local-storage";
|
||||
// components
|
||||
import { CreateUpdateDraftIssueModal } from "components/issues";
|
||||
import { CreateUpdateDraftIssueModal } from "components/draft-issues";
|
||||
// mobx store
|
||||
import { useMobxStore } from "lib/mobx/store-provider";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user