From 63b0afc62e9f645cfb1792ff265303fcaa6b681e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 20 Feb 2020 00:17:54 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 12 +++--------- ayanova/src/views/ay-data-list-view.vue | 13 +++++-------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 0bef941f..a3e31cb4 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -45,17 +45,11 @@ CURRENT TODOs TODO: ListViewBuilder +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 -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 - UNSAVED STATUS IN EDITOR If start with saved filter, as long as user is editing it keeps same name until they leave without saving then it becomes unsaved with -1 id - So while in edit form can save or not their choice diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index b36d16da..a17703a7 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -146,6 +146,7 @@ :value="true" > +
@@ -161,10 +162,8 @@ item.uiFieldDataType === 12 " > - STRING BUILDER -
- ID OBJECT TYPE: {{ item.ayaObjectType }} -
+ STRING BUILDER (NO NEED FOR SEARCH BY ID AS ALL NAMES + ARE GUARANTEED UNIQUE IN RAVEN)
@@ -191,7 +190,7 @@ ENUM BUILDER {{ item.enumType }} - +
TODO: STATIC list of items with delete button on each one @@ -343,7 +342,7 @@ export default { { name: this.lt("GridRowFilterDropDownContains"), id: "-%-" }, { name: this.lt("GridRowFilterDropDownStartsWith"), id: "%-" }, { name: this.lt("GridRowFilterDropDownEndsWith"), id: "-%" } - ], //maybe this one contains by Specific ID? Easy thing to do would be to say fuck it and it must be just text, no id filter TBD + ], integerFilterOperators: [ { name: this.lt("GridRowFilterDropDownBlanksItem"), id: "*NOVALUE*" }, { @@ -778,7 +777,6 @@ function initDataObject(vm) { isFilterable: fld.isFilterable, isSortable: fld.isSortable, enumType: fld.enumType, - ayaObjectType: fld.ayaObjectType, uiFieldDataType: fld.uiFieldDataType, isCustomField: fld.isCustomField, sort: lvItem.sort || null, @@ -805,7 +803,6 @@ function initDataObject(vm) { isFilterable: fld.isFilterable, isSortable: fld.isSortable, enumType: fld.enumType, - ayaObjectType: fld.ayaObjectType, uiFieldDataType: fld.uiFieldDataType, isCustomField: fld.isCustomField, sort: null,