[WEB-2568] chore: minor improvements for issue activity component. (#5725)
This commit is contained in:
parent
bcd46b6aa9
commit
e9d5db0093
5 changed files with 16 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
export * from "./issue-identifier";
|
||||
export * from "./issue-properties-activity";
|
||||
export * from "./issue-type-switcher";
|
||||
export * from "./issue-type-activity";
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
"use client";
|
||||
|
||||
import { FC } from "react";
|
||||
import { observer } from "mobx-react";
|
||||
|
||||
export type TIssueTypeActivity = { activityId: string; showIssue?: boolean; ends: "top" | "bottom" | undefined };
|
||||
|
||||
export const IssueTypeActivity: FC<TIssueTypeActivity> = observer(() => <></>);
|
||||
|
|
@ -2,7 +2,9 @@ import { FC } from "react";
|
|||
import { observer } from "mobx-react";
|
||||
// hooks
|
||||
import { useIssueDetail } from "@/hooks/store";
|
||||
// components
|
||||
// plane web components
|
||||
import { IssueTypeActivity } from "@/plane-web/components/issues/issue-details";
|
||||
// local components
|
||||
import {
|
||||
IssueDefaultActivity,
|
||||
IssueNameActivity,
|
||||
|
|
@ -77,6 +79,8 @@ export const IssueActivityItem: FC<TIssueActivityItem> = observer((props) => {
|
|||
return <IssueArchivedAtActivity {...componentDefaultProps} />;
|
||||
case "inbox":
|
||||
return <IssueInboxActivity {...componentDefaultProps} />;
|
||||
case "type":
|
||||
return <IssueTypeActivity {...componentDefaultProps} />;
|
||||
default:
|
||||
return <></>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
export * from "./issue-identifier";
|
||||
export * from "./issue-properties-activity";
|
||||
export * from "./issue-type-switcher";
|
||||
export * from "./issue-type-activity";
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
export * from "ce/components/issues/issue-details";
|
||||
Loading…
Add table
Add a link
Reference in a new issue