forked from github/plane
[WEB-406] chore: project inbox improvement (#4151)
* chore: inbox issue status pill improvement * chore: loader inconsistancy resolved * chore: accepted and decline inbox issue validation * chore: removed clear all button in applied filters * chore: inbox issue create label improvement * chore: updated label filter * chore: updated fetching activites and comments * chore: inbox filters date * chore: removed the print statement * chore: inbox date filter updated * chore: handled custom date filter in inbox issue query params * chore: handled custom date filter in inbox issue single select * chore: inbox custom date filter updated * chore: inbox sidebar filter improvement * chore: inbox sidebar filter improvement * chore: duplicate issue detail * chore: duplicate inbox issue improvement * chore: lint issue resolved --------- Co-authored-by: Anmol Singh Bhatia <anmolsinghbhatia@plane.so> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
This commit is contained in:
16
packages/types/src/inbox.d.ts
vendored
16
packages/types/src/inbox.d.ts
vendored
@@ -18,7 +18,7 @@ export type TInboxIssueFilter = {
|
||||
} & {
|
||||
status: TInboxIssueStatus[] | undefined;
|
||||
priority: TIssuePriorities[] | undefined;
|
||||
label: string[] | undefined;
|
||||
labels: string[] | undefined;
|
||||
};
|
||||
|
||||
// sorting filters
|
||||
@@ -50,21 +50,29 @@ export type TInboxIssueSortingOrderByQueryParam = {
|
||||
};
|
||||
|
||||
export type TInboxIssuesQueryParams = {
|
||||
[key in TInboxIssueFilter]: string;
|
||||
[key in keyof TInboxIssueFilter]: string;
|
||||
} & TInboxIssueSortingOrderByQueryParam & {
|
||||
per_page: number;
|
||||
cursor: string;
|
||||
};
|
||||
|
||||
// inbox issue types
|
||||
|
||||
export type TInboxDuplicateIssueDetails = {
|
||||
id: string;
|
||||
sequence_id: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
export type TInboxIssue = {
|
||||
id: string;
|
||||
status: TInboxIssueStatus;
|
||||
snoozed_till: Date | null;
|
||||
duplicate_to: string | null;
|
||||
snoozed_till: Date | undefined;
|
||||
duplicate_to: string | undefined;
|
||||
source: string;
|
||||
issue: TIssue;
|
||||
created_by: string;
|
||||
duplicate_issue_detail: TInboxDuplicateIssueDetails | undefined;
|
||||
};
|
||||
|
||||
export type TInboxIssuePaginationInfo = TPaginationInfo & {
|
||||
|
||||
Reference in New Issue
Block a user