From dc1edceb248fbce36d144b8206807b4075cc9727 Mon Sep 17 00:00:00 2001 From: Mats Eikeland Mollestad Date: Tue, 27 Oct 2020 18:06:29 +0100 Subject: [PATCH 1/2] [PracticeSession] Supporting one type of task type --- Public/assets/js/practice-session-create.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Public/assets/js/practice-session-create.js b/Public/assets/js/practice-session-create.js index 247bda0..72c5a0c 100644 --- a/Public/assets/js/practice-session-create.js +++ b/Public/assets/js/practice-session-create.js @@ -1,10 +1,10 @@ -function startPracticeSessionWithTopicIDs(topicIds, subjectId) { - - let taskGoal = 10; +function startPracticeSessionWithTopicIDs(topicIds, subjectId, useTypingTasks = true, useMultipleChoiceTasks = true, taskGoal = 5) { let data = JSON.stringify({ "topicIDs" : topicIds, "numberOfTaskGoal" : taskGoal, + "useTypingTasks" : useTypingTasks, + "useMultipleChoiceTasks" : useMultipleChoiceTasks }); let url = "/api/subjects/" + subjectId + "/practice-sessions/start"; From d8d5b96843b68ecb32b81b6926dcaeec95fb8128 Mon Sep 17 00:00:00 2001 From: Mats Eikeland Mollestad Date: Tue, 27 Oct 2020 18:44:25 +0100 Subject: [PATCH 2/2] [AASA] Support for Deeplink and keychain --- Public/.well-known/apple-app-site-association | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Public/.well-known/apple-app-site-association diff --git a/Public/.well-known/apple-app-site-association b/Public/.well-known/apple-app-site-association new file mode 100644 index 0000000..0ea7177 --- /dev/null +++ b/Public/.well-known/apple-app-site-association @@ -0,0 +1,12 @@ +{ + "applinks": { + "apps": [], + "details": [ + { + "appID": "M276UPEHPQ.no.mem.kognita.Kognita", + "paths": ["*"] + } + ] + }, + "webcredentials": ["M276UPEHPQ.no.mem.kognita.Kognita"] +} \ No newline at end of file