Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: improve task activity grouping by removing restrictive task ID check (#17257)

Danny Xuf183eebe9ba5
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts
index 379b4ed93b..0e1d068c0a 100644
--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts
+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts
@@ -1,4 +1,3 @@
-import { isEqual } from "lodash-es";
import { IssueCommentType, getIssueCommentType } from "@/store";
import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";
import { isNullOrUndefined } from "@/utils";
@@ -25,9 +24,8 @@ export const isSimilarIssueComment = (
if (!fromTaskUpdate || !toTaskUpdate) {
return false;
}
- if (!isEqual(fromTaskUpdate.tasks, toTaskUpdate.tasks)) {
- return false;
- }
+ // Group task updates by status or sheet changes, regardless of specific task IDs
+ // This allows grouping of "completed Task d1", "completed Task d2", etc.
if (
fromTaskUpdate.toSheet &&
fromTaskUpdate.toSheet === toTaskUpdate.toSheet