ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: web-доступ к внешним контурам и исправление модалки запроса

This commit is contained in:
DCCONSTRUCTIONS
2026-04-19 00:07:10 +03:00
parent 6d67571b27
commit 3fe3539614
21 changed files with 707 additions and 42 deletions
@@ -335,6 +335,8 @@ export default {
add_due_date: "Add due date",
duplicate_of: "Duplicate of",
},
readonly_source_view:
"This request is shown in source-side mode. Direct access to the target contour is not required, and detailed activity and attachments will be synchronized in the next stage.",
traceability: {
title: "Routing",
description:
@@ -492,6 +492,8 @@ export default {
add_due_date: "Добавить срок выполнения",
duplicate_of: "Дубликат",
},
readonly_source_view:
"Запрос показан в source-side режиме. Прямой доступ к целевому контуру не требуется, а подробная активность и вложения будут синхронизированы следующим этапом.",
traceability: {
title: "Маршрутизация",
description: "Здесь отображается, из какого контура ушёл запрос, куда он направлен и с каким связанным элементом он сейчас работает.",
@@ -6,6 +6,7 @@
import type { TPaginationInfo } from "./common";
import type { TIssue } from "./issues/issue";
import type { IIssueLabel } from "./issues";
import type { IProjectLite } from "./project";
import type { IStateLite } from "./state";
import type { IUser } from "./users";
@@ -37,3 +38,13 @@ export type TExternalContourRequest = {
export type TExternalContourRequestResponse = TPaginationInfo & {
results: TExternalContourRequest[];
};
export type TExternalContourTargetProject = IProjectLite & {
inbox_view: boolean;
};
export type TExternalContourTargetOptions = {
project: TExternalContourTargetProject;
member_ids: string[];
labels: Pick<IIssueLabel, "id" | "name" | "color" | "parent" | "project_id" | "workspace_id" | "sort_order">[];
};