From f956b8d98ee2ef7c77e76f056e61749438d8fd93 Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 21 May 2024 21:14:46 +0400 Subject: [PATCH] Add join overlay for public channels (#5630) Signed-off-by: Kristina Fefelova --- plugins/chunter-assets/lang/en.json | 4 +- plugins/chunter-assets/lang/ru.json | 4 +- .../src/components/ChannelView.svelte | 75 +++++++++++++++++-- plugins/chunter-resources/src/plugin.ts | 4 +- 4 files changed, 78 insertions(+), 9 deletions(-) diff --git a/plugins/chunter-assets/lang/en.json b/plugins/chunter-assets/lang/en.json index 85fd323a5f..2c0d015b70 100644 --- a/plugins/chunter-assets/lang/en.json +++ b/plugins/chunter-assets/lang/en.json @@ -106,6 +106,8 @@ "StarChannel": "Star channel", "StarConversation": "Star conversation", "UnstarChannel": "Unstar channel", - "UnstarConversation": "Unstar conversation" + "UnstarConversation": "Unstar conversation", + "JoinChannelHeader": "Click \"Join\" to get started.", + "JoinChannelText": "Once you've joined, you'll be able to read all messages and contribute to the discussion." } } \ No newline at end of file diff --git a/plugins/chunter-assets/lang/ru.json b/plugins/chunter-assets/lang/ru.json index bea15b2a97..8ada96a26c 100644 --- a/plugins/chunter-assets/lang/ru.json +++ b/plugins/chunter-assets/lang/ru.json @@ -106,6 +106,8 @@ "StarChannel": "Добавить в избранное", "StarConversation": "Добавить в избранное", "UnstarChannel": "Удалить из избранного", - "UnstarConversation": "Удалить из избранного" + "UnstarConversation": "Удалить из избранного", + "JoinChannelHeader": "Нажмите \"Присоединиться\", чтобы начать.", + "JoinChannelText": "Присоединившись, вы сможете читать все сообщения и участвовать в обсуждении." } } \ No newline at end of file diff --git a/plugins/chunter-resources/src/components/ChannelView.svelte b/plugins/chunter-resources/src/components/ChannelView.svelte index 52a331baf8..044bee4074 100644 --- a/plugins/chunter-resources/src/components/ChannelView.svelte +++ b/plugins/chunter-resources/src/components/ChannelView.svelte @@ -13,12 +13,20 @@ // limitations under the License. -->