diff --git a/plugins/tracker-assets/lang/en.json b/plugins/tracker-assets/lang/en.json
index 07b3ae3bd5..4f82219e0a 100644
--- a/plugins/tracker-assets/lang/en.json
+++ b/plugins/tracker-assets/lang/en.json
@@ -113,10 +113,6 @@
"NewIssueDialogCloseNote": "All changes will be lost",
"RemoveComponentDialogClose": "Delete the component?",
"RemoveComponentDialogCloseNote": "Are you sure you want to delete this component? This operation cannot be undone",
- "DueDatePopupTitle": "Due on {value}",
- "DueDatePopupOverdueTitle": "Was due on {value}",
- "DueDatePopupDescription": "{value, plural, =0 {Today} =1 {Tomorrow} other {# days remaining}}",
- "DueDatePopupOverdueDescription": "{value, plural, =1 {1 day overdue} other {# days overdue}}",
"Grouping": "Grouping",
"Ordering": "Ordering",
"CompletedIssues": "Completed issues",
diff --git a/plugins/tracker-assets/lang/ru.json b/plugins/tracker-assets/lang/ru.json
index d6366ee1c2..0b330e032d 100644
--- a/plugins/tracker-assets/lang/ru.json
+++ b/plugins/tracker-assets/lang/ru.json
@@ -113,10 +113,6 @@
"NewIssueDialogCloseNote": "Все внесенные изменения будут потеряны",
"RemoveComponentDialogClose": "Удалить компонент?",
"RemoveComponentDialogCloseNote": "Уверены, что хотите удалить этот компонент? Эта операция не может быть отменена",
- "DueDatePopupTitle": "Срок {value}",
- "DueDatePopupOverdueTitle": "Должна была завершится {value}",
- "DueDatePopupDescription": "{value, plural, =0 {Сегодня} =1 {Завтра} other {# дней осталось}}",
- "DueDatePopupOverdueDescription": "{value, plural, =1 {1 день опозщдания} other {# дней опазданий}}",
"Grouping": "Группировка",
"Ordering": "Сортировка",
"CompletedIssues": "Завершённые задачи",
diff --git a/plugins/tracker-resources/src/components/CommonTrackerDatePresenter.svelte b/plugins/tracker-resources/src/components/CommonTrackerDatePresenter.svelte
deleted file mode 100644
index 75baa91ced..0000000000
--- a/plugins/tracker-resources/src/components/CommonTrackerDatePresenter.svelte
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-{#if shouldRender}
- {#if formattedDate}
-
-
-
- {:else}
-
- {/if}
-{/if}
diff --git a/plugins/tracker-resources/src/components/components/TargetDatePresenter.svelte b/plugins/tracker-resources/src/components/components/TargetDatePresenter.svelte
index aea60ac320..1194d0c969 100644
--- a/plugins/tracker-resources/src/components/components/TargetDatePresenter.svelte
+++ b/plugins/tracker-resources/src/components/components/TargetDatePresenter.svelte
@@ -15,7 +15,7 @@
-
+
diff --git a/plugins/tracker-resources/src/components/issues/DueDateEditor.svelte b/plugins/tracker-resources/src/components/issues/DueDateEditor.svelte
index 22b6505f24..2267b60a2c 100644
--- a/plugins/tracker-resources/src/components/issues/DueDateEditor.svelte
+++ b/plugins/tracker-resources/src/components/issues/DueDateEditor.svelte
@@ -15,14 +15,13 @@
{#if value}
-
-
handleDueDateChanged(detail)}
- />
+ handleDueDateChanged(e)} />
{/if}
diff --git a/plugins/tracker-resources/src/components/issues/DueDatePresenter.svelte b/plugins/tracker-resources/src/components/issues/DueDatePresenter.svelte
index 018e96b9f9..3dde898156 100644
--- a/plugins/tracker-resources/src/components/issues/DueDatePresenter.svelte
+++ b/plugins/tracker-resources/src/components/issues/DueDatePresenter.svelte
@@ -16,11 +16,11 @@
import { WithLookup } from '@hcengineering/core'
import { Issue } from '@hcengineering/tracker'
import { getClient } from '@hcengineering/presentation'
- import CommonTrackerDatePresenter from '../CommonTrackerDatePresenter.svelte'
import tracker from '../../plugin'
+ import { ButtonKind, DueDatePresenter } from '@hcengineering/ui'
export let value: WithLookup
- export let kind: 'transparent' | 'primary' | 'link' | 'list' = 'primary'
+ export let kind: ButtonKind = 'link'
export let isEditable = true
const client = getClient()
@@ -45,10 +45,10 @@
value.$lookup?.status?.category !== tracker.issueStatusCategory.Canceled
-
diff --git a/plugins/tracker-resources/src/components/issues/KanbanView.svelte b/plugins/tracker-resources/src/components/issues/KanbanView.svelte
index c87310a3ac..4c6fa60ee9 100644
--- a/plugins/tracker-resources/src/components/issues/KanbanView.svelte
+++ b/plugins/tracker-resources/src/components/issues/KanbanView.svelte
@@ -78,6 +78,7 @@
import PriorityEditor from './PriorityEditor.svelte'
import StatusEditor from './StatusEditor.svelte'
import EstimationEditor from './timereport/EstimationEditor.svelte'
+ import DueDatePresenter from './DueDatePresenter.svelte'
export let space: Ref | undefined = undefined
export let baseMenuClass: Ref> | undefined = undefined
@@ -341,7 +342,7 @@
-