diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index d8269f48..d10bd6a8 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -21,6 +21,7 @@ User colors? Is this even going to be a thing or needed anymore?? in v7 it was only in calendar so if not in calendar now then no need + maybe just remove colors for users, it is not exactly a good idea UI wise anyway See about including no tech items as sched should show them as unassigned or something it's built in for non matches but I could enable that anyway it was in v7 diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 9b04eb33..b2b880ce 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -764,7 +764,7 @@ async function getUserOptions() { timeZoneOverride: null, currencyName: null, hour12: true, - uiColor: "#000000", + //uiColor: "#000000", emailAddress: null, mapUrlTemplate: null }; @@ -779,7 +779,7 @@ async function getUserOptions() { l.hour12 = res.data.hour12; } - l.uiColor = res.data.uiColor || "#000000"; + // l.uiColor = res.data.uiColor || "#000000"; l.emailAddress = res.data.emailAddress || null; l.mapUrlTemplate = res.data.mapUrlTemplate || null; diff --git a/ayanova/src/store.js b/ayanova/src/store.js index ed1bc94f..ae6564bb 100644 --- a/ayanova/src/store.js +++ b/ayanova/src/store.js @@ -39,7 +39,7 @@ export default new Vuex.Store({ timeZoneOverride: null, //use browser tz by default currencyName: "USD", hour12: true, - uiColor: "#000000", + // uiColor: "#000000", emailAddress: null, mapUrlTemplate: null }, @@ -129,7 +129,7 @@ export default new Vuex.Store({ state.userOptions.timeZoneOverride = null; state.userOptions.currencyName = "USD"; state.userOptions.hour12 = true; - state.userOptions.uiColor = "#000000"; + //state.userOptions.uiColor = "#000000"; state.userOptions.emailAddress = null; state.userOptions.mapUrlTemplate = null; state.globalSettings = {}; @@ -154,7 +154,7 @@ export default new Vuex.Store({ state.userOptions.hour12 = data.hour12; state.userOptions.timeZoneOverride = data.timeZoneOverride; state.userOptions.emailAddress = data.emailAddress; - state.userOptions.uiColor = data.uiColor; + //state.userOptions.uiColor = data.uiColor; state.userOptions.mapUrlTemplate = data.mapUrlTemplate; }, setGlobalSettings(state, data) { diff --git a/ayanova/src/views/adm-user.vue b/ayanova/src/views/adm-user.vue index 7e3ca6ed..7d4264aa 100644 --- a/ayanova/src/views/adm-user.vue +++ b/ayanova/src/views/adm-user.vue @@ -376,8 +376,7 @@ > - - + @@ -505,7 +504,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, - uiColor: "#000000", + // uiColor: "#000000", languageOverride: null, timeZoneOverride: null, currencyName: "USD", diff --git a/ayanova/src/views/cust-user.vue b/ayanova/src/views/cust-user.vue index 12b914ec..59c5d5fb 100644 --- a/ayanova/src/views/cust-user.vue +++ b/ayanova/src/views/cust-user.vue @@ -363,9 +363,9 @@ @click:append-outer="goHelp()" > - + + {{ $ay.t("UserColor") }} @@ -378,7 +378,7 @@ ref="uiColor" @input="fieldValueChanged('uiColor')" > - + --> @@ -506,7 +506,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, - uiColor: "#000000", + // uiColor: "#000000", languageOverride: null, timeZoneOverride: null, currencyName: "USD", diff --git a/ayanova/src/views/home-user-settings.vue b/ayanova/src/views/home-user-settings.vue index 01e6f2cf..09627342 100644 --- a/ayanova/src/views/home-user-settings.vue +++ b/ayanova/src/views/home-user-settings.vue @@ -162,8 +162,8 @@ > - - + @@ -238,7 +238,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, - uiColor: null, + //uiColor: null, languageOverride: null, timeZoneOverride: null, currencyName: null, @@ -372,7 +372,7 @@ export default { l.timeZoneOverride = this.obj.timeZoneOverride; l.currencyName = this.obj.currencyName; l.hour12 = this.obj.hour12; - l.uiColor = this.obj.uiColor; + //l.uiColor = this.obj.uiColor; l.emailAddress = this.obj.emailAddress; l.mapUrlTemplate = this.obj.mapUrlTemplate; window.$gz.store.commit("setUserOptions", l);