diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index f98a1b2e..9cafc438 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -42,18 +42,17 @@ CURRENT ROADMAP CURRENT TODOs =-=-=-=-=-=-= +TODO: PLAY WITH QUERIES, if search for pizza in name bombed at server + - SERVER: when the query bombs with exception it should output the query text to the log and console (DEV MODE) + - do same thing not in dev mode but in higher level of logging? though more ideal if it returns to client so I can see it remotely + - Maybe still a good idea to return generated query in case of fail for diagnosis +TODO: ListView editor hasn't had SAVE code written yet + TODO: CACHE dataListAvailable Fields at least on one temporary cache for most current - This is because the listview editor needs it and if a user is flipping back and forth between the datatable and the filter getting it just right they will be triggering a fetch over and over -TODO: ListViewBuilder - -{"offset":0,"limit":10,"dataListKey":"TestWidgetDataList","listView":"[{\"fld\":\"widgetname\",\"sort\":\"+\"},{\"fld\":\"widgetserial\"},{\"fld\":\"widgetdollaramount\"},{\"fld\":\"widgetusertype\"},{\"fld\":\"widgetstartdate\"},{\"fld\":\"widgetactive\"},{\"fld\":\"username\"}]"} -{"offset":0,"limit":10,"dataListKey":"TestWidgetDataList","listView":"[{\"fld\": \"widgetname\",\"filter\": {\"any\":false,\"items\": [{\"op\": \"%-\",\"value\": \"Generic\"}]}}]"} -SEARCH BY ID SPECIFIC VALUE - - Since RAVEN doesn't ever allow duplicate names, there is really no need for search by ID - - Because entering a unique name is enough to guarantee only that objects records UNSAVED STATUS IN EDITOR diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 463e5bd4..58beb1b8 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -434,7 +434,7 @@ export default { if (vm.loading) { return; } - console.log("getDataFromAPI::TOP"); + // console.log("getDataFromAPI::TOP"); //start with defaults var listOptions = { @@ -463,8 +463,8 @@ export default { // "dataListKey": "string", // "listView": "string" // } - console.log("GetDataFromAPI::ListView is:"); - console.log(vm.listView); + // console.log("GetDataFromAPI::ListView is:"); + // console.log(vm.listView); window.$gz.api .upsert(vm.apiBaseUrl, { offset: listOptions.Offset, @@ -688,7 +688,7 @@ function populatePickLists(vm) { vm.pickLists.listViews = res.data; window.$gz.form.addNoSelectionItem(vm.pickLists.listViews); } - console.log("Done populate picklists"); + // console.log("Done populate picklists"); }); } @@ -750,7 +750,7 @@ function saveFormSettings(vm) { //////////////////// // function loadFormSettings(vm) { - console.log("loadFormSettings::TOP"); + //console.log("loadFormSettings::TOP"); var formSettings = window.$gz.form.getFormSettings(vm.formKey); //process SAVED formsettings if (formSettings.saved) { @@ -774,10 +774,10 @@ function loadFormSettings(vm) { name: vm.lt("FilterUnsaved"), id: -1 }); - console.log("loadFormSettings::unsaved Listview in use. It is:"); + // console.log("loadFormSettings::unsaved Listview in use. It is:"); vm.listView = formSettings.saved.dataTable.unsavedListView; - console.log(vm.listView); + // console.log(vm.listView); } else { //listviewid is for unsaved but we have no unsaved so fix that up vm.listView = undefined;