From 881fc915a006fa6838d01d916d97ee4f7faaf6e7 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Mon, 25 Nov 2024 13:11:17 -0800 Subject: [PATCH] Re-implement share file functionality. Remove unneeded appCapabilities from kolibri/utils. --- .../views/CurrentlyViewedResourceMetadata.vue | 42 +++++++++++++++++-- .../assets/src/views/commonLearnStrings.js | 4 ++ kolibri/plugins/learn/kolibri_plugin.py | 2 + packages/kolibri-tools/lib/moduleMapping.js | 2 +- packages/kolibri/internal/apiSpec.js | 1 - packages/kolibri/package.json | 1 - packages/kolibri/utils/appCapabilities.js | 36 ---------------- 7 files changed, 46 insertions(+), 42 deletions(-) delete mode 100644 packages/kolibri/utils/appCapabilities.js diff --git a/kolibri/plugins/learn/assets/src/views/CurrentlyViewedResourceMetadata.vue b/kolibri/plugins/learn/assets/src/views/CurrentlyViewedResourceMetadata.vue index dc64e7fe757..492a8ab6de9 100644 --- a/kolibri/plugins/learn/assets/src/views/CurrentlyViewedResourceMetadata.vue +++ b/kolibri/plugins/learn/assets/src/views/CurrentlyViewedResourceMetadata.vue @@ -136,6 +136,12 @@ class="download-button" data-test="download-button" /> + @@ -143,9 +149,12 @@