From a5c8c790e991e4789a5fbfe24ef644343cd93f72 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Thu, 23 May 2024 12:46:50 +0530 Subject: [PATCH] chore: add conversation id --- .../widgets/conversation/linear/CreateOrLinkIssue.vue | 1 + app/javascript/dashboard/i18n/locale/en/integrations.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/linear/CreateOrLinkIssue.vue b/app/javascript/dashboard/components/widgets/conversation/linear/CreateOrLinkIssue.vue index f2b964640..3cff8d297 100644 --- a/app/javascript/dashboard/components/widgets/conversation/linear/CreateOrLinkIssue.vue +++ b/app/javascript/dashboard/components/widgets/conversation/linear/CreateOrLinkIssue.vue @@ -71,6 +71,7 @@ const title = computed(() => { const { meta: { sender: { name = null } = {} } = {}, created_at: createdAt } = props.conversation; return t('INTEGRATION_SETTINGS.LINEAR.LINK.LINK_TITLE', { + conversationId: props.conversation.id, name, timeAgo: timeAgo(createdAt), }); diff --git a/app/javascript/dashboard/i18n/locale/en/integrations.json b/app/javascript/dashboard/i18n/locale/en/integrations.json index 522f1e942..3adeb224b 100644 --- a/app/javascript/dashboard/i18n/locale/en/integrations.json +++ b/app/javascript/dashboard/i18n/locale/en/integrations.json @@ -218,7 +218,7 @@ "ERROR": "There was an error fetching the linear issues, please try again", "LINK_SUCCESS": "Issue linked successfully", "LINK_ERROR": "There was an error linking the issue, please try again", - "LINK_TITLE": "%{name}: Created %{timeAgo}" + "LINK_TITLE": "#%{conversationId}: %{name}- Created %{timeAgo}" }, "ADD_OR_LINK": { "TITLE": "Create/link linear issue",