From 086c96a63cfc727cfab42454215be7d898a5a150 Mon Sep 17 00:00:00 2001 From: Kristina Date: Thu, 14 Mar 2024 18:57:26 +0400 Subject: [PATCH] Make comments more compact in inbox (#4965) Signed-off-by: Kristina Fefelova --- .../activity-message/ActivityMessagePresenter.svelte | 2 ++ .../activity-reference/ActivityReferencePresenter.svelte | 7 +++++-- .../components/chat-message/ChatMessagePresenter.svelte | 3 ++- .../inbox/ActivityInboxNotificationPresenter.svelte | 1 + .../inbox/CommonInboxNotificationPresenter.svelte | 6 ++++-- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/plugins/activity-resources/src/components/activity-message/ActivityMessagePresenter.svelte b/plugins/activity-resources/src/components/activity-message/ActivityMessagePresenter.svelte index 218b2446d8..9abcd24a2d 100644 --- a/plugins/activity-resources/src/components/activity-message/ActivityMessagePresenter.svelte +++ b/plugins/activity-resources/src/components/activity-message/ActivityMessagePresenter.svelte @@ -38,6 +38,7 @@ export let attachmentImageSize: 'x-large' | undefined = undefined export let showLinksPreview = true export let videoPreload = true + export let compact = false export let onClick: (() => void) | undefined = undefined export let onReply: (() => void) | undefined = undefined @@ -70,6 +71,7 @@ attachmentImageSize, showLinksPreview, videoPreload, + compact, onClick, onReply }} diff --git a/plugins/activity-resources/src/components/activity-reference/ActivityReferencePresenter.svelte b/plugins/activity-resources/src/components/activity-reference/ActivityReferencePresenter.svelte index be4577f599..6ea7139c29 100644 --- a/plugins/activity-resources/src/components/activity-reference/ActivityReferencePresenter.svelte +++ b/plugins/activity-resources/src/components/activity-reference/ActivityReferencePresenter.svelte @@ -15,7 +15,7 @@