feat: workspace global view, style: spreadsheet view revamp (#2273)
* chore: workspace view types, services and hooks added * style: spreadsheet view revamp and code refactor * feat: workspace view * fix: build fix * chore: sidebar workspace issues redirection updated
This commit is contained in:
parent
a187e7765c
commit
3a6d72e4b6
61 changed files with 4253 additions and 733 deletions
3
web/types/view-props.d.ts
vendored
3
web/types/view-props.d.ts
vendored
|
|
@ -35,9 +35,10 @@ export interface IIssueFilterOptions {
|
|||
priority?: string[] | null;
|
||||
start_date?: string[] | null;
|
||||
state?: string[] | null;
|
||||
state_group?: TStateGroups[] | null;
|
||||
state_group?: string[] | null;
|
||||
subscriber?: string[] | null;
|
||||
target_date?: string[] | null;
|
||||
project?: string[] | null;
|
||||
}
|
||||
|
||||
export interface IIssueDisplayFilterOptions {
|
||||
|
|
|
|||
12
web/types/views.d.ts
vendored
12
web/types/views.d.ts
vendored
|
|
@ -1,3 +1,5 @@
|
|||
import { IIssueFilterOptions } from "./view-props";
|
||||
|
||||
export interface IView {
|
||||
id: string;
|
||||
access: string;
|
||||
|
|
@ -8,10 +10,15 @@ export interface IView {
|
|||
updated_by: string;
|
||||
name: string;
|
||||
description: string;
|
||||
query: IQuery;
|
||||
query_data: IQuery;
|
||||
query: IIssueFilterOptions;
|
||||
query_data: IIssueFilterOptions;
|
||||
project: string;
|
||||
workspace: string;
|
||||
workspace_detail: {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface IQuery {
|
||||
|
|
@ -23,4 +30,5 @@ export interface IQuery {
|
|||
start_date: string[] | null;
|
||||
target_date: string[] | null;
|
||||
type: "active" | "backlog" | null;
|
||||
project: string[] | null;
|
||||
}
|
||||
|
|
|
|||
11
web/types/workspace.d.ts
vendored
11
web/types/workspace.d.ts
vendored
|
|
@ -1,13 +1,4 @@
|
|||
import type {
|
||||
IIssueFilterOptions,
|
||||
IProjectMember,
|
||||
IUser,
|
||||
IUserMemberLite,
|
||||
IWorkspaceViewProps,
|
||||
TIssueGroupByOptions,
|
||||
TIssueOrderByOptions,
|
||||
TIssueViewOptions,
|
||||
} from "types";
|
||||
import type { IProjectMember, IUser, IUserMemberLite, IWorkspaceViewProps } from "types";
|
||||
|
||||
export interface IWorkspace {
|
||||
readonly id: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue