diff --git a/frontend/src/app/boards/[boardId]/page.tsx b/frontend/src/app/boards/[boardId]/page.tsx index 110660a3..f3fcdc61 100644 --- a/frontend/src/app/boards/[boardId]/page.tsx +++ b/frontend/src/app/boards/[boardId]/page.tsx @@ -313,22 +313,48 @@ const LiveFeedCard = memo(function LiveFeedCard({ comment, taskTitle, authorLabel, + onViewTask, }: { comment: TaskComment; taskTitle: string; authorLabel: string; + onViewTask?: () => void; }) { const message = (comment.message ?? "").trim(); return (
-

{taskTitle}

+

{authorLabel}

- - {formatShortTimestamp(comment.created_at)} - +
+ + {formatShortTimestamp(comment.created_at)} + + {onViewTask ? ( + + ) : null} +
{message ? (
@@ -2365,22 +2391,26 @@ export default function BoardDetailPage() {

) : (
- {orderedLiveFeed.map((comment) => ( - - ))} + {orderedLiveFeed.map((comment) => { + const taskId = comment.task_id; + return ( + openComments({ id: taskId }) : undefined + } + /> + ); + })}
)}