This commit is contained in:
2020-02-20 00:17:54 +00:00
parent ac6cef9255
commit 63b0afc62e
2 changed files with 8 additions and 17 deletions

View File

@@ -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

View File

@@ -146,6 +146,7 @@
:value="true"
></v-radio>
</v-radio-group>
<v-divider class="mx-4 my-5"></v-divider>
<!-- BUILDER FOR EACH TYPE Tag, decimal,currency, bool, integer, string, datetime -->
<!-- DATETIME BUILDER -->
<div v-if="item.uiFieldDataType === 1">
@@ -161,10 +162,8 @@
item.uiFieldDataType === 12
"
>
STRING BUILDER
<div v-if="item.ayaObjectType">
ID OBJECT TYPE: {{ item.ayaObjectType }}
</div>
STRING BUILDER (NO NEED FOR SEARCH BY ID AS ALL NAMES
ARE GUARANTEED UNIQUE IN RAVEN)
</div>
<!-- INTEGER BUILDER -->
@@ -191,7 +190,7 @@
ENUM BUILDER
{{ item.enumType }}
</div>
<v-divider class="mx-4 my-5"></v-divider>
<div>
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,