From f79642d69a2880d01f3b79c136bdc24245381a68 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Tue, 23 May 2023 18:24:32 +0200 Subject: [PATCH 01/25] Add support for playlist descriptions --- src/components/ChannelPage.vue | 17 +++-------------- src/components/CollapsableText.vue | 28 ++++++++++++++++++++++++++++ src/components/PlaylistPage.vue | 17 ++++++++++------- 3 files changed, 41 insertions(+), 21 deletions(-) create mode 100644 src/components/CollapsableText.vue diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index dbbd2907..2f93b519 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -42,19 +42,7 @@ - -
- - - ... - -
+ @@ -90,6 +78,7 @@ import ErrorHandler from "./ErrorHandler.vue"; import ContentItem from "./ContentItem.vue"; import WatchOnYouTubeButton from "./WatchOnYouTubeButton.vue"; import LoadingIndicatorPage from "./LoadingIndicatorPage.vue"; +import CollapsableText from "./CollapsableText.vue"; export default { components: { @@ -97,6 +86,7 @@ export default { ContentItem, WatchOnYouTubeButton, LoadingIndicatorPage, + CollapsableText, }, data() { return { @@ -105,7 +95,6 @@ export default { tabs: [], selectedTab: 0, contentItems: [], - fullDescription: false, }; }, mounted() { diff --git a/src/components/CollapsableText.vue b/src/components/CollapsableText.vue new file mode 100644 index 00000000..b013fb03 --- /dev/null +++ b/src/components/CollapsableText.vue @@ -0,0 +1,28 @@ + + + diff --git a/src/components/PlaylistPage.vue b/src/components/PlaylistPage.vue index 7d468a00..6c4e0094 100644 --- a/src/components/PlaylistPage.vue +++ b/src/components/PlaylistPage.vue @@ -1,20 +1,21 @@