+
@@ -79,11 +81,6 @@
user-select: none;
backdrop-filter: blur(10px);
- .content {
- display: flex;
- justify-content: space-between;
- margin-bottom: 1rem;
- }
&.draggable {
cursor: grab;
}
diff --git a/plugins/notification-assets/assets/icons.svg b/plugins/notification-assets/assets/icons.svg
index 0128407a4b..baf085097f 100644
--- a/plugins/notification-assets/assets/icons.svg
+++ b/plugins/notification-assets/assets/icons.svg
@@ -2,4 +2,12 @@
+
{object.title}
+
-
- {
+ showMenu(evt)
+ }}
+ icon={IconMoreH}
+ size={'small'}
+ />
{object.title}
+
+
+
{#if object.$lookup?.attachedTo}
-
+
{/if}
{#if (object.attachments ?? 0) > 0}
@@ -55,16 +67,6 @@
{#if (object.comments ?? 0) > 0}
{/if}
-
- {
- showMenu(evt)
- }}
- icon={IconMoreH}
- size={'small'}
- />
-
-
-
-
+
diff --git a/plugins/task-resources/src/components/TaskPresenter.svelte b/plugins/task-resources/src/components/TaskPresenter.svelte
index f8a5548a67..5aed21711d 100644
--- a/plugins/task-resources/src/components/TaskPresenter.svelte
+++ b/plugins/task-resources/src/components/TaskPresenter.svelte
@@ -31,5 +31,5 @@
diff --git a/plugins/view-resources/package.json b/plugins/view-resources/package.json
index 3bf55df5ec..89ac928ccb 100644
--- a/plugins/view-resources/package.json
+++ b/plugins/view-resources/package.json
@@ -38,6 +38,7 @@
"@anticrm/view": "~0.6.0",
"@anticrm/ui": "~0.6.0",
"@anticrm/task": "~0.6.0",
+ "@anticrm/notification": "~0.6.0",
"@anticrm/presentation": "~0.6.2"
}
}
diff --git a/plugins/view-resources/src/components/Table.svelte b/plugins/view-resources/src/components/Table.svelte
index 087b2ab19b..9393e7abec 100644
--- a/plugins/view-resources/src/components/Table.svelte
+++ b/plugins/view-resources/src/components/Table.svelte
@@ -17,15 +17,17 @@
import type { Class, Doc, DocumentQuery, FindOptions, Ref } from '@anticrm/core'
import { SortingOrder } from '@anticrm/core'
import { createQuery, getClient } from '@anticrm/presentation'
- import { CheckBox, IconDown, IconUp, Label, Loading, showPopup, Spinner } from '@anticrm/ui'
+ import { Component, CheckBox, IconDown, IconUp, Label, Loading, showPopup, Spinner } from '@anticrm/ui'
import { BuildModelKey } from '@anticrm/view'
import { buildModel, LoadingProps } from '../utils'
import MoreV from './icons/MoreV.svelte'
import Menu from './Menu.svelte'
+ import notification from '@anticrm/notification'
export let _class: Ref>
export let query: DocumentQuery
export let enableChecking: boolean = false
+ export let showNotification: boolean = false
export let options: FindOptions | undefined = undefined
export let baseMenuClass: Ref> | undefined = undefined
export let config: (BuildModelKey | string)[]
@@ -123,23 +125,26 @@
{/if}
{:then model}
-
+
-
diff --git a/plugins/task-resources/src/components/StatusTableView.svelte b/plugins/task-resources/src/components/StatusTableView.svelte
index df4e397453..744fb8e00c 100644
--- a/plugins/task-resources/src/components/StatusTableView.svelte
+++ b/plugins/task-resources/src/components/StatusTableView.svelte
@@ -146,7 +146,7 @@
- {formatName(object.$lookup?.attachedTo?.name)}
+
+
+
+
-
+
-
+ {formatName(object.$lookup?.attachedTo?.name)}
+
+ {object.$lookup?.attachedTo?.title ?? ''}
{object.$lookup?.attachedTo?.title ?? ''}
+
+
+
+
+
diff --git a/plugins/tags-resources/src/components/TagsView.svelte b/plugins/tags-resources/src/components/TagsView.svelte
index 8a93285910..680c391bd6 100644
--- a/plugins/tags-resources/src/components/TagsView.svelte
+++ b/plugins/tags-resources/src/components/TagsView.svelte
@@ -101,6 +101,6 @@
]}
options={opt}
query={resultQuery}
- enableChecking
+ showNotification
/>
diff --git a/plugins/task-resources/package.json b/plugins/task-resources/package.json
index 1e5885ff9e..92202e54af 100644
--- a/plugins/task-resources/package.json
+++ b/plugins/task-resources/package.json
@@ -46,6 +46,7 @@
"@anticrm/login": "~0.6.1",
"@anticrm/attachment-resources": "~0.6.0",
"@anticrm/chunter-resources": "~0.6.0",
- "@anticrm/workbench": "~0.6.1"
+ "@anticrm/workbench": "~0.6.1",
+ "@anticrm/notification": "~0.6.0"
}
}
diff --git a/plugins/task-resources/src/components/KanbanCard.svelte b/plugins/task-resources/src/components/KanbanCard.svelte
index afac3b80ad..a02005abd9 100644
--- a/plugins/task-resources/src/components/KanbanCard.svelte
+++ b/plugins/task-resources/src/components/KanbanCard.svelte
@@ -18,10 +18,11 @@
import type { WithLookup } from '@anticrm/core'
import { Avatar } from '@anticrm/presentation'
import type { Issue } from '@anticrm/task'
- import { ActionIcon, IconMoreH, showPopup } from '@anticrm/ui'
+ import { ActionIcon, Component, IconMoreH, showPopup } from '@anticrm/ui'
import { ContextMenu } from '@anticrm/view-resources'
import task from '../plugin'
import TaskPresenter from './TaskPresenter.svelte'
+ import notification from '@anticrm/notification'
export let object: WithLookup
export let draggable: boolean
@@ -34,7 +35,12 @@
- { showMenu(evt) }} icon={IconMoreH} size={'small'} />
+
{/if}
- {#if object.$lookup?.assignee}
-
- {/if}
+
+ { showMenu(evt) }} icon={IconMoreH} size={'small'} />
+
+
+
+ {object.name}
@@ -47,9 +53,7 @@
|
- 0}>
-
- |
- {/if}
+ {#if enableChecking}
+
+ 0}>
+
+ |
+ {/if}
+ {#if showNotification}
+ + {/if} + {#each model as attribute} | {/if} + {#if showNotification} + |
+ |
+ {/if}
|
|---|