feat: auto-archive and auto-close (#1502)

* chore: issue archive services and types added

* chore: project type and constant updated

* feat: auto-close and auto-archive feature added

* feat: implement rendering of archived issues

* feat: implemented rendering of only list view for archived issues , chore: update types and services

* feat: implemented archive issue detail page and unarchive issue functionality , chore: refactor code

* feat: activity for issue archive and issue restore added

* fix: redirection and delete fix

* fix: merge conflict

* fix: restore issue redirection fix

* fix: disable modification of issue properties for archived issues, style: disable properties styling

* fix: hide empty group, switch to list view on redirct to archived issues

* fix: remove unnecessary header buttons for archived issue

* fix: auto-close dropdown fix
This commit is contained in:
Anmol Singh Bhatia
2023-07-13 11:34:37 +05:30
committed by GitHub
parent 275942a246
commit c9cbca5ec8
35 changed files with 1151 additions and 88 deletions

View File

@@ -64,6 +64,7 @@ export interface IIssueLink {
}
export interface IIssue {
archived_at: string;
assignees: string[];
assignee_details: IUser[];
assignees_list: string[];

View File

@@ -9,6 +9,8 @@ import type {
} from "./";
export interface IProject {
archive_in: number;
close_in: number;
created_at: Date;
created_by: string;
cover_image: string | null;
@@ -18,6 +20,7 @@ export interface IProject {
page_view: boolean;
inbox_view: boolean;
default_assignee: IUser | string | null;
default_state: string | null;
description: string;
emoji: string | null;
emoji_and_icon: