From a05fd21fae8f3020058924cd2e4b82df46a28e51 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 11 Jun 2020 14:25:30 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 5 ++-- ayanova/src/views/adm-launch.vue | 44 +++++++++++++++++--------------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 030b06ad..b7ce953c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,8 +5,7 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang WIFI change 5g channel to 52,56,60 and 2g channel to 8 recheck before doing as it seems to vary, maybe someone else's is auto switching -todo: User logs in with default manager account and it's NOT a trial database: - CLIENT UI immediately requires change of password on the spot then logs user out after successful change + todo: ensure dbid on about page @@ -32,7 +31,7 @@ todo: License testing (I know it's working when these things all pass) Upon login it goes to an launch page that iterates through a set of tasks: todo: Launch page with stepper control vertical and linear steps through each step First step is welcome to AyaNova in [language] - 1) change password and save it immediately before next step + 1) 2) Client checks if there is a registered key for this db via server route: EMPTY DB AND EXISTING LICENSED KEY IN RF If this DBID is already present in ROCKFISH as *licensed* and FETCHED previously then: Form displays a message, at top about restoring with link to the manual for restoring db diff --git a/ayanova/src/views/adm-launch.vue b/ayanova/src/views/adm-launch.vue index 12878774..cdaa7eec 100644 --- a/ayanova/src/views/adm-launch.vue +++ b/ayanova/src/views/adm-launch.vue @@ -7,22 +7,20 @@ - Select an app - Summarize if needed + {{ $ay.t("Welcome") }} + - - Continue - Cancel + + {{ + $ay.t("Continue") + }} + {{ $ay.t("Cancel") }} Configure analytics for this appSecond step @@ -31,12 +29,14 @@ class="mb-12" height="200px" > - Continue - Cancel + {{ + $ay.t("Continue") + }} + {{ $ay.t("Cancel") }} Select an ad format and name ad unitThird step @@ -45,19 +45,23 @@ class="mb-12" height="200px" > - Continue - Cancel + {{ + $ay.t("Continue") + }} + {{ $ay.t("Cancel") }} - View setup instructions + Fourth step - Continue - Cancel + {{ + $ay.t("Cancel") + }} + {{ $ay.t("Cancel") }} @@ -355,7 +359,7 @@ function initForm(vm) { return new Promise(async function(resolve, reject) { // (async function() { try { - //await fetchTranslatedText(vm); + await fetchTranslatedText(vm); // await populateSelectionLists(vm); } catch (err) { reject(err); @@ -370,7 +374,7 @@ function initForm(vm) { // Ensures UI translated text is available // function fetchTranslatedText(vm) { - return window.$gz.translation.cacheTranslations(["Launch"]); + return window.$gz.translation.cacheTranslations(["Launch", "Welcome"]); } // //////////////////////