diff --git a/packages/nc-gui/assets/nc-icons/megaphone.svg b/packages/nc-gui/assets/nc-icons/megaphone.svg new file mode 100644 index 0000000000..8f08defb54 --- /dev/null +++ b/packages/nc-gui/assets/nc-icons/megaphone.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/nc-gui/components/dashboard/Sidebar/Feed.vue b/packages/nc-gui/components/dashboard/Sidebar/Feed.vue index 559a51b0d0..a989e3c887 100644 --- a/packages/nc-gui/components/dashboard/Sidebar/Feed.vue +++ b/packages/nc-gui/components/dashboard/Sidebar/Feed.vue @@ -31,78 +31,37 @@ const gotoFeed = () => navigateToFeed() diff --git a/packages/nc-gui/components/feed/Changelog/Item.vue b/packages/nc-gui/components/feed/Changelog/Item.vue index 608b449558..ddba39da58 100644 --- a/packages/nc-gui/components/feed/Changelog/Item.vue +++ b/packages/nc-gui/components/feed/Changelog/Item.vue @@ -15,6 +15,8 @@ const { item: { 'Published Time': CreatedAt, Description, Title, Tags }, } = props +const truncate = ref(true) + const iconColorMap = { 'Hotfix': { icon: iconMap.ncTool, @@ -43,16 +45,16 @@ const renderMarkdown = async (markdown: string) => { } const renderedText = computedAsync(async () => { - return await renderMarkdown(Description) + return await renderMarkdown(truncate.value ? Description.substring(0, 300).concat('...') : Description) })