From 224e863d778f5e2819412ef0bd4bc661f7a2b5b3 Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Tue, 4 Apr 2023 15:10:14 -0700 Subject: [PATCH 01/27] lessonplaylistpage << kcircularloader when loading --- .../learn/assets/src/views/classes/LessonPlaylistPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue index 26c28dec290..14503331264 100644 --- a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue +++ b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue @@ -39,6 +39,7 @@ :link="genContentLinkBackLinkCurrentPage(content.id, true)" /> +

{{ $tr('noResourcesInLesson') }}

From 919f27792f42337a5879197cf1319b9450ad3b67 Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Tue, 11 Apr 2023 14:44:12 -0700 Subject: [PATCH 02/27] use core vuex loading state in LearnAppBarPage rather than taking prop --- kolibri/plugins/learn/assets/src/views/HomePage/index.vue | 5 +---- kolibri/plugins/learn/assets/src/views/LearnAppBarPage.vue | 6 +----- .../plugins/learn/assets/src/views/LibraryPage/index.vue | 5 ----- .../learn/assets/src/views/classes/LessonPlaylistPage.vue | 3 +-- 4 files changed, 3 insertions(+), 16 deletions(-) diff --git a/kolibri/plugins/learn/assets/src/views/HomePage/index.vue b/kolibri/plugins/learn/assets/src/views/HomePage/index.vue index 7088f0573fc..86c619a00c3 100644 --- a/kolibri/plugins/learn/assets/src/views/HomePage/index.vue +++ b/kolibri/plugins/learn/assets/src/views/HomePage/index.vue @@ -1,9 +1,6 @@ - - - - - - -
- + +
+ + -
- -
- - -
+ + + +
+ - -
- - + + {{ coreString('showMoreAction') }} + +
+ + +
+
- - - + + - - {{ coreString('showMoreAction') }} - -
- - -
+
- - - - - - - - - - - - - - - + + + + + + + + + + + - - + + From 8eea33366fea157b1cfc4dbf92591bb1039293f0 Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Tue, 4 Apr 2023 15:10:14 -0700 Subject: [PATCH 06/27] lessonplaylistpage << kcircularloader when loading --- .../learn/assets/src/views/classes/LessonPlaylistPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue index 67f71ad27f6..1a0324a622c 100644 --- a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue +++ b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue @@ -39,6 +39,7 @@ :link="genContentLinkBackLinkCurrentPage(content.id, true)" /> +

{{ $tr('noResourcesInLesson') }}

From 97f6a9976aeb06405e715c41530b3edac99bcfba Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Tue, 11 Apr 2023 14:44:12 -0700 Subject: [PATCH 07/27] use core vuex loading state in LearnAppBarPage rather than taking prop --- .../learn/assets/src/views/classes/LessonPlaylistPage.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue index 1a0324a622c..67f71ad27f6 100644 --- a/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue +++ b/kolibri/plugins/learn/assets/src/views/classes/LessonPlaylistPage.vue @@ -39,7 +39,6 @@ :link="genContentLinkBackLinkCurrentPage(content.id, true)" /> -

{{ $tr('noResourcesInLesson') }}

From d500a973b4520a320fe299ef116966ef706bd362 Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Wed, 17 May 2023 12:30:41 -0700 Subject: [PATCH 08/27] ManageChannelsPage KCircularLoader while loading channels --- .../src/views/ManageContentPage/index.vue | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/kolibri/plugins/device/assets/src/views/ManageContentPage/index.vue b/kolibri/plugins/device/assets/src/views/ManageContentPage/index.vue index 159e5739cd1..fbbed99d8f8 100644 --- a/kolibri/plugins/device/assets/src/views/ManageContentPage/index.vue +++ b/kolibri/plugins/device/assets/src/views/ManageContentPage/index.vue @@ -45,20 +45,23 @@ @clearall="handleClickClearAll" /> -

+

{{ $tr('emptyChannelListMessage') }}

- + +
+ +
@@ -134,6 +137,7 @@ 'managedTasks', ]), ...mapState('manageContent/wizard', ['pageName']), + ...mapState('manageContent', ['channelListLoading']), pageTitle() { return deviceString('deviceManagementTitle'); }, From c47fbacc5c83bf3a206f634421f590f4605371ab Mon Sep 17 00:00:00 2001 From: Jacob Pierce Date: Wed, 17 May 2023 15:52:32 -0700 Subject: [PATCH 09/27] CoreTable accepts dataLoading prop; show loader when loading --- kolibri/core/assets/src/views/CoreTable.vue | 25 +++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/kolibri/core/assets/src/views/CoreTable.vue b/kolibri/core/assets/src/views/CoreTable.vue index d55d9a88dba..8f28e279119 100644 --- a/kolibri/core/assets/src/views/CoreTable.vue +++ b/kolibri/core/assets/src/views/CoreTable.vue @@ -1,9 +1,11 @@