chore: subscribed by me tab on my issues page (#1800)

* chore: add subscribed by me tab in my issues

* chore: update tab titles

* fix: build error
This commit is contained in:
Aaryan Khandelwal 2023-08-08 13:15:25 +05:30 committed by GitHub
parent 981acc81c1
commit 88e5a05253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 38 additions and 17 deletions

View file

@ -92,6 +92,7 @@ export const initialState: StateType = {
labels: null,
state: null,
state_group: null,
subscriber: null,
created_by: null,
target_date: null,
},

View file

@ -19,7 +19,7 @@ type IssueViewProps = {
orderBy: TIssueOrderByOptions;
showEmptyGroups: boolean;
showSubIssues: boolean;
filters: IIssueFilterOptions & { subscriber: string | null };
filters: IIssueFilterOptions;
properties: Properties;
};
@ -41,7 +41,7 @@ type ContextType = IssueViewProps & {
setOrderBy: (property: TIssueOrderByOptions) => void;
setShowEmptyGroups: (property: boolean) => void;
setShowSubIssues: (value: boolean) => void;
setFilters: (filters: Partial<IIssueFilterOptions & { subscriber: string | null }>) => void;
setFilters: (filters: Partial<IIssueFilterOptions>) => void;
setProperties: (key: keyof Properties) => void;
setIssueView: (property: TIssueViewOptions) => void;
};
@ -52,7 +52,7 @@ type StateType = {
orderBy: TIssueOrderByOptions;
showEmptyGroups: boolean;
showSubIssues: boolean;
filters: IIssueFilterOptions & { subscriber: string | null };
filters: IIssueFilterOptions;
properties: Properties;
};
type ReducerFunctionType = (state: StateType, action: ReducerActionType) => StateType;