From 8135efe229c2a439061727dcc4d456c9b24bb284 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 10 Jun 2020 21:57:07 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 9 ++++++--- ayanova/src/api/initialize.js | 9 +++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 51b4c923..7edd2b00 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -24,11 +24,14 @@ todo: Administration - License todo: License testing (I know it's working when these things all pass) - ONBOARDING / BOOTSTRAPPING + ONBOARDING / BOOTSTRAPPING in ui called "Launch" + NO LICENSE MODE Client should show the default manager account login info prefilled, no offer of sample trial accounts If they attempt to login without being *the* manager account and there's no license then server blocks login - Upon login it goes to an onboarding page that iterates through a set of tasks: + 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 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: @@ -765,7 +768,7 @@ todo: workorder UI layout stuff (TTM!! Don't re-invent the wheel!) todo: Documentation Need to think this through carefully - Need to get the critical bits in for onboarding and importing so people can get going + Need to get the critical bits in for launch and importing so people can get going Most important stuff is anything non-obvious Seems pointless to have one doc per form that just says "The name field is the name and must be unique" maybe have that kind of stuff in the form basics and then have a doc per OBJECT instead with anything unique or interesting about the object diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 245587cb..14eabde4 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -20,6 +20,15 @@ function initNavPanal() { let t = window.$gz.translation.get; let role = window.$gz.role.AUTHORIZATION_ROLES; + + //******* LAUNCH + //if it's an empty db then only the launch page is available + if (window.$gz.store.globalSettings.licenseStatus == 0) { + addNavItem(t("Launch"), "fa-rocket", "/launch", [], key++, "launch"); + window.$gz.store.commit("setHomePage", "/launch"); + return; + } + //****************** HOME //Most users except ops and client logins if (