This commit is contained in:
2020-01-15 00:42:35 +00:00
parent e6c7bd3a13
commit d01434c833
3 changed files with 38 additions and 41 deletions

View File

@@ -2,11 +2,12 @@ DISPLAY FORMAT TEMPLATE SYSTEM SPECS
OVERVIEW
RAVEN uses a user customizable template to determine what fields in which order get sent to the client when they display a list or select from a drop down
- FILTER / SORT: The templating is ENTIRELY separate from the filtering and sorting code which is already coded sufficiently and is a separate thing
- Users with BIZ rights can set the template
- There is one template per list (not user based but global in nature)
- Template affects both "MINI" single column display of list for small devices and large format wide mode with multiple columns for larger devices
- Template affects both "MINI" single column display of list for small devices and "FULL" format wide mode with multiple columns for larger devices
- In MINI list format displays they choose which columns go into the one single column for display that is returned
- In regular list format display they choose which columns are returned and which order separately from MINI format display
- In FULL list format display they choose which columns are returned and which order separately from MINI format display
Narrow grids on small screens as well as picklists need to show a single field of information as required by that shop for selection, recognition etc so templated to format multiple return fields into one
Grids need a way to ensure you can see what you need on small devices as well they need to show the columns desired on larger devices
@@ -64,10 +65,10 @@ Back AND front end
MOCK TEMPLATE
{
columns:[
full:[
ltKey,ltKey2,ltkey3
],
mini:[
ltKey, ltkey2, ltkey3
]
}

View File

@@ -20,7 +20,7 @@ REALLY MAKING MORE PROGRESS WHEN CLIENT DEV DRIVES BACKEND DEV, STICK TO THAT!!
-----------------------
GRID LISTS TODO NOW:
- RECODE GETLIST in WidgetBiz
- Return JSON and internally work with JSON so the list can return dynamic object
- https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-apis/
- https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0#fast-built-in-json-support