From 6a430ed480324b15bb013b0ff388eddec56bbebf Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Fri, 22 Sep 2023 12:29:22 +0530 Subject: [PATCH] chore: minor fixes --- web/constants/issue.ts | 1 + web/layouts/app-layout/layout.tsx | 0 web/store/issue.ts | 12 +++++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 web/layouts/app-layout/layout.tsx diff --git a/web/constants/issue.ts b/web/constants/issue.ts index ccd4ab101..11a1f357a 100644 --- a/web/constants/issue.ts +++ b/web/constants/issue.ts @@ -158,6 +158,7 @@ export const ISSUE_GANTT_DISPLAY_FILTERS = [ { key: "sub_issue", title: "Sub Issue" }, ]; +// TODO: update this later export const ISSUE_EXTRA_DISPLAY_PROPERTIES = { list: { access: true, diff --git a/web/layouts/app-layout/layout.tsx b/web/layouts/app-layout/layout.tsx new file mode 100644 index 000000000..e69de29bb diff --git a/web/store/issue.ts b/web/store/issue.ts index 4e3f88013..f91f8af05 100644 --- a/web/store/issue.ts +++ b/web/store/issue.ts @@ -9,7 +9,12 @@ export interface IIssueStore { issues: { [project_id: string]: { grouped: { - [issueId: string]: IIssue[]; + [group_id: string]: IIssue[]; + }; + groupWithSubGroups: { + [group_id: string]: { + [sub_group_id: string]: IIssue[]; + }; }; ungrouped: IIssue[]; }; @@ -28,6 +33,11 @@ class IssueStore implements IIssueStore { grouped: { [issueId: string]: IIssue[]; }; + groupWithSubGroups: { + [group_id: string]: { + [sub_group_id: string]: IIssue[]; + }; + }; ungrouped: IIssue[]; }; } = {};