diff --git a/apps/app/components/core/feeds.tsx b/apps/app/components/core/feeds.tsx new file mode 100644 index 000000000..9cd1e28d9 --- /dev/null +++ b/apps/app/components/core/feeds.tsx @@ -0,0 +1,277 @@ +import React from "react"; +import Image from "next/image"; + +// icons +import { + ArrowTopRightOnSquareIcon, + CalendarDaysIcon, + ChartBarIcon, + ChatBubbleBottomCenterTextIcon, + ChatBubbleLeftEllipsisIcon, + RectangleGroupIcon, + Squares2X2Icon, + UserIcon, +} from "@heroicons/react/24/outline"; +import { BlockedIcon, BlockerIcon, CyclesIcon, TagIcon, UserGroupIcon } from "components/icons"; +// helpers +import { renderShortNumericDateFormat, timeAgo } from "helpers/date-time.helper"; +import { addSpaceIfCamelCase } from "helpers/string.helper"; +// types +import RemirrorRichTextEditor from "components/rich-text-editor"; +import Link from "next/link"; + +const activityDetails: { + [key: string]: { + message?: string; + icon: JSX.Element; + }; +} = { + assignee: { + message: "removed the assignee", + icon: