From f63c81efbd74581bb88f432e06cd588c3ac8648d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 30 Jun 2021 15:30:44 +0200 Subject: [PATCH 1/5] Fix ellipsis in DiscussionListView Regression from 1.2.0 Closes #750 Signed-off-by: Thomas Citharel --- js/src/components/Discussion/DiscussionListItem.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/src/components/Discussion/DiscussionListItem.vue b/js/src/components/Discussion/DiscussionListItem.vue index c8efe750a..25b66fdb0 100644 --- a/js/src/components/Discussion/DiscussionListItem.vue +++ b/js/src/components/Discussion/DiscussionListItem.vue @@ -32,7 +32,10 @@ }} -
+
{{ htmlTextEllipsis }}
@@ -105,7 +108,7 @@ export default class DiscussionListItem extends Vue { } } - div.has-text-grey { + div.ellipsis { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; From 47cc3173ac39461efff6c4163118c6bbc65b9461 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 30 Jun 2021 15:31:17 +0200 Subject: [PATCH 2/5] Cleanup Group.vue Signed-off-by: Thomas Citharel --- js/src/views/Group/Group.vue | 85 ------------------------------------ 1 file changed, 85 deletions(-) diff --git a/js/src/views/Group/Group.vue b/js/src/views/Group/Group.vue index 9d7e82861..5322fcb29 100644 --- a/js/src/views/Group/Group.vue +++ b/js/src/views/Group/Group.vue @@ -106,91 +106,6 @@ >

-
Date: Wed, 30 Jun 2021 16:17:29 +0200 Subject: [PATCH 3/5] Improve UI for participations when message is too long Add a button to make the details more discoverable Closes #452 Signed-off-by: Thomas Citharel --- js/src/views/Event/Participants.vue | 50 +++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/js/src/views/Event/Participants.vue b/js/src/views/Event/Participants.vue index bb71a4417..328a9dc74 100644 --- a/js/src/views/Event/Participants.vue +++ b/js/src/views/Event/Participants.vue @@ -109,7 +109,7 @@ props.row.actor.name }}
- @{{ usernameWithDomain(props.row.actor) }} @@ -148,10 +148,11 @@ - - {{ props.row.metadata.message | ellipsize }} - - +

+ {{ props.row.metadata.message | ellipsize }} +

+ +
+

{{ $t("No message") }} - +

@@ -177,7 +192,7 @@