Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
refactor: remove similar activities grouping from issue comments (#18696)
Danny Xueda9aca70e29
diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vueindex 7a862466a4..62c03b94f9 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue@@ -9,35 +9,34 @@<IssueCommentViewclass="group"v-for="(item, index) in issueComments"- :key="item.comment.name"+ :key="item.name":issue="issue":index="index":is-last="index === issueComments.length - 1"- :issue-comment="item.comment"- :similar="item.similar"+ :issue-comment="item">- <template v-if="allowEditIssueComment(item.comment)" #subject-suffix>+ <template v-if="allowEditIssueComment(item)" #subject-suffix><!-- Edit Comment Button--><NButtonv-if="!state.editCommentMode"quaternarysize="tiny"class="text-gray-500 hover:text-gray-700"- @click.prevent="onUpdateComment(item.comment)"+ @click.prevent="onUpdateComment(item)"><PencilIcon class="w-3.5 h-3.5" /></NButton></template>- <template v-if="item.comment.comment" #comment>+ <template v-if="item.comment" #comment><MarkdownEditor:mode="state.editCommentMode &&- state.activeComment?.name === item.comment.name+ state.activeComment?.name === item.name? 'editor': 'preview'"- :content="item.comment.comment"+ :content="item.comment":project="project":maxlength="65536":max-height="Number.MAX_SAFE_INTEGER"@@ -47,7 +46,7 @@<divv-if="state.editCommentMode &&- state.activeComment?.name === item.comment.name+ state.activeComment?.name === item.name"class="flex gap-x-2 mt-2 items-center justify-end">@@ -106,6 +105,8 @@ import MarkdownEditor from "@/components/MarkdownEditor";import UserAvatar from "@/components/User/UserAvatar.vue";import {extractUserId,+ getIssueCommentType,+ IssueCommentType,useCurrentProjectV1,useCurrentUserV1,useIssueCommentStore,@@ -115,12 +116,7 @@ import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";import { ListIssueCommentsRequestSchema } from "@/types/proto-es/v1/issue_service_pb";import { hasProjectPermissionV2 } from "@/utils";import { useIssueContext } from "../../logic";-import {- type DistinctIssueComment,- IssueCommentView,- isSimilarIssueComment,- isUserEditableComment,-} from "./IssueCommentView";+import { IssueCommentView } from "./IssueCommentView";import IssueCreatedCommentV1 from "./IssueCommentView/IssueCreatedCommentV1.vue";interface LocalState {@@ -156,24 +152,8 @@ const prepareIssueComments = async () => {watchEffect(prepareIssueComments);-const issueComments = computed((): DistinctIssueComment[] => {- const list = issueCommentStore.getIssueComments(issue.value.name);- const distinctIssueComments: DistinctIssueComment[] = [];- for (let i = 0; i < list.length; i++) {- const comment = list[i];- if (distinctIssueComments.length === 0) {- distinctIssueComments.push({ comment, similar: [] });- continue;- }-- const prev = distinctIssueComments[distinctIssueComments.length - 1];- if (isSimilarIssueComment(prev.comment, comment)) {- prev.similar.push(comment);- } else {- distinctIssueComments.push({ comment, similar: [] });- }- }- return distinctIssueComments;+const issueComments = computed(() => {+ return issueCommentStore.getIssueComments(issue.value.name);});const allowCreateComment = computed(() => {@@ -196,7 +176,13 @@ const doCreateComment = async (comment: string) => {};const allowEditIssueComment = (comment: IssueComment) => {- if (!isUserEditableComment(comment)) {+ const commentType = getIssueCommentType(comment);+ // Check if comment is user-editable+ const isEditable =+ commentType === IssueCommentType.USER_COMMENT ||+ (commentType === IssueCommentType.APPROVAL && comment.comment !== "");++ if (!isEditable) {return false;}if (currentUser.value.email === extractUserId(comment.creator)) {diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vueindex e1b48ba829..a79f9d0dcb 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentAction.vue@@ -45,14 +45,6 @@>({{ $t("common.edited") }})</span>-- <span v-if="similar.length > 0" class="text-xs text-gray-500">- {{- $t("activity.n-similar-activities", {- count: similar.length + 1,- })- }}- </span></div><slot name="subject-suffix"></slot>@@ -86,7 +78,6 @@ defineProps<{issue: ComposedIssue;index: number;issueComment: IssueComment;- similar: IssueComment[];rollout?: Rollout;}>();diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentView.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentView.vueindex 7137042e90..7d47555c0a 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentView.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCommentView.vue@@ -15,7 +15,6 @@:issue="issue":index="index":issue-comment="issueComment"- :similar="similar"><template v-for="(_, name) in $slots" :key="name" #[name]><slot :name="name" />@@ -38,7 +37,6 @@ defineProps<{isLast: boolean;index: number;issueComment: IssueComment;- similar: IssueComment[];rollout?: Rollout;}>();</script>diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vueindex d7ace66e89..7c98f5f5d9 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue@@ -96,6 +96,7 @@ import UserAvatar from "@/components/User/UserAvatar.vue";import { issueServiceClientConnect, planServiceClientConnect } from "@/grpcweb";import { useCurrentProjectV1, useCurrentUserV1, useUserStore } from "@/store";import { type ComposedIssue, getTimeForPbTimestampProtoEs } from "@/types";+import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";import { UpdateIssueRequestSchema } from "@/types/proto-es/v1/issue_service_pb";import {PlanSchema,@@ -103,11 +104,10 @@ import {} from "@/types/proto-es/v1/plan_service_pb";import { hasProjectPermissionV2 } from "@/utils";import ActionCreator from "./ActionCreator.vue";-import type { DistinctIssueComment } from "./common";const props = defineProps<{issue: ComposedIssue;- issueComments: DistinctIssueComment[];+ issueComments: IssueComment[];}>();const emit = defineEmits<{diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.tsdeleted file mode 100644index 4b6fc371c6..0000000000--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/common.ts+++ /dev/null@@ -1,73 +0,0 @@-import { getIssueCommentType, IssueCommentType } from "@/store";-import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";-import { isNullOrUndefined } from "@/utils";--export type DistinctIssueComment = {- comment: IssueComment;- similar: IssueComment[];-};--export const isSimilarIssueComment = (- a: IssueComment,- b: IssueComment-): boolean => {- const aType = getIssueCommentType(a);- const bType = getIssueCommentType(b);- if (aType !== bType || a.creator !== b.creator) {- return false;- }-- if (aType === IssueCommentType.PLAN_SPEC_UPDATE) {- const fromPlanSpecUpdate =- a.event?.case === "planSpecUpdate" ? a.event.value : null;- const toPlanSpecUpdate =- b.event?.case === "planSpecUpdate" ? b.event.value : null;- if (!fromPlanSpecUpdate || !toPlanSpecUpdate) {- return false;- }- // Group plan spec updates by sheet changes- if (- fromPlanSpecUpdate.toSheet &&- fromPlanSpecUpdate.toSheet === toPlanSpecUpdate.toSheet- ) {- return true;- }- }- if (aType === IssueCommentType.ISSUE_UPDATE) {- const aIssueUpdate = a.event?.case === "issueUpdate" ? a.event.value : null;- const bIssueUpdate = b.event?.case === "issueUpdate" ? b.event.value : null;- if (- !isNullOrUndefined(aIssueUpdate?.toTitle) &&- !isNullOrUndefined(bIssueUpdate?.toTitle)- ) {- return true;- }- if (- !isNullOrUndefined(aIssueUpdate?.toDescription) &&- !isNullOrUndefined(bIssueUpdate?.toDescription)- ) {- return true;- }- if (- !isNullOrUndefined(aIssueUpdate?.toLabels) &&- !isNullOrUndefined(bIssueUpdate?.toLabels)- ) {- return true;- }- }-- return false;-};--export const isUserEditableComment = (comment: IssueComment) => {- const commentType = getIssueCommentType(comment);- // Always allow editing user comments.- if (commentType === IssueCommentType.USER_COMMENT) {- return true;- }- // For approval comments, we allow editing if the comment is not empty.- if (commentType === IssueCommentType.APPROVAL && comment.comment !== "") {- return true;- }- return false;-};diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/index.ts b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/index.tsindex b66be42005..da913ab5a2 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/index.ts+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/index.ts@@ -1,4 +1,3 @@import IssueCommentView from "./IssueCommentView.vue";-export * from "./common";export { IssueCommentView };diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentList.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentList.vueindex 5aa6bfaf87..cc6353a37b 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentList.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentList.vue@@ -4,30 +4,29 @@<IssueDescriptionComment :issue-comments="issueComments" /><IssueCommentViewv-for="(item, index) in issueComments"- :key="item.comment.name"+ :key="item.name"class="group":is-last="index === issueComments.length - 1"- :issue-comment="item.comment"- :similar="item.similar"+ :issue-comment="item">- <template v-if="allowEditComment(item.comment)" #subject-suffix>+ <template v-if="allowEditComment(item)" #subject-suffix><NButtonv-if="!commentEdit.state.editMode"quaternarysize="tiny"class="text-gray-500 hover:text-gray-700"- @click.prevent="commentEdit.startEditComment(item.comment)"+ @click.prevent="commentEdit.startEditComment(item)"><PencilIcon class="w-3.5 h-3.5" /></NButton></template>- <template v-if="item.comment.comment" #comment>+ <template v-if="item.comment" #comment><EditableMarkdownContent- :content="item.comment.comment"+ :content="item.comment":edit-content="commentEdit.state.editContent":project="project"- :is-editing="isEditingComment(item.comment.name)"+ :is-editing="isEditingComment(item.name)":allow-save="commentEdit.allowUpdateComment.value"@update:edit-content="commentEdit.state.editContent = $event"@save="commentEdit.saveEditComment"@@ -81,11 +80,7 @@ import { usePlanContext } from "@/components/Plan/logic";import UserAvatar from "@/components/User/UserAvatar.vue";import { useCurrentProjectV1, useIssueCommentStore } from "@/store";import { ListIssueCommentsRequestSchema } from "@/types/proto-es/v1/issue_service_pb";-import {- groupIssueComments,- IssueCommentView,- useCommentEdit,-} from "./IssueCommentView";+import { IssueCommentView, useCommentEdit } from "./IssueCommentView";import EditableMarkdownContent from "./IssueCommentView/EditableMarkdownContent.vue";import IssueDescriptionComment from "./IssueCommentView/IssueDescriptionComment.vue";@@ -122,8 +117,7 @@ events.on("perform-issue-status-action", fetchIssueComments);const issueComments = computed(() => {if (!issueName.value) return [];- const list = issueCommentStore.getIssueComments(issueName.value);- return groupIssueComments(list);+ return issueCommentStore.getIssueComments(issueName.value);});const handleCreateComment = async () => {diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentAction.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentAction.vueindex ffac079d22..59e2be6985 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentAction.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentAction.vue@@ -44,14 +44,6 @@>({{ $t("common.edited") }})</span>-- <span v-if="similar.length > 0" class="text-xs text-gray-500">- {{- $t("activity.n-similar-activities", {- count: similar.length + 1,- })- }}- </span></div><slot name="subject-suffix"></slot>@@ -82,7 +74,6 @@ import ActionSentence from "./ActionSentence.vue";defineProps<{issueComment: IssueComment;- similar: IssueComment[];}>();const userStore = useUserStore();diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentView.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentView.vueindex ac36ce523b..002320b986 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentView.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueCommentView.vue@@ -13,7 +13,6 @@<IssueCommentAction:issue-comment="issueComment"- :similar="similar"><template v-for="(_, name) in $slots" :key="name" #[name]><slot :name="name" />@@ -32,6 +31,5 @@ import IssueCommentAction from "./IssueCommentAction.vue";defineProps<{isLast: boolean;issueComment: IssueComment;- similar: IssueComment[];}>();</script>diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vueindex 4b752d39f8..5344aadf94 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/IssueDescriptionComment.vue@@ -79,6 +79,7 @@ import UserAvatar from "@/components/User/UserAvatar.vue";import { issueServiceClientConnect, planServiceClientConnect } from "@/grpcweb";import { useCurrentProjectV1, useCurrentUserV1, useUserStore } from "@/store";import { getTimeForPbTimestampProtoEs } from "@/types";+import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";import {IssueSchema,UpdateIssueRequestSchema,@@ -89,11 +90,10 @@ import {} from "@/types/proto-es/v1/plan_service_pb";import { hasProjectPermissionV2, isValidPlanName } from "@/utils";import ActionCreator from "./ActionCreator.vue";-import type { DistinctIssueComment } from "./common";import EditableMarkdownContent from "./EditableMarkdownContent.vue";defineProps<{- issueComments: DistinctIssueComment[];+ issueComments: IssueComment[];}>();const { t } = useI18n();diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/common.ts b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/common.tsdeleted file mode 100644index f6b7ecb88c..0000000000--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/common.ts+++ /dev/null@@ -1,103 +0,0 @@-import { getIssueCommentType, IssueCommentType } from "@/store";-import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";-import { isNullOrUndefined } from "@/utils";--export interface DistinctIssueComment {- comment: IssueComment;- similar: IssueComment[];-}--const isSimilarPlanSpecUpdate = (a: IssueComment, b: IssueComment): boolean => {- const fromPlanSpecUpdate =- a.event?.case === "planSpecUpdate" ? a.event.value : null;- const toPlanSpecUpdate =- b.event?.case === "planSpecUpdate" ? b.event.value : null;- if (!fromPlanSpecUpdate || !toPlanSpecUpdate) {- return false;- }- // Group plan spec updates by sheet changes- if (- fromPlanSpecUpdate.toSheet &&- fromPlanSpecUpdate.toSheet === toPlanSpecUpdate.toSheet- ) {- return true;- }- return false;-};--const isSimilarIssueUpdate = (a: IssueComment, b: IssueComment): boolean => {- const aIssueUpdate = a.event?.case === "issueUpdate" ? a.event.value : null;- const bIssueUpdate = b.event?.case === "issueUpdate" ? b.event.value : null;- if (- !isNullOrUndefined(aIssueUpdate?.toTitle) &&- !isNullOrUndefined(bIssueUpdate?.toTitle)- ) {- return true;- }- if (- !isNullOrUndefined(aIssueUpdate?.toDescription) &&- !isNullOrUndefined(bIssueUpdate?.toDescription)- ) {- return true;- }- if (- !isNullOrUndefined(aIssueUpdate?.toLabels) &&- !isNullOrUndefined(bIssueUpdate?.toLabels)- ) {- return true;- }- return false;-};--export const isSimilarIssueComment = (- a: IssueComment,- b: IssueComment-): boolean => {- const aType = getIssueCommentType(a);- const bType = getIssueCommentType(b);- if (aType !== bType || a.creator !== b.creator) {- return false;- }-- if (aType === IssueCommentType.PLAN_SPEC_UPDATE) {- return isSimilarPlanSpecUpdate(a, b);- }- if (aType === IssueCommentType.ISSUE_UPDATE) {- return isSimilarIssueUpdate(a, b);- }-- return false;-};--export const isUserEditableComment = (comment: IssueComment): boolean => {- const commentType = getIssueCommentType(comment);- // Always allow editing user comments.- if (commentType === IssueCommentType.USER_COMMENT) {- return true;- }- // For approval comments, we allow editing if the comment is not empty.- if (commentType === IssueCommentType.APPROVAL && comment.comment !== "") {- return true;- }- return false;-};--export const groupIssueComments = (- comments: IssueComment[]-): DistinctIssueComment[] => {- const result: DistinctIssueComment[] = [];- for (const comment of comments) {- if (result.length === 0) {- result.push({ comment, similar: [] });- continue;- }-- const prev = result[result.length - 1];- if (isSimilarIssueComment(prev.comment, comment)) {- prev.similar.push(comment);- } else {- result.push({ comment, similar: [] });- }- }- return result;-};diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/index.ts b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/index.tsindex 55e8ef48e1..29bc214b37 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/index.ts+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/index.ts@@ -1,5 +1,4 @@import IssueCommentView from "./IssueCommentView.vue";-export * from "./common";export * from "./useCommentEdit";export { IssueCommentView };diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/useCommentEdit.ts b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/useCommentEdit.tsindex cc479f3213..6b8f6618e0 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/useCommentEdit.ts+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/IssueCommentView/useCommentEdit.ts@@ -1,11 +1,16 @@import type { ComputedRef, Ref } from "vue";import { computed, reactive } from "vue";import { usePlanContext } from "@/components/Plan/logic";-import { extractUserId, useCurrentUserV1, useIssueCommentStore } from "@/store";+import {+ extractUserId,+ getIssueCommentType,+ IssueCommentType,+ useCurrentUserV1,+ useIssueCommentStore,+} from "@/store";import type { IssueComment } from "@/types/proto-es/v1/issue_service_pb";import type { Project } from "@/types/proto-es/v1/project_service_pb";import { hasProjectPermissionV2 } from "@/utils";-import { isUserEditableComment } from "./common";interface CommentEditState {editMode: boolean;@@ -32,7 +37,13 @@ export function useCommentEdit(project: Ref<Project> | ComputedRef<Project>) {});const allowEditComment = (comment: IssueComment): boolean => {- if (!isUserEditableComment(comment)) {+ const commentType = getIssueCommentType(comment);+ // Check if comment is user-editable+ const isEditable =+ commentType === IssueCommentType.USER_COMMENT ||+ (commentType === IssueCommentType.APPROVAL && comment.comment !== "");++ if (!isEditable) {return false;}if (currentUser.value.email === extractUserId(comment.creator)) {diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 66dcea954e..a281814a41 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -939,8 +939,7 @@"resolved-issue": "resolved issue","canceled-issue": "canceled issue","xxx-automatically": "{verb} automatically"- },- "n-similar-activities": "({count} similar activity) | ({count} similar activities)"+ }},"issue": {"labels": "Issue Labels",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 59d716721a..d68e5183b7 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -939,8 +939,7 @@"resolved-issue": "incidencia resuelta","canceled-issue": "incidencia cancelada","xxx-automatically": "{verb} automáticamente"- },- "n-similar-activities": "({count} actividad similar) | ({count} actividades similares)"+ }},"issue": {"labels": "Etiquetas de problema",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex 28b90db7ca..740a5e7fda 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -939,8 +939,7 @@"resolved-issue": "イシューを完了する","canceled-issue": "イシューをキャンセルする","xxx-automatically": "自動{verb}"- },- "n-similar-activities": "({count} 件の同様のイベント)"+ }},"issue": {"labels": "イシューラベル",diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.jsonindex a9eea17438..7dcd57c757 100644--- a/frontend/src/locales/vi-VN.json+++ b/frontend/src/locales/vi-VN.json@@ -939,8 +939,7 @@"resolved-issue": "đã giải quyết vấn đề","canceled-issue": "đã hủy vấn đề","xxx-automatically": "{verb} tự động"- },- "n-similar-activities": "({count} hoạt động tương tự) | ({count} hoạt động tương tự)"+ }},"issue": {"labels": "Nhãn vấn đề",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 7012ea156b..ab0c6de9bb 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -939,8 +939,7 @@"resolved-issue": "完成工单","canceled-issue": "取消工单","xxx-automatically": "自动{verb}"- },- "n-similar-activities": "({count} 个相似的活动)"+ }},"issue": {"labels": "工单标签",