This commit is contained in:
2021-01-29 19:25:28 +00:00
parent 7e781627e4
commit 339ad105e5

View File

@@ -58,7 +58,17 @@ How it works:
REFRESH OF DATATABLE PAGE REFRESH OF DATATABLE PAGE
full page refresh / reload causes reset to default filter which triggers the fetch of the data which fills the local collection and sets teh ui for filter sort full page refresh / reload causes reset to default filter which triggers the fetch of the data which fills the local collection and sets teh ui for filter sort
UI V7 ISSUES FUCKERY AVOIDANCE
ISSUES:
Byzantine code in v7 the issues with the grid were the byzantine code behind when having to work with so many grid controls, no one control so easier off the bat
bad filter causing issues with query, errors, timeouts
Solution: server vets the filter and tries to ensure it is sensible so a filter on a nonexistant column should just remove the filter or whatever
SOLUTION
Basically make validation code have teeth at server; server only ever uses a saved filter so as long as it is saved in correct manner then it's ok
if DataList definition updates / changes then server can easily rip through all existing filtes for that table and fixup as necessary by removing no longer columns or renaming if necessary
LISTVIEW REPLACEMENT LISTVIEW REPLACEMENT
columns and sort are a singleton per datalistkey,userid persisted automatically (no alternative "views" just one of these). User can set them or reset them to default. columns and sort are a singleton per datalistkey,userid persisted automatically (no alternative "views" just one of these). User can set them or reset them to default.