certat / do-portal

This project is in maintenance mode and will only receive bug fixes, but no new features. A new version of this software is being developed.
5 stars 5 forks source link

paging #62

Closed MarkHofstetter closed 5 years ago

MarkHofstetter commented 5 years ago

paging infrastructure

davewood commented 5 years ago

lazy loading tree viewer in JS https://github.com/davewood/treejo

MarkHofstetter commented 5 years ago

Ü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

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

certrik commented 5 years ago

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.

MarkHofstetter commented 5 years ago

optimized loading time by a factor of 10, and put paging infrastructure in place (not used yet), should be ok now

davewood commented 5 years ago

TODO: check if frontend javascript code can be simplified now

davewood commented 5 years ago

frontend code takes care of parent-child relationship. cannot be simplified without re-implementing same code in backend. im leaving code as is.