This commit is contained in:
2020-06-10 21:57:07 +00:00
parent 3dd7e05549
commit 8135efe229
2 changed files with 15 additions and 3 deletions

View File

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

View File

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