mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: renaming store to store_legacy
This commit is contained in:
parent
bf2c6e36ef
commit
912213e051
@ -3,7 +3,7 @@ import Image from "next/image";
|
|||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
// mobx store
|
// mobx store
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
// ui
|
// ui
|
||||||
import { Button } from "@plane/ui";
|
import { Button } from "@plane/ui";
|
||||||
// icons
|
// icons
|
||||||
|
@ -19,8 +19,8 @@ import { renderEmoji } from "helpers/emoji.helper";
|
|||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const CycleIssuesHeader: React.FC = observer(() => {
|
export const CycleIssuesHeader: React.FC = observer(() => {
|
||||||
const [analyticsModal, setAnalyticsModal] = useState(false);
|
const [analyticsModal, setAnalyticsModal] = useState(false);
|
||||||
|
@ -15,7 +15,7 @@ import { List, PlusIcon, Sheet } from "lucide-react";
|
|||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
const GLOBAL_VIEW_LAYOUTS = [
|
const GLOBAL_VIEW_LAYOUTS = [
|
||||||
{ key: "list", title: "List", link: "/workspace-views", icon: List },
|
{ key: "list", title: "List", link: "/workspace-views", icon: List },
|
||||||
|
@ -19,8 +19,8 @@ import { renderEmoji } from "helpers/emoji.helper";
|
|||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ModuleIssuesHeader: React.FC = observer(() => {
|
export const ModuleIssuesHeader: React.FC = observer(() => {
|
||||||
const [analyticsModal, setAnalyticsModal] = useState(false);
|
const [analyticsModal, setAnalyticsModal] = useState(false);
|
||||||
|
@ -9,7 +9,7 @@ import { DisplayFiltersSelection, FiltersDropdown, FilterSelection, LayoutSelect
|
|||||||
import { Breadcrumbs, LayersIcon } from "@plane/ui";
|
import { Breadcrumbs, LayersIcon } from "@plane/ui";
|
||||||
// helper
|
// helper
|
||||||
import { renderEmoji } from "helpers/emoji.helper";
|
import { renderEmoji } from "helpers/emoji.helper";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOption
|
|||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
// helper
|
// helper
|
||||||
import { renderEmoji } from "helpers/emoji.helper";
|
import { renderEmoji } from "helpers/emoji.helper";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ProjectIssuesHeader: React.FC = observer(() => {
|
export const ProjectIssuesHeader: React.FC = observer(() => {
|
||||||
const [analyticsModal, setAnalyticsModal] = useState(false);
|
const [analyticsModal, setAnalyticsModal] = useState(false);
|
||||||
|
@ -14,8 +14,8 @@ import { renderEmoji } from "helpers/emoji.helper";
|
|||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { Plus } from "lucide-react";
|
import { Plus } from "lucide-react";
|
||||||
|
|
||||||
export const ProjectViewIssuesHeader: React.FC = observer(() => {
|
export const ProjectViewIssuesHeader: React.FC = observer(() => {
|
||||||
|
@ -15,10 +15,10 @@ import {
|
|||||||
IProjectIssuesStore,
|
IProjectIssuesStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
IViewIssuesStore,
|
IViewIssuesStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
import { IGroupedIssues } from "store/issues/types";
|
import { IGroupedIssues } from "store_legacy/issues/types";
|
||||||
|
|
||||||
interface IBaseCalendarRoot {
|
interface IBaseCalendarRoot {
|
||||||
issueStore: IProjectIssuesStore | IModuleIssuesStore | ICycleIssuesStore | IViewIssuesStore;
|
issueStore: IProjectIssuesStore | IModuleIssuesStore | ICycleIssuesStore | IViewIssuesStore;
|
||||||
|
@ -9,13 +9,13 @@ import { Spinner } from "@plane/ui";
|
|||||||
// types
|
// types
|
||||||
import { ICalendarWeek } from "./types";
|
import { ICalendarWeek } from "./types";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IGroupedIssues, IIssueResponse } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse } from "store_legacy/issues/types";
|
||||||
import {
|
import {
|
||||||
ICycleIssuesFilterStore,
|
ICycleIssuesFilterStore,
|
||||||
IModuleIssuesFilterStore,
|
IModuleIssuesFilterStore,
|
||||||
IProjectIssuesFilterStore,
|
IProjectIssuesFilterStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
issuesFilterStore:
|
issuesFilterStore:
|
||||||
|
@ -7,13 +7,13 @@ import { renderDateFormat } from "helpers/date-time.helper";
|
|||||||
// constants
|
// constants
|
||||||
import { MONTHS_LIST } from "constants/calendar";
|
import { MONTHS_LIST } from "constants/calendar";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IGroupedIssues, IIssueResponse } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse } from "store_legacy/issues/types";
|
||||||
import {
|
import {
|
||||||
ICycleIssuesFilterStore,
|
ICycleIssuesFilterStore,
|
||||||
IModuleIssuesFilterStore,
|
IModuleIssuesFilterStore,
|
||||||
IProjectIssuesFilterStore,
|
IProjectIssuesFilterStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
issuesFilterStore:
|
issuesFilterStore:
|
||||||
|
@ -13,13 +13,13 @@ import { Check, ChevronUp } from "lucide-react";
|
|||||||
import { TCalendarLayouts } from "types";
|
import { TCalendarLayouts } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { CALENDAR_LAYOUTS } from "constants/calendar";
|
import { CALENDAR_LAYOUTS } from "constants/calendar";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import {
|
import {
|
||||||
ICycleIssuesFilterStore,
|
ICycleIssuesFilterStore,
|
||||||
IModuleIssuesFilterStore,
|
IModuleIssuesFilterStore,
|
||||||
IProjectIssuesFilterStore,
|
IProjectIssuesFilterStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
|
|
||||||
interface ICalendarHeader {
|
interface ICalendarHeader {
|
||||||
issuesFilterStore:
|
issuesFilterStore:
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
IModuleIssuesFilterStore,
|
IModuleIssuesFilterStore,
|
||||||
IProjectIssuesFilterStore,
|
IProjectIssuesFilterStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
|
|
||||||
interface ICalendarHeader {
|
interface ICalendarHeader {
|
||||||
issuesFilterStore:
|
issuesFilterStore:
|
||||||
|
@ -9,7 +9,7 @@ import { Tooltip } from "@plane/ui";
|
|||||||
import useOutsideClickDetector from "hooks/use-outside-click-detector";
|
import useOutsideClickDetector from "hooks/use-outside-click-detector";
|
||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
issues: IIssueResponse | undefined;
|
issues: IIssueResponse | undefined;
|
||||||
|
@ -6,13 +6,13 @@ import { renderDateFormat } from "helpers/date-time.helper";
|
|||||||
// types
|
// types
|
||||||
import { ICalendarDate, ICalendarWeek } from "./types";
|
import { ICalendarDate, ICalendarWeek } from "./types";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IGroupedIssues, IIssueResponse } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse } from "store_legacy/issues/types";
|
||||||
import {
|
import {
|
||||||
ICycleIssuesFilterStore,
|
ICycleIssuesFilterStore,
|
||||||
IModuleIssuesFilterStore,
|
IModuleIssuesFilterStore,
|
||||||
IProjectIssuesFilterStore,
|
IProjectIssuesFilterStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
issuesFilterStore:
|
issuesFilterStore:
|
||||||
|
@ -14,7 +14,7 @@ import { Button } from "@plane/ui";
|
|||||||
import emptyIssue from "public/empty-state/issue.svg";
|
import emptyIssue from "public/empty-state/issue.svg";
|
||||||
// types
|
// types
|
||||||
import { ISearchIssueResponse } from "types";
|
import { ISearchIssueResponse } from "types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
workspaceSlug: string | undefined;
|
workspaceSlug: string | undefined;
|
||||||
|
@ -6,7 +6,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { EmptyState } from "components/common";
|
import { EmptyState } from "components/common";
|
||||||
// assets
|
// assets
|
||||||
import emptyIssue from "public/empty-state/issue.svg";
|
import emptyIssue from "public/empty-state/issue.svg";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ProjectViewEmptyState: React.FC = observer(() => {
|
export const ProjectViewEmptyState: React.FC = observer(() => {
|
||||||
const {
|
const {
|
||||||
|
@ -6,7 +6,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { NewEmptyState } from "components/common/new-empty-state";
|
import { NewEmptyState } from "components/common/new-empty-state";
|
||||||
// assets
|
// assets
|
||||||
import emptyIssue from "public/empty-state/empty_issues.webp";
|
import emptyIssue from "public/empty-state/empty_issues.webp";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ProjectEmptyState: React.FC = observer(() => {
|
export const ProjectEmptyState: React.FC = observer(() => {
|
||||||
const {
|
const {
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const ArchivedIssueAppliedFiltersRoot: React.FC = observer(() => {
|
export const ArchivedIssueAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const CycleAppliedFiltersRoot: React.FC = observer(() => {
|
export const CycleAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const DraftIssueAppliedFiltersRoot: React.FC = observer(() => {
|
export const DraftIssueAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList } from "components/issues";
|
import { AppliedFiltersList } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const GlobalViewsAppliedFiltersRoot = observer(() => {
|
export const GlobalViewsAppliedFiltersRoot = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const ModuleAppliedFiltersRoot: React.FC = observer(() => {
|
export const ModuleAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -7,7 +7,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { AppliedFiltersList } from "components/issues";
|
import { AppliedFiltersList } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const ProfileIssuesAppliedFiltersRoot: React.FC = observer(() => {
|
export const ProfileIssuesAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -8,7 +8,7 @@ import { AppliedFiltersList, SaveFilterView } from "components/issues";
|
|||||||
|
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const ProjectAppliedFiltersRoot: React.FC = observer(() => {
|
export const ProjectAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -10,7 +10,7 @@ import { Button } from "@plane/ui";
|
|||||||
import { areFiltersDifferent } from "helpers/filter.helper";
|
import { areFiltersDifferent } from "helpers/filter.helper";
|
||||||
// types
|
// types
|
||||||
import { IIssueFilterOptions } from "types";
|
import { IIssueFilterOptions } from "types";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export const ProjectViewAppliedFiltersRoot: React.FC = observer(() => {
|
export const ProjectViewAppliedFiltersRoot: React.FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -12,7 +12,7 @@ import {
|
|||||||
IssueGanttSidebar,
|
IssueGanttSidebar,
|
||||||
} from "components/gantt-chart";
|
} from "components/gantt-chart";
|
||||||
// types
|
// types
|
||||||
import { IIssueUnGroupedStructure } from "store/issue";
|
import { IIssueUnGroupedStructure } from "store_legacy/issue";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import {
|
import {
|
||||||
ICycleIssuesFilterStore,
|
ICycleIssuesFilterStore,
|
||||||
@ -23,8 +23,8 @@ import {
|
|||||||
IProjectIssuesStore,
|
IProjectIssuesStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
IViewIssuesStore,
|
IViewIssuesStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
import { TUnGroupedIssues } from "store/issues/types";
|
import { TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
interface IBaseGanttRoot {
|
interface IBaseGanttRoot {
|
||||||
|
@ -21,9 +21,9 @@ import {
|
|||||||
IProjectIssuesStore,
|
IProjectIssuesStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
IViewIssuesStore,
|
IViewIssuesStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { IIssueKanBanViewStore } from "store/issue";
|
import { IIssueKanBanViewStore } from "store_legacy/issue";
|
||||||
// hooks
|
// hooks
|
||||||
import useToast from "hooks/use-toast";
|
import useToast from "hooks/use-toast";
|
||||||
// constants
|
// constants
|
||||||
@ -31,7 +31,7 @@ import { ISSUE_STATE_GROUPS, ISSUE_PRIORITIES } from "constants/issue";
|
|||||||
//components
|
//components
|
||||||
import { KanBan } from "./default";
|
import { KanBan } from "./default";
|
||||||
import { KanBanSwimLanes } from "./swimlanes";
|
import { KanBanSwimLanes } from "./swimlanes";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { DeleteIssueModal, IssuePeekOverview } from "components/issues";
|
import { DeleteIssueModal, IssuePeekOverview } from "components/issues";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import { KanbanIssueBlock } from "components/issues";
|
import { KanbanIssueBlock } from "components/issues";
|
||||||
import { IIssueDisplayProperties, IIssue } from "types";
|
import { IIssueDisplayProperties, IIssue } from "types";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
interface IssueBlocksListProps {
|
interface IssueBlocksListProps {
|
||||||
sub_group_id: string;
|
sub_group_id: string;
|
||||||
|
@ -11,8 +11,8 @@ import { IIssueDisplayProperties, IIssue, IState } from "types";
|
|||||||
// constants
|
// constants
|
||||||
import { getValueFromObject } from "constants/issue";
|
import { getValueFromObject } from "constants/issue";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
import { IIssueResponse, IGroupedIssues, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IIssueResponse, IGroupedIssues, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface IGroupByKanBan {
|
export interface IGroupByKanBan {
|
||||||
issues: IIssueResponse;
|
issues: IIssueResponse;
|
||||||
|
@ -5,7 +5,7 @@ import { HeaderGroupByCard } from "./group-by-card";
|
|||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
// ui
|
// ui
|
||||||
import { Avatar } from "@plane/ui";
|
import { Avatar } from "@plane/ui";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IAssigneesHeader {
|
export interface IAssigneesHeader {
|
||||||
|
@ -4,7 +4,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
import { Icon } from "./assignee";
|
import { Icon } from "./assignee";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface ICreatedByHeader {
|
export interface ICreatedByHeader {
|
||||||
|
@ -13,7 +13,7 @@ import useToast from "hooks/use-toast";
|
|||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
// types
|
// types
|
||||||
import { IIssue, ISearchIssueResponse } from "types";
|
import { IIssue, ISearchIssueResponse } from "types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
interface IHeaderGroupByCard {
|
interface IHeaderGroupByCard {
|
||||||
sub_group_by: string | null;
|
sub_group_by: string | null;
|
||||||
|
@ -8,7 +8,7 @@ import { LabelHeader } from "./label";
|
|||||||
import { CreatedByHeader } from "./created_by";
|
import { CreatedByHeader } from "./created_by";
|
||||||
// mobx
|
// mobx
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IKanBanGroupByHeaderRoot {
|
export interface IKanBanGroupByHeaderRoot {
|
||||||
|
@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface ILabelHeader {
|
export interface ILabelHeader {
|
||||||
|
@ -6,7 +6,7 @@ import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
|||||||
|
|
||||||
// Icons
|
// Icons
|
||||||
import { PriorityIcon } from "@plane/ui";
|
import { PriorityIcon } from "@plane/ui";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IPriorityHeader {
|
export interface IPriorityHeader {
|
||||||
|
@ -5,7 +5,7 @@ import { HeaderGroupByCard } from "./group-by-card";
|
|||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
// emoji helper
|
// emoji helper
|
||||||
import { renderEmoji } from "helpers/emoji.helper";
|
import { renderEmoji } from "helpers/emoji.helper";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IProjectHeader {
|
export interface IProjectHeader {
|
||||||
|
@ -4,7 +4,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
import { StateGroupIcon } from "@plane/ui";
|
import { StateGroupIcon } from "@plane/ui";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IStateGroupHeader {
|
export interface IStateGroupHeader {
|
||||||
|
@ -4,7 +4,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
import { HeaderSubGroupByCard } from "./sub-group-by-card";
|
||||||
import { Icon } from "./state-group";
|
import { Icon } from "./state-group";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IStateHeader {
|
export interface IStateHeader {
|
||||||
|
@ -7,7 +7,7 @@ import { AssigneesHeader } from "./assignee";
|
|||||||
import { PriorityHeader } from "./priority";
|
import { PriorityHeader } from "./priority";
|
||||||
import { LabelHeader } from "./label";
|
import { LabelHeader } from "./label";
|
||||||
import { CreatedByHeader } from "./created_by";
|
import { CreatedByHeader } from "./created_by";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IKanBanSubGroupByHeaderRoot {
|
export interface IKanBanSubGroupByHeaderRoot {
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
// components
|
// components
|
||||||
import { BaseKanBanRoot } from "../base-kanban-root";
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export interface ICycleKanBanLayout {}
|
export interface ICycleKanBanLayout {}
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
// constants
|
// constants
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { BaseKanBanRoot } from "../base-kanban-root";
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export interface IModuleKanBanLayout {}
|
export interface IModuleKanBanLayout {}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { IIssue } from "types";
|
|||||||
// constants
|
// constants
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { BaseKanBanRoot } from "../base-kanban-root";
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
export const ProfileIssuesKanBanLayout: React.FC = observer(() => {
|
export const ProfileIssuesKanBanLayout: React.FC = observer(() => {
|
||||||
|
@ -9,8 +9,8 @@ import { IIssue } from "types";
|
|||||||
// constants
|
// constants
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { BaseKanBanRoot } from "../base-kanban-root";
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export interface IKanBanLayout {}
|
export interface IKanBanLayout {}
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ import { EIssueActions } from "../../types";
|
|||||||
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
||||||
// components
|
// components
|
||||||
import { BaseKanBanRoot } from "../base-kanban-root";
|
import { BaseKanBanRoot } from "../base-kanban-root";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IGroupedIssues, IIssueResponse, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export interface IViewKanBanLayout {}
|
export interface IViewKanBanLayout {}
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@ import { KanBanSubGroupByHeaderRoot } from "./headers/sub-group-by-root";
|
|||||||
import { KanBan } from "./default";
|
import { KanBan } from "./default";
|
||||||
// types
|
// types
|
||||||
import { IIssue, IIssueDisplayProperties, IIssueLabel, IProject, IState, IUserLite } from "types";
|
import { IIssue, IIssueDisplayProperties, IIssueLabel, IProject, IState, IUserLite } from "types";
|
||||||
import { IIssueResponse, IGroupedIssues, ISubGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IIssueResponse, IGroupedIssues, ISubGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
// constants
|
// constants
|
||||||
import { getValueFromObject } from "constants/issue";
|
import { getValueFromObject } from "constants/issue";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
interface ISubGroupSwimlaneHeader {
|
interface ISubGroupSwimlaneHeader {
|
||||||
issues: IIssueResponse;
|
issues: IIssueResponse;
|
||||||
|
@ -3,7 +3,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { ISSUE_PRIORITIES, ISSUE_STATE_GROUPS } from "constants/issue";
|
import { ISSUE_PRIORITIES, ISSUE_STATE_GROUPS } from "constants/issue";
|
||||||
import { FC } from "react";
|
import { FC } from "react";
|
||||||
import { IIssue, IProject } from "types";
|
import { IIssue, IProject } from "types";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { Spinner } from "@plane/ui";
|
import { Spinner } from "@plane/ui";
|
||||||
import { IQuickActionProps } from "./list-view-types";
|
import { IQuickActionProps } from "./list-view-types";
|
||||||
import {
|
import {
|
||||||
@ -19,10 +19,10 @@ import {
|
|||||||
IProjectIssuesStore,
|
IProjectIssuesStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
IViewIssuesStore,
|
IViewIssuesStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IssuePeekOverview } from "components/issues";
|
import { IssuePeekOverview } from "components/issues";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
@ -3,7 +3,7 @@ import { FC } from "react";
|
|||||||
import { IssueBlock } from "components/issues";
|
import { IssueBlock } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssue, IIssueDisplayProperties } from "types";
|
import { IIssue, IIssueDisplayProperties } from "types";
|
||||||
import { IIssueResponse, IGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IIssueResponse, IGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
@ -4,11 +4,11 @@ import { ListGroupByHeaderRoot } from "./headers/group-by-root";
|
|||||||
import { IssueBlocksList, ListQuickAddIssueForm } from "components/issues";
|
import { IssueBlocksList, ListQuickAddIssueForm } from "components/issues";
|
||||||
// types
|
// types
|
||||||
import { IIssue, IIssueDisplayProperties, IIssueLabel, IProject, IState, IUserLite } from "types";
|
import { IIssue, IIssueDisplayProperties, IIssueLabel, IProject, IState, IUserLite } from "types";
|
||||||
import { IIssueResponse, IGroupedIssues, TUnGroupedIssues } from "store/issues/types";
|
import { IIssueResponse, IGroupedIssues, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
// constants
|
// constants
|
||||||
import { getValueFromObject } from "constants/issue";
|
import { getValueFromObject } from "constants/issue";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface IGroupByList {
|
export interface IGroupByList {
|
||||||
issueIds: IGroupedIssues | TUnGroupedIssues | any;
|
issueIds: IGroupedIssues | TUnGroupedIssues | any;
|
||||||
|
@ -4,7 +4,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
// ui
|
// ui
|
||||||
import { Avatar } from "@plane/ui";
|
import { Avatar } from "@plane/ui";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IAssigneesHeader {
|
export interface IAssigneesHeader {
|
||||||
|
@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { Icon } from "./assignee";
|
import { Icon } from "./assignee";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface ICreatedByHeader {
|
export interface ICreatedByHeader {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IEmptyHeader {
|
export interface IEmptyHeader {
|
||||||
|
@ -11,7 +11,7 @@ import { CustomMenu } from "@plane/ui";
|
|||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
// types
|
// types
|
||||||
import { IIssue, ISearchIssueResponse } from "types";
|
import { IIssue, ISearchIssueResponse } from "types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import useToast from "hooks/use-toast";
|
import useToast from "hooks/use-toast";
|
||||||
|
|
||||||
interface IHeaderGroupByCard {
|
interface IHeaderGroupByCard {
|
||||||
|
@ -9,7 +9,7 @@ import { LabelHeader } from "./label";
|
|||||||
import { CreatedByHeader } from "./created-by";
|
import { CreatedByHeader } from "./created-by";
|
||||||
// mobx
|
// mobx
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IListGroupByHeaderRoot {
|
export interface IListGroupByHeaderRoot {
|
||||||
|
@ -2,7 +2,7 @@ import { FC } from "react";
|
|||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface ILabelHeader {
|
export interface ILabelHeader {
|
||||||
|
@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { AlertCircle, SignalHigh, SignalMedium, SignalLow, Ban } from "lucide-react";
|
import { AlertCircle, SignalHigh, SignalMedium, SignalLow, Ban } from "lucide-react";
|
||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IPriorityHeader {
|
export interface IPriorityHeader {
|
||||||
|
@ -4,7 +4,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
// emoji helper
|
// emoji helper
|
||||||
import { renderEmoji } from "helpers/emoji.helper";
|
import { renderEmoji } from "helpers/emoji.helper";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IProjectHeader {
|
export interface IProjectHeader {
|
||||||
|
@ -6,7 +6,7 @@ import { HeaderGroupByCard } from "./group-by-card";
|
|||||||
import { StateGroupIcon } from "@plane/ui";
|
import { StateGroupIcon } from "@plane/ui";
|
||||||
// helpers
|
// helpers
|
||||||
import { capitalizeFirstLetter } from "helpers/string.helper";
|
import { capitalizeFirstLetter } from "helpers/string.helper";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IStateGroupHeader {
|
export interface IStateGroupHeader {
|
||||||
|
@ -3,7 +3,7 @@ import { observer } from "mobx-react-lite";
|
|||||||
// components
|
// components
|
||||||
import { HeaderGroupByCard } from "./group-by-card";
|
import { HeaderGroupByCard } from "./group-by-card";
|
||||||
import { Icon } from "./state-group";
|
import { Icon } from "./state-group";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
|
|
||||||
export interface IStateHeader {
|
export interface IStateHeader {
|
||||||
|
@ -9,9 +9,9 @@ import { ArchivedIssueQuickActions } from "components/issues";
|
|||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ArchivedIssueListLayout: FC = observer(() => {
|
export const ArchivedIssueListLayout: FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -9,9 +9,9 @@ import { CycleIssueQuickActions } from "components/issues";
|
|||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface ICycleListLayout {}
|
export interface ICycleListLayout {}
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const DraftIssueListLayout: FC = observer(() => {
|
export const DraftIssueListLayout: FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface IModuleListLayout {}
|
export interface IModuleListLayout {}
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
export const ProfileIssuesListLayout: FC = observer(() => {
|
export const ProfileIssuesListLayout: FC = observer(() => {
|
||||||
|
@ -10,8 +10,8 @@ import { IIssue } from "types";
|
|||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
// constants
|
// constants
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ListLayout: FC = observer(() => {
|
export const ListLayout: FC = observer(() => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -3,16 +3,16 @@ import { observer } from "mobx-react-lite";
|
|||||||
|
|
||||||
// store
|
// store
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
// constants
|
// constants
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { EIssueActions } from "../../types";
|
import { EIssueActions } from "../../types";
|
||||||
import { IProjectStore } from "store/project";
|
import { IProjectStore } from "store_legacy/project";
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
// components
|
// components
|
||||||
import { BaseListRoot } from "../base-list-root";
|
import { BaseListRoot } from "../base-list-root";
|
||||||
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
import { ProjectIssueQuickActions } from "../../quick-action-dropdowns";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface IViewListLayout {}
|
export interface IViewListLayout {}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ import { Tooltip } from "@plane/ui";
|
|||||||
import { Check, ChevronDown, Search } from "lucide-react";
|
import { Check, ChevronDown, Search } from "lucide-react";
|
||||||
// types
|
// types
|
||||||
import { Placement } from "@popperjs/core";
|
import { Placement } from "@popperjs/core";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
import { IIssueLabel } from "types";
|
import { IIssueLabel } from "types";
|
||||||
|
|
||||||
export interface IIssuePropertyLabels {
|
export interface IIssuePropertyLabels {
|
||||||
|
@ -12,7 +12,7 @@ import { Check, ChevronDown, Search } from "lucide-react";
|
|||||||
// types
|
// types
|
||||||
import { IState } from "types";
|
import { IState } from "types";
|
||||||
import { Placement } from "@popperjs/core";
|
import { Placement } from "@popperjs/core";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
export interface IIssuePropertyState {
|
export interface IIssuePropertyState {
|
||||||
projectId: string | null;
|
projectId: string | null;
|
||||||
|
@ -11,7 +11,7 @@ import { copyUrlToClipboard } from "helpers/string.helper";
|
|||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const AllIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
export const AllIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
||||||
const { issue, handleDelete, handleUpdate, customActionButton } = props;
|
const { issue, handleDelete, handleUpdate, customActionButton } = props;
|
||||||
|
@ -11,7 +11,7 @@ import { copyUrlToClipboard } from "helpers/string.helper";
|
|||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const CycleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
export const CycleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
||||||
const { issue, handleDelete, handleUpdate, handleRemoveFromView, customActionButton } = props;
|
const { issue, handleDelete, handleUpdate, handleRemoveFromView, customActionButton } = props;
|
||||||
|
@ -11,7 +11,7 @@ import { copyUrlToClipboard } from "helpers/string.helper";
|
|||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ModuleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
export const ModuleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
||||||
const { issue, handleDelete, handleUpdate, handleRemoveFromView, customActionButton } = props;
|
const { issue, handleDelete, handleUpdate, handleRemoveFromView, customActionButton } = props;
|
||||||
|
@ -11,7 +11,7 @@ import { copyUrlToClipboard } from "helpers/string.helper";
|
|||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const ProjectIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
export const ProjectIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
||||||
const { issue, handleDelete, handleUpdate, customActionButton } = props;
|
const { issue, handleDelete, handleUpdate, customActionButton } = props;
|
||||||
|
@ -12,10 +12,10 @@ import { AllIssueQuickActions } from "components/issues/issue-layouts/quick-acti
|
|||||||
import { Spinner } from "@plane/ui";
|
import { Spinner } from "@plane/ui";
|
||||||
// types
|
// types
|
||||||
import { IIssue, IIssueDisplayFilterOptions, TStaticViewTypes } from "types";
|
import { IIssue, IIssueDisplayFilterOptions, TStaticViewTypes } from "types";
|
||||||
import { IIssueUnGroupedStructure } from "store/issue";
|
import { IIssueUnGroupedStructure } from "store_legacy/issue";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
|
|
||||||
import { EFilterType, TUnGroupedIssues } from "store/issues/types";
|
import { EFilterType, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { IIssueUnGroupedStructure } from "store/issue";
|
import { IIssueUnGroupedStructure } from "store_legacy/issue";
|
||||||
import { SpreadsheetView } from "./spreadsheet-view";
|
import { SpreadsheetView } from "./spreadsheet-view";
|
||||||
import { FC, useCallback } from "react";
|
import { FC, useCallback } from "react";
|
||||||
import { IIssue, IIssueDisplayFilterOptions } from "types";
|
import { IIssue, IIssueDisplayFilterOptions } from "types";
|
||||||
@ -13,9 +13,9 @@ import {
|
|||||||
IProjectIssuesStore,
|
IProjectIssuesStore,
|
||||||
IViewIssuesFilterStore,
|
IViewIssuesFilterStore,
|
||||||
IViewIssuesStore,
|
IViewIssuesStore,
|
||||||
} from "store/issues";
|
} from "store_legacy/issues";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { EFilterType, TUnGroupedIssues } from "store/issues/types";
|
import { EFilterType, TUnGroupedIssues } from "store_legacy/issues/types";
|
||||||
import { EIssueActions } from "../types";
|
import { EIssueActions } from "../types";
|
||||||
import { IQuickActionProps } from "../list/list-view-types";
|
import { IQuickActionProps } from "../list/list-view-types";
|
||||||
import { EUserWorkspaceRoles } from "constants/workspace";
|
import { EUserWorkspaceRoles } from "constants/workspace";
|
||||||
|
@ -16,7 +16,7 @@ import { IssueForm, ConfirmIssueDiscard } from "components/issues";
|
|||||||
import type { IIssue } from "types";
|
import type { IIssue } from "types";
|
||||||
// fetch-keys
|
// fetch-keys
|
||||||
import { USER_ISSUE, SUB_ISSUES } from "constants/fetch-keys";
|
import { USER_ISSUE, SUB_ISSUES } from "constants/fetch-keys";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export interface IssuesModalProps {
|
export interface IssuesModalProps {
|
||||||
data?: IIssue | null;
|
data?: IIssue | null;
|
||||||
|
@ -6,7 +6,7 @@ import { IssuePeekOverviewReactions } from "components/issues";
|
|||||||
// hooks
|
// hooks
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
// types
|
// types
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
interface IIssueCommentReaction {
|
interface IIssueCommentReaction {
|
||||||
workspaceSlug: string;
|
workspaceSlug: string;
|
||||||
|
@ -5,10 +5,10 @@ import { useRouter } from "next/router";
|
|||||||
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown, LayoutSelection } from "components/issues";
|
import { DisplayFiltersSelection, FilterSelection, FiltersDropdown, LayoutSelection } from "components/issues";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
// constants
|
// constants
|
||||||
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
import { ISSUE_DISPLAY_FILTERS_BY_LAYOUT } from "constants/issue";
|
||||||
import { EFilterType } from "store/issues/types";
|
import { EFilterType } from "store_legacy/issues/types";
|
||||||
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
import { IIssueDisplayFilterOptions, IIssueDisplayProperties, IIssueFilterOptions, TIssueLayouts } from "types";
|
||||||
|
|
||||||
export const ProfileIssuesFilter = observer(() => {
|
export const ProfileIssuesFilter = observer(() => {
|
||||||
|
@ -9,7 +9,7 @@ import { ProfileIssuesAppliedFiltersRoot } from "components/issues";
|
|||||||
import { Spinner } from "@plane/ui";
|
import { Spinner } from "@plane/ui";
|
||||||
// hooks
|
// hooks
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
interface IProfileIssuesPage {
|
interface IProfileIssuesPage {
|
||||||
type: "assigned" | "subscribed" | "created";
|
type: "assigned" | "subscribed" | "created";
|
||||||
|
@ -2,7 +2,7 @@ import React, { useState } from "react";
|
|||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
// icons
|
// icons
|
||||||
import { LinkIcon, Lock, Pencil, Star } from "lucide-react";
|
import { LinkIcon, Lock, Pencil, Star } from "lucide-react";
|
||||||
// hooks
|
// hooks
|
||||||
|
@ -7,7 +7,7 @@ import { Button } from "@plane/ui";
|
|||||||
import type { IProject } from "types";
|
import type { IProject } from "types";
|
||||||
// lib
|
// lib
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
// type
|
// type
|
||||||
type TJoinProjectModalProps = {
|
type TJoinProjectModalProps = {
|
||||||
|
@ -9,7 +9,7 @@ import { useMobxStore } from "lib/mobx/store-provider";
|
|||||||
import { Button, Loader, ToggleSwitch } from "@plane/ui";
|
import { Button, Loader, ToggleSwitch } from "@plane/ui";
|
||||||
import { Check, CircleDot, Globe2 } from "lucide-react";
|
import { Check, CircleDot, Globe2 } from "lucide-react";
|
||||||
import { CustomPopover } from "./popover";
|
import { CustomPopover } from "./popover";
|
||||||
import { IProjectPublishSettings, TProjectPublishViews } from "store/project";
|
import { IProjectPublishSettings, TProjectPublishViews } from "store_legacy/project";
|
||||||
// hooks
|
// hooks
|
||||||
import useToast from "hooks/use-toast";
|
import useToast from "hooks/use-toast";
|
||||||
// types
|
// types
|
||||||
|
@ -9,7 +9,7 @@ import { CreateUpdateDraftIssueModal } from "components/issues";
|
|||||||
// mobx store
|
// mobx store
|
||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { observer } from "mobx-react-lite";
|
import { observer } from "mobx-react-lite";
|
||||||
import { EProjectStore } from "store/command-palette.store";
|
import { EProjectStore } from "store_legacy/command-palette.store";
|
||||||
|
|
||||||
export const WorkspaceSidebarQuickAction = observer(() => {
|
export const WorkspaceSidebarQuickAction = observer(() => {
|
||||||
// states
|
// states
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { useMobxStore } from "lib/mobx/store-provider";
|
import { useMobxStore } from "lib/mobx/store-provider";
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
const useEditorSuggestions = () => {
|
const useEditorSuggestions = () => {
|
||||||
const { mentionsStore }: RootStore = useMobxStore();
|
const { mentionsStore }: RootStore = useMobxStore();
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { createContext, useContext } from "react";
|
import { createContext, useContext } from "react";
|
||||||
// mobx store
|
// mobx store
|
||||||
import { RootStore } from "store/root";
|
import { RootStore } from "store_legacy/root";
|
||||||
|
|
||||||
let rootStore: RootStore = new RootStore();
|
let rootStore: RootStore = new RootStore();
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import { APIService } from "services/api.service";
|
|||||||
import type { CycleDateCheckData, ICycle, IIssue } from "types";
|
import type { CycleDateCheckData, ICycle, IIssue } from "types";
|
||||||
// helpers
|
// helpers
|
||||||
import { API_BASE_URL } from "helpers/common.helper";
|
import { API_BASE_URL } from "helpers/common.helper";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export class CycleService extends APIService {
|
export class CycleService extends APIService {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import { APIService } from "services/api.service";
|
import { APIService } from "services/api.service";
|
||||||
// type
|
// type
|
||||||
import type { IUser, IIssue, IIssueActivity, ISubIssueResponse, IIssueDisplayProperties } from "types";
|
import type { IUser, IIssue, IIssueActivity, ISubIssueResponse, IIssueDisplayProperties } from "types";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
// helper
|
// helper
|
||||||
import { API_BASE_URL } from "helpers/common.helper";
|
import { API_BASE_URL } from "helpers/common.helper";
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { APIService } from "services/api.service";
|
import { APIService } from "services/api.service";
|
||||||
// helpers
|
// helpers
|
||||||
import { API_BASE_URL } from "helpers/common.helper";
|
import { API_BASE_URL } from "helpers/common.helper";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export class IssueDraftService extends APIService {
|
export class IssueDraftService extends APIService {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import { APIService } from "services/api.service";
|
import { APIService } from "services/api.service";
|
||||||
// types
|
// types
|
||||||
import type { IModule, IIssue, ILinkDetails } from "types";
|
import type { IModule, IIssue, ILinkDetails } from "types";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
import { API_BASE_URL } from "helpers/common.helper";
|
import { API_BASE_URL } from "helpers/common.helper";
|
||||||
|
|
||||||
export class ModuleService extends APIService {
|
export class ModuleService extends APIService {
|
||||||
|
@ -2,7 +2,7 @@ import { API_BASE_URL } from "helpers/common.helper";
|
|||||||
// services
|
// services
|
||||||
import { APIService } from "services/api.service";
|
import { APIService } from "services/api.service";
|
||||||
// types
|
// types
|
||||||
import { IProjectPublishSettings } from "store/project";
|
import { IProjectPublishSettings } from "store_legacy/project";
|
||||||
|
|
||||||
export class ProjectPublishService extends APIService {
|
export class ProjectPublishService extends APIService {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -13,7 +13,7 @@ import type {
|
|||||||
} from "types";
|
} from "types";
|
||||||
// helpers
|
// helpers
|
||||||
import { API_BASE_URL } from "helpers/common.helper";
|
import { API_BASE_URL } from "helpers/common.helper";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export class UserService extends APIService {
|
export class UserService extends APIService {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -17,8 +17,8 @@ import {
|
|||||||
} from "types";
|
} from "types";
|
||||||
import { IWorkspaceView } from "types/workspace-views";
|
import { IWorkspaceView } from "types/workspace-views";
|
||||||
// store
|
// store
|
||||||
import { IIssueGroupWithSubGroupsStructure, IIssueGroupedStructure, IIssueUnGroupedStructure } from "store/issue";
|
import { IIssueGroupWithSubGroupsStructure, IIssueGroupedStructure, IIssueUnGroupedStructure } from "store_legacy/issue";
|
||||||
import { IIssueResponse } from "store/issues/types";
|
import { IIssueResponse } from "store_legacy/issues/types";
|
||||||
|
|
||||||
export class WorkspaceService extends APIService {
|
export class WorkspaceService extends APIService {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
@ -11,7 +11,7 @@ import {
|
|||||||
IIssueGroupedStructure,
|
IIssueGroupedStructure,
|
||||||
IIssueType,
|
IIssueType,
|
||||||
IIssueUnGroupedStructure,
|
IIssueUnGroupedStructure,
|
||||||
} from "store/issue";
|
} from "store_legacy/issue";
|
||||||
|
|
||||||
export interface IArchivedIssueStore {
|
export interface IArchivedIssueStore {
|
||||||
loader: boolean;
|
loader: boolean;
|
@ -14,7 +14,7 @@ import {
|
|||||||
IIssueGroupedStructure,
|
IIssueGroupedStructure,
|
||||||
IIssueType,
|
IIssueType,
|
||||||
IIssueUnGroupedStructure,
|
IIssueUnGroupedStructure,
|
||||||
} from "store/issue";
|
} from "store_legacy/issue";
|
||||||
|
|
||||||
export interface ICycleIssueStore {
|
export interface ICycleIssueStore {
|
||||||
loader: boolean;
|
loader: boolean;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user