diff --git a/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte b/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte new file mode 100644 index 0000000000..d5a743f5eb --- /dev/null +++ b/plugins/tracker-resources/src/components/issues/AssigneePresenter.svelte @@ -0,0 +1,70 @@ + + + + +
+
+ +
+
+
diff --git a/plugins/tracker-resources/src/components/issues/CategoryPresenter.svelte b/plugins/tracker-resources/src/components/issues/CategoryPresenter.svelte index ab5a27f42f..431e7b5e2c 100644 --- a/plugins/tracker-resources/src/components/issues/CategoryPresenter.svelte +++ b/plugins/tracker-resources/src/components/issues/CategoryPresenter.svelte @@ -55,14 +55,7 @@ { key: '', presenter: tracker.component.StatusPresenter, props: { currentSpace } }, { key: '', presenter: tracker.component.TitlePresenter }, { key: 'modifiedOn', presenter: tracker.component.ModificationDatePresenter }, - { - key: '$lookup.assignee', - props: { - shouldShowName: false, - shouldShowPlaceholder: true, - tooltipLabels: { personLabel: tracker.string.AssignedTo, placeholderLabel: tracker.string.AssignTo } - } - } + { key: '', presenter: tracker.component.AssigneePresenter, props: { currentSpace } } ]} {options} query={{ ...query, status: category }} diff --git a/plugins/tracker-resources/src/index.ts b/plugins/tracker-resources/src/index.ts index e268f7a698..5fa780183f 100644 --- a/plugins/tracker-resources/src/index.ts +++ b/plugins/tracker-resources/src/index.ts @@ -29,6 +29,7 @@ import IssuePresenter from './components/issues/IssuePresenter.svelte' import TitlePresenter from './components/issues/TitlePresenter.svelte' import PriorityPresenter from './components/issues/PriorityPresenter.svelte' import StatusPresenter from './components/issues/StatusPresenter.svelte' +import AssigneePresenter from './components/issues/AssigneePresenter.svelte' import ModificationDatePresenter from './components/issues/ModificationDatePresenter.svelte' import EditIssue from './components/issues/EditIssue.svelte' @@ -50,6 +51,7 @@ export default async (): Promise => ({ ModificationDatePresenter, PriorityPresenter, StatusPresenter, + AssigneePresenter, EditIssue, NewIssueHeader } diff --git a/plugins/tracker-resources/src/plugin.ts b/plugins/tracker-resources/src/plugin.ts index fddda9474b..c6fc6b3057 100644 --- a/plugins/tracker-resources/src/plugin.ts +++ b/plugins/tracker-resources/src/plugin.ts @@ -98,6 +98,7 @@ export default mergeIds(trackerId, tracker, { ModificationDatePresenter: '' as AnyComponent, PriorityPresenter: '' as AnyComponent, StatusPresenter: '' as AnyComponent, + AssigneePresenter: '' as AnyComponent, EditIssue: '' as AnyComponent, CreateTeam: '' as AnyComponent, NewIssueHeader: '' as AnyComponent