From 0097b78963ef72649247c7c6bff308fbe76d1510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 3 Mar 2022 12:43:15 +0100 Subject: [PATCH 01/10] MOBILE-3814 swipe: Limit angle on gesture --- src/core/directives/swipe-navigation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/directives/swipe-navigation.ts b/src/core/directives/swipe-navigation.ts index 0a7bec5bb..b1b632284 100644 --- a/src/core/directives/swipe-navigation.ts +++ b/src/core/directives/swipe-navigation.ts @@ -56,7 +56,9 @@ export class CoreSwipeNavigationDirective implements AfterViewInit, OnDestroy { el: this.element, gestureName: 'swipe', threshold: 10, + direction: 'x', gesturePriority: 10, + maxAngle: 20, canStart: () => this.enabled, onStart: () => { style.transition = ''; From d0b59ce92b01a31d94df135b8d804459edc64dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 3 Mar 2022 17:33:22 +0100 Subject: [PATCH 02/10] MOBILE-3814 course: Improve course storage page --- scripts/langindex.json | 1 + .../myoverview/addon-block-myoverview.html | 2 +- src/addons/storagemanager/lang.json | 1 + .../pages/course-storage/course-storage.html | 70 ++++++++++++------- .../pages/course-storage/course-storage.scss | 14 ++++ .../pages/course-storage/course-storage.ts | 2 + src/core/features/courses/lang.json | 2 +- src/core/features/courses/pages/my/my.html | 2 +- src/core/features/settings/lang.json | 6 +- src/theme/theme.base.scss | 2 +- 10 files changed, 69 insertions(+), 33 deletions(-) diff --git a/scripts/langindex.json b/scripts/langindex.json index 081689da2..56faabdba 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1106,6 +1106,7 @@ "addon.storagemanager.confirmdeletedatafrom": "local_moodlemobileapp", "addon.storagemanager.coursedownloads": "local_moodlemobileapp", "addon.storagemanager.courseinfo": "local_moodlemobileapp", + "addon.storagemanager.deleteall": "moodle", "addon.storagemanager.deleteallsitedata": "local_moodlemobileapp", "addon.storagemanager.deleteallsitedatainfo": "local_moodlemobileapp", "addon.storagemanager.deletecourses": "local_moodlemobileapp", diff --git a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html index a567deefd..07b679473 100644 --- a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html +++ b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html @@ -4,7 +4,7 @@
-
+