From 815664e06f8044e9338b987863b5a2ba6c682142 Mon Sep 17 00:00:00 2001 From: Kristina Date: Thu, 8 Feb 2024 19:29:19 +0400 Subject: [PATCH] UBERF-4867: fix issues mentions display (#4580) Signed-off-by: Kristina Fefelova --- .../src/components/BacklinkContent.svelte | 4 +- .../components/issues/IssuePresenter.svelte | 57 ++++++++++++------- 2 files changed, 40 insertions(+), 21 deletions(-) diff --git a/plugins/chunter-resources/src/components/BacklinkContent.svelte b/plugins/chunter-resources/src/components/BacklinkContent.svelte index 70027765b1..10d1431202 100644 --- a/plugins/chunter-resources/src/components/BacklinkContent.svelte +++ b/plugins/chunter-resources/src/components/BacklinkContent.svelte @@ -39,7 +39,7 @@ diff --git a/plugins/tracker-resources/src/components/issues/IssuePresenter.svelte b/plugins/tracker-resources/src/components/issues/IssuePresenter.svelte index 98fdcfa960..28a0188419 100644 --- a/plugins/tracker-resources/src/components/issues/IssuePresenter.svelte +++ b/plugins/tracker-resources/src/components/issues/IssuePresenter.svelte @@ -40,7 +40,28 @@ $: taskType = value !== undefined ? $taskTypeStore.get(value.kind) : undefined -{#if value} +{#if inline && value} + + {#if inline} + @{value.identifier} + {/if} + + {#if presenters.length > 0} +
+ {#each presenters as mixinPresenter} + + {/each} +
+ {/if} +{:else if value}
- {#if inline} - @{value.identifier} - {:else} - - {#if shouldShowAvatar} -
- {#if taskType !== undefined} - - {:else} - - {/if} -
- {/if} - - {value.identifier} - - + + {#if shouldShowAvatar} +
+ {#if taskType !== undefined} + + {:else} + + {/if} +
+ {/if} + + {value.identifier} + - {/if} +
{#if presenters.length > 0}
@@ -90,9 +107,11 @@ &:not(.list) { color: var(--theme-content-color); } + &.list { color: var(--theme-halfcontent-color); } + .icon { margin-right: 0.5rem; color: var(--theme-dark-color);