diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index aa9b6b03..f9304930 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -46,16 +46,16 @@ CURRENT TODOs -todo: when making change to listview filter for saved datalistview and then returning to datatable it's *not* using the latest changes - - This is if I SAVE it after editing it in the listview editor - - This does *not* occur if I don't save it and it uses the unsaved cache instead - - It only "takes" if I switch to another listview or none then back again in teh drop down box, it's HARD caching the original value not refreshing it - - maybe it thinks because it has an ID and that ID is the same that it doesn't need to refresh? - - or maybe the cached local copy of that datalistview is not set (if there is one for saved dlv?) - todo: Make functional user settings form with all overrides so can test shit out - state.locale.languageOverride = "en-US"; state.locale.timeZoneOverride = "America/New_York"; state.locale.currencyName = "USD"; - check server for anything else useroptions + - public string EmailAddress { get; set; } + public int UiColor { get; set; }//gonna need to convert this one + //browser forced overrides + public string LanguageOverride { get; set; } + public string TimeZoneOverride { get; set; } + public string CurrencyName { get; set; } + public bool Hour12 { get; set; } todo: SEARCH UI diff --git a/ayanova/src/api/errorhandler.js b/ayanova/src/api/errorhandler.js index 9d1c9346..622f9654 100644 --- a/ayanova/src/api/errorhandler.js +++ b/ayanova/src/api/errorhandler.js @@ -30,7 +30,7 @@ function dealWithError(msg, vm) { "DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" + msg; // eslint-disable-next-line no-console - console.log(errMsg); + console.Error(errMsg); console.trace(); debugger; window.$gz.eventBus.$emit("notify-error", "Dev error see log / console"); diff --git a/ayanova/src/api/gzapi.js b/ayanova/src/api/gzapi.js index 033c01c2..47f86e24 100644 --- a/ayanova/src/api/gzapi.js +++ b/ayanova/src/api/gzapi.js @@ -24,9 +24,8 @@ function stringifyPrimitive(v) { function devShowUnknownError(error) { if (window.$gz.errorHandler.devMode) { // eslint-disable-next-line - console.log("gzapi::devShowUnknownError, error is:"); - // eslint-disable-next-line - console.log(error); + console.Error("gzapi::devShowUnknownError, error is:", error); + console.trace(); debugger; diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index f75bf537..39f95d14 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -880,7 +880,6 @@ function loadFormSettings(vm) { //0=no list view, -1=unsaved list view so any number greater than zero means there sb a cached local copy of a saved list view if (formSettings.temp && formSettings.temp.cachedListView != null) { vm.listView = formSettings.temp.cachedListView; - console.log("loadFormSettings::using cached list view:", vm.listView); } else { //fetch it and cache it return fetchListView(vm, vm.listViewId); diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index 4c00f93e..3960b9e7 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -760,11 +760,6 @@ export default { res.data.id || vm.listViewId; //if res.data.id then a post, if null then a put and vm.listviewId has the id window.$gz.form.setFormSettings(vm.formKey, formSettings); - console.log( - "aya-data-list-view::submit success, updated formsettings", - formSettings - ); - //Logic for detecting if a post or put: if id then it was a post, if no id then it was a put // debugger; if (res.data.id) {