This commit is contained in:
2020-06-11 14:25:30 +00:00
parent 8df082b23c
commit a05fd21fae
2 changed files with 26 additions and 23 deletions

View File

@@ -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

View File

@@ -7,22 +7,20 @@
<v-col>
<v-stepper v-model="currentStep" vertical>
<v-stepper-step :complete="currentStep > 1" step="1">
Select an app
<small>Summarize if needed</small>
{{ $ay.t("Welcome") }}
<!-- <small>Summarize if needed</small> -->
</v-stepper-step>
<v-stepper-content step="1">
<v-card
color="grey lighten-1"
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 2">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-card class="mb-12"></v-card>
<v-btn color="primary" @click="currentStep = 2">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step :complete="currentStep > 2" step="2"
>Configure analytics for this app</v-stepper-step
>Second step</v-stepper-step
>
<v-stepper-content step="2">
@@ -31,12 +29,14 @@
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 3">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 3">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step :complete="currentStep > 3" step="3"
>Select an ad format and name ad unit</v-stepper-step
>Third step</v-stepper-step
>
<v-stepper-content step="3">
@@ -45,19 +45,23 @@
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 4">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 4">{{
$ay.t("Continue")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
<v-stepper-step step="4">View setup instructions</v-stepper-step>
<v-stepper-step step="4">Fourth step</v-stepper-step>
<v-stepper-content step="4">
<v-card
color="grey lighten-1"
class="mb-12"
height="200px"
></v-card>
<v-btn color="primary" @click="currentStep = 1">Continue</v-btn>
<v-btn text>Cancel</v-btn>
<v-btn color="primary" @click="currentStep = 1">{{
$ay.t("Cancel")
}}</v-btn>
<v-btn text>{{ $ay.t("Cancel") }}</v-btn>
</v-stepper-content>
</v-stepper>
</v-col>
@@ -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"]);
}
// //////////////////////