refactor: issue peek overview (#3001)
* refactor: peek overview components * fix: issue reactions * chore: update comment types * fix: access sepcifier value * chore: remove unused vars * fix: build errors * build-error: build error resolved --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com> Co-authored-by: gurusainath <gurusainath007@gmail.com>
This commit is contained in:
parent
c455f03ced
commit
539c7a3455
55 changed files with 526 additions and 455 deletions
15
web/types/issues.d.ts
vendored
15
web/types/issues.d.ts
vendored
|
|
@ -181,18 +181,20 @@ export interface IIssueLabelTree extends IIssueLabel {
|
|||
}
|
||||
|
||||
export interface IIssueActivity {
|
||||
access?: "EXTERNAL" | "INTERNAL";
|
||||
actor: string;
|
||||
actor_detail: IUserLite;
|
||||
attachments: any[];
|
||||
comment: string;
|
||||
comment?: string;
|
||||
comment_html?: string;
|
||||
comment_stripped?: string;
|
||||
created_at: Date;
|
||||
created_by: string;
|
||||
field: string | null;
|
||||
id: string;
|
||||
issue: string | null;
|
||||
issue_comment: string | null;
|
||||
issue_comment?: string | null;
|
||||
issue_detail: {
|
||||
description: any;
|
||||
description_html: string;
|
||||
id: string;
|
||||
name: string;
|
||||
|
|
@ -212,13 +214,6 @@ export interface IIssueActivity {
|
|||
workspace_detail?: IWorkspaceLite;
|
||||
}
|
||||
|
||||
export interface IIssueComment extends IIssueActivity {
|
||||
access: "EXTERNAL" | "INTERNAL";
|
||||
comment_html: string;
|
||||
comment_json: any;
|
||||
comment_stripped: string;
|
||||
}
|
||||
|
||||
export interface IIssueLite {
|
||||
id: string;
|
||||
name: string;
|
||||
|
|
|
|||
21
web/types/reaction.d.ts
vendored
21
web/types/reaction.d.ts
vendored
|
|
@ -1,14 +1,17 @@
|
|||
export interface IssueReaction {
|
||||
id: string;
|
||||
created_at: Date;
|
||||
updated_at: Date;
|
||||
reaction: string;
|
||||
created_by: string;
|
||||
updated_by: string;
|
||||
project: string;
|
||||
workspace: string;
|
||||
import { IUserLite } from "./users";
|
||||
|
||||
export interface IIssueReaction {
|
||||
actor: string;
|
||||
actor_detail: IUserLite;
|
||||
created_at: Date;
|
||||
created_by: string;
|
||||
id: string;
|
||||
issue: string;
|
||||
project: string;
|
||||
reaction: string;
|
||||
updated_at: Date;
|
||||
updated_by: string;
|
||||
workspace: string;
|
||||
}
|
||||
|
||||
export interface IssueReactionForm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue