diff --git a/web/components/core/activity.tsx b/web/components/core/activity.tsx index 65a2d9831..b5a666774 100644 --- a/web/components/core/activity.tsx +++ b/web/components/core/activity.tsx @@ -31,23 +31,25 @@ export const IssueLink = ({ activity }: { activity: IIssueActivity }) => { const { workspaceSlug } = router.query; return ( - - - {activity.issue_detail ? `${activity.project_detail.identifier}-${activity.issue_detail.sequence_id}` : "Issue"}{" "} - {activity.issue_detail?.name} - + + {activity?.issue_detail ? ( + + {`${activity.project_detail.identifier}-${activity.issue_detail.sequence_id}`}{" "} + {activity.issue_detail?.name} + + ) : ( + + {" an Issue"}{" "} + + )} ); }; diff --git a/web/components/issues/issue-layouts/kanban/default.tsx b/web/components/issues/issue-layouts/kanban/default.tsx index af1440236..6f495bcbb 100644 --- a/web/components/issues/issue-layouts/kanban/default.tsx +++ b/web/components/issues/issue-layouts/kanban/default.tsx @@ -84,7 +84,7 @@ const GroupByKanBan: React.FC = observer((props) => { const isGroupByCreatedBy = group_by === "created_by"; return ( -
+
{list && list.length > 0 && list.map((_list: IGroupByColumn) => { diff --git a/web/components/issues/issue-layouts/kanban/kanban-group.tsx b/web/components/issues/issue-layouts/kanban/kanban-group.tsx index 0858190d3..76d456b5e 100644 --- a/web/components/issues/issue-layouts/kanban/kanban-group.tsx +++ b/web/components/issues/issue-layouts/kanban/kanban-group.tsx @@ -104,13 +104,13 @@ export const KanbanGroup = (props: IKanbanGroup) => { }; return ( -
+
{(provided: any, snapshot: any) => (
diff --git a/web/components/issues/peek-overview/activity/card.tsx b/web/components/issues/peek-overview/activity/card.tsx index 42408f48b..09b4b39c1 100644 --- a/web/components/issues/peek-overview/activity/card.tsx +++ b/web/components/issues/peek-overview/activity/card.tsx @@ -48,7 +48,9 @@ export const IssueActivityCard: FC = (props) => { issueActivity.map((activityId, index) => { // determines what type of action is performed const activityItem = activity.getActivityById(activityId) as IIssueActivity; - const message = activityItem.field ? : "created the issue."; + const message = activityItem.field ? : + created + ; if ("field" in activityItem && activityItem.field !== "updated_by") { return ( diff --git a/web/pages/profile/activity.tsx b/web/pages/profile/activity.tsx index 65ccdcdc8..da3a55f9d 100644 --- a/web/pages/profile/activity.tsx +++ b/web/pages/profile/activity.tsx @@ -9,7 +9,7 @@ import { UserService } from "services/user.service"; // layouts import { ProfileSettingsLayout } from "layouts/settings-layout"; // components -import { ActivityIcon, ActivityMessage } from "components/core"; +import { ActivityIcon, ActivityMessage, IssueLink } from "components/core"; import { RichReadOnlyEditor } from "@plane/rich-text-editor"; // icons import { History, MessageSquare } from "lucide-react"; @@ -98,21 +98,13 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => { activityItem.field !== "modules" && activityItem.field !== "attachment" && activityItem.field !== "link" && - activityItem.field !== "estimate" ? ( - - created{" "} - - - this issue. - - + activityItem.field !== "estimate" && + !activityItem.field ? ( + + created - ) : activityItem.field ? ( - ) : ( - "created the issue." + ); if ("field" in activityItem && activityItem.field !== "updated_by") {