TSK-1263 Inbox configurator (#3067)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-04-25 15:34:38 +07:00
committed by GitHub
parent aa218ab898
commit 98d71a25df
66 changed files with 1348 additions and 679 deletions
+12 -15
View File
@@ -322,9 +322,6 @@ export function createModel (builder: Builder): void {
})
builder.mixin(task.class.Task, core.class.Class, notification.mixin.TrackedDoc, {})
builder.mixin(task.class.Task, core.class.Class, notification.mixin.AnotherUserNotifications, {
fields: ['assignee']
})
builder.createDoc(
view.class.ActionCategory,
@@ -487,16 +484,16 @@ export function createModel (builder: Builder): void {
task.action.ArchiveState
)
builder.createDoc(
notification.class.NotificationType,
core.space.Model,
{
label: task.string.Assigned,
hidden: false,
textTemplate: '{doc} was assigned to you by {sender}',
htmlTemplate: '<p>{doc} was assigned to you by {sender}</p>',
subjectTemplate: '{doc} was assigned to you'
},
task.ids.AssigneedNotification
)
// builder.createDoc(
// notification.class.NotificationType,
// core.space.Model,
// {
// label: task.string.Assigned,
// hidden: false,
// textTemplate: '{doc} was assigned to you by {sender}',
// htmlTemplate: '<p>{doc} was assigned to you by {sender}</p>',
// subjectTemplate: '{doc} was assigned to you'
// },
// task.ids.AssigneedNotification
// )
}