From dbb8233e3b12765d162b676ed62208c2a54ee6ea Mon Sep 17 00:00:00 2001 From: Allan Otodi Opeto <103313919+AllanOXDi@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:00:21 +0300 Subject: [PATCH 01/14] adds accesible channel card --- .../LibraryPage/AccessibleChannelCard.vue | 35 +++++++++++++++++++ .../src/views/LibraryPage/OtherLibraries.vue | 16 +++++++++ .../assets/src/views/LibraryPage/index.vue | 2 ++ 3 files changed, 53 insertions(+) create mode 100644 kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue new file mode 100644 index 00000000000..c204092b4ee --- /dev/null +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue @@ -0,0 +1,35 @@ + + + + \ No newline at end of file diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue index 461d64d41f3..d0d256ccbbf 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue @@ -132,6 +132,20 @@ /> + +

Accessible Channel card

+ + + + + + @@ -150,6 +164,7 @@ import LibraryItem from '../ExploreLibrariesPage/LibraryItem'; import FadeInTransitionGroup from '../FadeInTransitionGroup'; import UnPinnedDevices from './UnPinnedDevices'; + import AccessibleChannelCard from './AccessibleChannelCard.vue'; export default { name: 'OtherLibraries', @@ -157,6 +172,7 @@ FadeInTransitionGroup, LibraryItem, UnPinnedDevices, + AccessibleChannelCard }, setup() { const { diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue index 0d876c0e62b..4f1e4632212 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue @@ -81,6 +81,8 @@ data-test="other-libraries" :injectedtr="injecttr" /> + + Date: Wed, 21 Aug 2024 22:00:36 +0300 Subject: [PATCH 02/14] restores code in other library page --- .../src/views/LibraryPage/OtherLibraries.vue | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue index d0d256ccbbf..461d64d41f3 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/OtherLibraries.vue @@ -132,20 +132,6 @@ /> - -

Accessible Channel card

- - - - - - @@ -164,7 +150,6 @@ import LibraryItem from '../ExploreLibrariesPage/LibraryItem'; import FadeInTransitionGroup from '../FadeInTransitionGroup'; import UnPinnedDevices from './UnPinnedDevices'; - import AccessibleChannelCard from './AccessibleChannelCard.vue'; export default { name: 'OtherLibraries', @@ -172,7 +157,6 @@ FadeInTransitionGroup, LibraryItem, UnPinnedDevices, - AccessibleChannelCard }, setup() { const { From c8a299f3175a8f0569155e9996690e7c63a11c95 Mon Sep 17 00:00:00 2001 From: Allan Otodi Opeto <103313919+AllanOXDi@users.noreply.github.com> Date: Wed, 21 Aug 2024 22:45:37 +0300 Subject: [PATCH 03/14] adds accessible channel card --- .../LibraryPage/AccessibleChannelCard.vue | 37 ++++++++++++-- .../HandleAccessibleChannelCard.vue | 49 +++++++++++++++++++ .../assets/src/views/LibraryPage/index.vue | 6 ++- 3 files changed, 87 insertions(+), 5 deletions(-) create mode 100644 kolibri/plugins/learn/assets/src/views/LibraryPage/HandleAccessibleChannelCard.vue diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue index c204092b4ee..f9c06a12160 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/AccessibleChannelCard.vue @@ -5,13 +5,24 @@ :to="to" layout="horizontal" thumbnailDisplay="small" + thumbnailAlign="right" + :title="title" + :headingLevel="headingLevel" > -