Add "Editable" mixin to "Issue" class (TSK-19) (#2021)

This commit is contained in:
Sergei Ogorelkov 2022-06-07 15:54:37 +07:00 committed by GitHub
parent e89b7b7542
commit d1bd356f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 13 deletions

View File

@ -40,6 +40,7 @@
"@anticrm/model-chunter": "~0.6.0",
"@anticrm/workbench": "~0.6.1",
"@anticrm/view": "~0.6.0",
"@anticrm/model-presentation": "~0.6.0"
"@anticrm/model-presentation": "~0.6.0",
"@anticrm/setting": "~0.6.1"
}
}

View File

@ -38,6 +38,7 @@ import { createAction } from '@anticrm/model-view'
import workbench, { createNavigateAction } from '@anticrm/model-workbench'
import { Asset, IntlString } from '@anticrm/platform'
import view, { KeyBinding } from '@anticrm/view'
import setting from '@anticrm/setting'
import {
Document,
Issue,
@ -335,6 +336,8 @@ export function createModel (builder: Builder): void {
presenter: tracker.component.ProjectTitlePresenter
})
builder.mixin(tracker.class.Issue, core.class.Class, setting.mixin.Editable, {})
builder.createDoc(
workbench.class.Application,
core.space.Model,

View File

@ -73,10 +73,10 @@
"SubIssuesList": "Sub-issues ({subIssues})",
"OpenSubIssues": "Open sub-issues",
"AddSubIssues": "{subIssues, plural, =1 {Add sub-issue} other {+ Add sub-issues}}",
"BlockedBy": "",
"RelatedTo": "",
"Comments": "",
"Attachments": "",
"BlockedBy": "Blocked by",
"RelatedTo": "Related to",
"Comments": "Comments",
"Attachments": "Attachments",
"Labels": "Labels",
"Project": "Project",
"Space": "",
@ -84,7 +84,7 @@
"ChangeDueDate": "Change due date\u2026",
"ModificationDate": "Updated {value}",
"Team": "",
"Issue": "",
"Issue": "Issue",
"Document": "",
"DocumentIcon": "",
"DocumentColor": "",

View File

@ -51,20 +51,24 @@
"Title": "Заголовок",
"Description": "Описание",
"Status": "Статус",
"Number": "Number",
"Number": "Номер",
"Assignee": "Исполнитель",
"AssignTo": "Назначить...",
"Parent": "Указать родительскую задачу\u2026",
"BlockedBy": "",
"RelatedTo": "",
"Comments": "",
"Attachments": "",
"Parent": "Родительская задача",
"SetParent": "Задать родительскую задачу\u2026",
"ChangeParent": "Изменить родительскую задачу\u2026",
"RemoveParent": "Удалить родительскую задачу",
"OpenParent": "Открыть родительскую задачу",
"BlockedBy": "Блокируется",
"RelatedTo": "Связано",
"Comments": "Комментарии",
"Attachments": "Вложения",
"Labels": "Метки",
"Project": "Проект",
"Space": "",
"DueDate": "Указать срок выполнения\u2026",
"Team": "",
"Issue": "",
"Issue": "Задача",
"Document": "",
"DocumentIcon": "",
"DocumentColor": "",