refactor: quick add (#2541)
* refactor: store and helper setup for quick-add * refactor: kanban quick add with optimistic issue create * refactor: added function definition * refactor: list quick add with optimistic issue create * refactor: spreadsheet quick add with optimistic issue create * refactor: calender quick add with optimistic issue create * refactor: gantt quick add with optimistic issue create * refactor: input component and pre-loading data logic * style: calender quick-add height and content shift * feat: sub-group quick-add issue * feat: displaying loading state when issue is being created * fix: setting string null to null
This commit is contained in:
parent
d95ea463b2
commit
4aad35e007
35 changed files with 2734 additions and 951 deletions
|
|
@ -15,6 +15,8 @@ import {
|
|||
IIssueCalendarViewStore,
|
||||
IssueCalendarViewStore,
|
||||
IssueStore,
|
||||
IIssueQuickAddStore,
|
||||
IssueQuickAddStore,
|
||||
} from "store/issue";
|
||||
import { IWorkspaceFilterStore, IWorkspaceStore, WorkspaceFilterStore, WorkspaceStore } from "store/workspace";
|
||||
import { IProjectPublishStore, IProjectStore, ProjectPublishStore, ProjectStore } from "store/project";
|
||||
|
|
@ -121,6 +123,7 @@ export class RootStore {
|
|||
issueKanBanView: IIssueKanBanViewStore;
|
||||
issueCalendarView: IIssueCalendarViewStore;
|
||||
draftIssuesStore: DraftIssuesStore;
|
||||
quickAddIssue: IIssueQuickAddStore;
|
||||
|
||||
calendar: ICalendarStore;
|
||||
|
||||
|
|
@ -176,6 +179,7 @@ export class RootStore {
|
|||
this.issueKanBanView = new IssueKanBanViewStore(this);
|
||||
this.issueCalendarView = new IssueCalendarViewStore(this);
|
||||
this.draftIssuesStore = new DraftIssuesStore(this);
|
||||
this.quickAddIssue = new IssueQuickAddStore(this);
|
||||
|
||||
this.calendar = new CalendarStore(this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue