import { FC } from "react"; import Link from "next/link"; import { History } from "lucide-react"; // packages import { Loader, Tooltip } from "@plane/ui"; // components import { ActivityIcon, ActivityMessage } from "components/core"; import { IssueCommentCard } from "./comment-card"; // helpers import { renderFormattedTime, renderFormattedDate, calculateTimeAgo } from "helpers/date-time.helper"; // types import { IIssueActivity, IUser } from "@plane/types"; import { useIssueDetail } from "hooks/store"; interface IIssueActivityCard { workspaceSlug: string; projectId: string; issueId: string; user: IUser | null; issueActivity: string[] | undefined; issueCommentUpdate: (comment: any) => void; issueCommentRemove: (commentId: string) => void; issueCommentReactionCreate: (commentId: string, reaction: string) => void; issueCommentReactionRemove: (commentId: string, reaction: string) => void; } export const IssueActivityCard: FC = (props) => { const { workspaceSlug, projectId, issueId, user, issueActivity, issueCommentUpdate, issueCommentRemove, issueCommentReactionCreate, issueCommentReactionRemove, } = props; const { activity } = useIssueDetail(); return (
{/* FIXME: --issue-detail-- */} {/* */}
); };