Closed MarkHofstetter closed 5 years ago
lazy loading tree viewer in JS https://github.com/davewood/treejo
Überlegungen Paging Organisationen:
ich hab mich gestern und heute mit der paging Problematik f. Organisationen beschäftigt
leider wird das vermutlich das Problem bei uns nicht lösen, nachdem wir wahrscheinlich keine schönen Baum haben werden, sondern sich das allermeiste direkt unter dem admin abspielen wird
zweite Idee: wenn ein Resultat mehr als x (zb 1000) Zeilen resultieren würde, "zwingen" wir den User zur eingabe eines Suchfilters, und erst dann wird dann das Resultat mit dem reduzierten Baum angezeigt
dritte Idee (die mir am wenigsten gefällt): wir flatten das Resultat, dh
aus
A
B
D
E
C
würde
A => B
A => B => D
A => B => E
A => C
und dass könnten wir dann vernünftig pagen
As briefly discussed ... Please implement as standard paging solution. Means one page is shown at a time with a link to get to next page and vice versa. The content is rendered alphabetically per subtree. Please also reduce data which is transfered to the minimum needed for showing the content.
Let's see how that feels and then elaborate.
optimized loading time by a factor of 10, and put paging infrastructure in place (not used yet), should be ok now
TODO: check if frontend javascript code can be simplified now
frontend code takes care of parent-child relationship. cannot be simplified without re-implementing same code in backend. im leaving code as is.
paging infrastructure