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[]; }; } = {};