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 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 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 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 - So while in edit form can save or not their choice

View File

@@ -146,6 +146,7 @@
:value="true" :value="true"
></v-radio> ></v-radio>
</v-radio-group> </v-radio-group>
<v-divider class="mx-4 my-5"></v-divider>
<!-- BUILDER FOR EACH TYPE Tag, decimal,currency, bool, integer, string, datetime --> <!-- BUILDER FOR EACH TYPE Tag, decimal,currency, bool, integer, string, datetime -->
<!-- DATETIME BUILDER --> <!-- DATETIME BUILDER -->
<div v-if="item.uiFieldDataType === 1"> <div v-if="item.uiFieldDataType === 1">
@@ -161,10 +162,8 @@
item.uiFieldDataType === 12 item.uiFieldDataType === 12
" "
> >
STRING BUILDER STRING BUILDER (NO NEED FOR SEARCH BY ID AS ALL NAMES
<div v-if="item.ayaObjectType"> ARE GUARANTEED UNIQUE IN RAVEN)
ID OBJECT TYPE: {{ item.ayaObjectType }}
</div>
</div> </div>
<!-- INTEGER BUILDER --> <!-- INTEGER BUILDER -->
@@ -191,7 +190,7 @@
ENUM BUILDER ENUM BUILDER
{{ item.enumType }} {{ item.enumType }}
</div> </div>
<v-divider class="mx-4 my-5"></v-divider>
<div> <div>
TODO: STATIC list of items with delete button on each TODO: STATIC list of items with delete button on each
one one
@@ -343,7 +342,7 @@ export default {
{ name: this.lt("GridRowFilterDropDownContains"), id: "-%-" }, { name: this.lt("GridRowFilterDropDownContains"), id: "-%-" },
{ name: this.lt("GridRowFilterDropDownStartsWith"), id: "%-" }, { name: this.lt("GridRowFilterDropDownStartsWith"), id: "%-" },
{ name: this.lt("GridRowFilterDropDownEndsWith"), 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: [ integerFilterOperators: [
{ name: this.lt("GridRowFilterDropDownBlanksItem"), id: "*NOVALUE*" }, { name: this.lt("GridRowFilterDropDownBlanksItem"), id: "*NOVALUE*" },
{ {
@@ -778,7 +777,6 @@ function initDataObject(vm) {
isFilterable: fld.isFilterable, isFilterable: fld.isFilterable,
isSortable: fld.isSortable, isSortable: fld.isSortable,
enumType: fld.enumType, enumType: fld.enumType,
ayaObjectType: fld.ayaObjectType,
uiFieldDataType: fld.uiFieldDataType, uiFieldDataType: fld.uiFieldDataType,
isCustomField: fld.isCustomField, isCustomField: fld.isCustomField,
sort: lvItem.sort || null, sort: lvItem.sort || null,
@@ -805,7 +803,6 @@ function initDataObject(vm) {
isFilterable: fld.isFilterable, isFilterable: fld.isFilterable,
isSortable: fld.isSortable, isSortable: fld.isSortable,
enumType: fld.enumType, enumType: fld.enumType,
ayaObjectType: fld.ayaObjectType,
uiFieldDataType: fld.uiFieldDataType, uiFieldDataType: fld.uiFieldDataType,
isCustomField: fld.isCustomField, isCustomField: fld.isCustomField,
sort: null, sort: null,