From 7337707a4ed2561db3d2e30dea44bf47470be94a Mon Sep 17 00:00:00 2001 From: Saheb Giri <47132373+iamsahebgiri@users.noreply.github.com> Date: Wed, 29 Mar 2023 19:19:37 +0530 Subject: [PATCH] style: redesign issue activity (#579) * style: redesign the activity feed and refactor the code * chore: remove console logs * revert: back to remirror rich text editor * style: make icons, text smaller and reduce the spacing between logs --- apps/app/components/issues/activity.tsx | 320 ++++++++++-------- .../issues/comment/comment-card.tsx | 136 ++++---- 2 files changed, 250 insertions(+), 206 deletions(-) diff --git a/apps/app/components/issues/activity.tsx b/apps/app/components/issues/activity.tsx index 0f260b182..b845e12e9 100644 --- a/apps/app/components/issues/activity.tsx +++ b/apps/app/components/issues/activity.tsx @@ -24,8 +24,8 @@ import { BlockedIcon, BlockerIcon, CyclesIcon, TagIcon, UserGroupIcon } from "co import { renderShortNumericDateFormat, timeAgo } from "helpers/date-time.helper"; import { addSpaceIfCamelCase } from "helpers/string.helper"; // types -import { IIssueComment } from "types"; -import { PROJECT_ISSUES_ACTIVITY } from "constants/fetch-keys"; +import { IIssueComment, IIssueLabels } from "types"; +import { PROJECT_ISSUES_ACTIVITY, PROJECT_ISSUE_LABELS } from "constants/fetch-keys"; const activityDetails: { [key: string]: { @@ -35,54 +35,54 @@ const activityDetails: { } = { assignee: { message: "removed the assignee", - icon: , + icon: