ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: причина отклонения, reply и in-app уведомления

This commit is contained in:
DCCONSTRUCTIONS
2026-04-19 09:22:15 +03:00
parent 61a8625a5c
commit 0a584abf26
25 changed files with 623 additions and 32 deletions
@@ -389,6 +389,19 @@ export default {
unsupported_message:
"The “{action}” button is already placed in the right UI slot. Real routing and the reverse flow will be connected next.",
},
decline_modal: {
title: "Return the request for rework",
description: "Provide the reason for returning the request. This comment will be sent to the external contour and added to the target issue.",
placeholder: "Describe what needs to be revised or clarified",
submit: "Decline and return",
},
reply: {
title: "Reply to the external contour",
placeholder: "Write a comment that will be added to the target issue",
submit: "Send comment",
success: "The comment has been sent to the external contour.",
error: "The comment could not be sent to the external contour.",
},
},
deactivate_your_account: "Deactivate your account",
deactivate_your_account_description:
@@ -545,6 +545,19 @@ export default {
unsupported_message:
"Кнопка «{action}» уже стоит на правильном месте в UI. Реальную маршрутизацию и обратный поток подключим следующим этапом.",
},
decline_modal: {
title: "Вернуть запрос на доработку",
description: "Укажите причину возврата. Этот комментарий уйдёт во внешний контур и появится в целевой задаче.",
placeholder: "Напишите, что нужно доработать или уточнить",
submit: "Отклонить и вернуть",
},
reply: {
title: "Ответ во внешний контур",
placeholder: "Напишите комментарий, который уйдёт в целевую задачу",
submit: "Отправить комментарий",
success: "Комментарий отправлен во внешний контур.",
error: "Не удалось отправить комментарий во внешний контур.",
},
},
deactivate_your_account: "Деактивировать ваш аккаунт",
deactivate_your_account_description:
@@ -25,6 +25,12 @@ export type TNotificationIssueLite = {
name: string | undefined;
state_name: string | undefined;
state_group: string | undefined;
external_contour_request_id?: string | undefined;
target_issue_id?: string | undefined;
source_project_id?: string | undefined;
source_project_name?: string | undefined;
target_project_id?: string | undefined;
target_project_name?: string | undefined;
};
export type TNotificationData = {
@@ -57,6 +63,7 @@ export type TNotification = {
archived_at: string | undefined;
snoozed_till: string | undefined;
is_inbox_issue: boolean | undefined;
is_external_contour: boolean | undefined;
is_mentioned_notification: boolean | undefined;
workspace: string | undefined;
project: string | undefined;
@@ -103,4 +110,5 @@ export type TNotificationLite = {
notification_id: string | undefined;
issue_id: string | undefined;
is_inbox_issue: boolean | undefined;
is_external_contour: boolean | undefined;
};