refactor: moved files to draft-issues

This commit is contained in:
dakshesh14 2023-11-07 15:33:12 +05:30
parent b0413a50f6
commit b8c3abdc80
9 changed files with 9 additions and 10 deletions

View File

@ -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

View 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";

View File

@ -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";

View File

@ -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";

View File

@ -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

View File

@ -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";