diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 8bf576b5..c614a77b 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -43,7 +43,19 @@ CURRENT TODOs =-=-=-=-=-=-= -TODO: FILTER AT CLIENT +TODO: ListViewBuilder + +TODO: DataTable listView picklist needs to handle UNSAVED -1 value, add it when it's there and remove it when user changes to other filter + - Can it be displayed in red like old v7? + +UI + - see custom fields editor for similar setup + - Need order buttons to move up / down / start / end + - Need visible checkbox but not called visible, maybe "Include". Visble implies it will return all fields don't want to give that impression + - Need sort button 3 way toggle with icons for sort asc, desc and unsorted + - Need filter array section with toggle for any / all conditions apply + - Need filter builder section where can add or remove individual filters + - Useful lt keys possibly there under GridFilter* keys ListViewEditor @@ -265,7 +277,7 @@ TAGS - At server if equality compare value is an array of strings then it's assu ---------------------- NON DATALISTVIEW STUFF ---------------------------- TODO: ay-data-list-view initform code shows proper way to initialize and await each step - Take that model and look at all the other forms and ensure they work the same way - + TODO: Custom fields test it out with grid, will likely need some field type code etc or is that already in the columns, not sure TODO: Tags in grid display, currently shows as an array of raw text with quotes, could be better displayed diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index 6c4c06ca..d2d593e2 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -113,7 +113,7 @@ export default { window.$gz.eventBus.$on("menu-click", clickHandler); //NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here //modify the menu as necessary - generateMenu(this, false); //default is never read only and passing in this vm + generateMenu(vm, false); //default is never read only and passing in this vm //init disable save button so it can be enabled only on edit to show dirty form window.$gz.eventBus.$emit("menu-disable-item", FORM_KEY + ":save"); }) @@ -143,8 +143,7 @@ export default { appError: undefined, serverError: {} }, - rights: window.$gz.role.getRights(window.$gz.type.DataListView) - //,tempTemplate: window.$gz.store.state.formCustomTemplate["widget"] + rights: window.$gz.role.getRights(window.$gz.type.DataListView) }; },