From d4322a69db3451b3bed3ba11a6d4f8688b1d99ee Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 31 Aug 2023 14:46:37 +0200 Subject: [PATCH] UX: hides original message user in thread participants (#23350) Usage: ```hbs ``` --- .../components/chat/thread-list/item.hbs | 1 + .../components/chat/thread/participants.gjs | 54 +++++++++++++++++ .../components/chat/thread/participants.hbs | 21 ------- .../javascripts/discourse/lib/fabricators.js | 2 + .../chat-thread-participants-test.js | 59 +++++++++++++++++++ 5 files changed, 116 insertions(+), 21 deletions(-) create mode 100644 plugins/chat/assets/javascripts/discourse/components/chat/thread/participants.gjs delete mode 100644 plugins/chat/assets/javascripts/discourse/components/chat/thread/participants.hbs create mode 100644 plugins/chat/test/javascripts/components/chat-thread-participants-test.js diff --git a/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.hbs b/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.hbs index e2e1f47864f..1e4511897e2 100644 --- a/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.hbs +++ b/plugins/chat/assets/javascripts/discourse/components/chat/thread-list/item.hbs @@ -41,6 +41,7 @@