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/model-chunter": "~0.6.0",
"@anticrm/workbench": "~0.6.1", "@anticrm/workbench": "~0.6.1",
"@anticrm/view": "~0.6.0", "@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 workbench, { createNavigateAction } from '@anticrm/model-workbench'
import { Asset, IntlString } from '@anticrm/platform' import { Asset, IntlString } from '@anticrm/platform'
import view, { KeyBinding } from '@anticrm/view' import view, { KeyBinding } from '@anticrm/view'
import setting from '@anticrm/setting'
import { import {
Document, Document,
Issue, Issue,
@ -335,6 +336,8 @@ export function createModel (builder: Builder): void {
presenter: tracker.component.ProjectTitlePresenter presenter: tracker.component.ProjectTitlePresenter
}) })
builder.mixin(tracker.class.Issue, core.class.Class, setting.mixin.Editable, {})
builder.createDoc( builder.createDoc(
workbench.class.Application, workbench.class.Application,
core.space.Model, core.space.Model,

View File

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

View File

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