[WEB-1142] chore: optimistically add issue to cycle/modules (#4334)

* chore: optimistically add issue to cycle and module

* chore: update toast alerts

* refactor: module issue store

* chore: added addCycleToIssueFunction
This commit is contained in:
Aaryan Khandelwal 2024-05-07 14:05:56 +05:30 committed by GitHub
parent a85517de99
commit 780b239ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 235 additions and 141 deletions

View file

@ -1,8 +1,8 @@
import isEmpty from "lodash/isEmpty";
import { autorun, makeObservable, observable } from "mobx";
import { ICycle, IIssueLabel, IModule, IProject, IState, IUserLite } from "@plane/types";
// root store
import { IWorkspaceMembership } from "@/store/member/workspace-member.store";
import { ICycle, IIssueLabel, IModule, IProject, IState, IUserLite } from "@plane/types";
import { RootStore } from "../root.store";
import { IStateStore, StateStore } from "../state.store";
// issues data store