-
Notifications
You must be signed in to change notification settings - Fork 18
Pagination on long list #167
Description
Symfony packages
SF4,but does not matter
Symfony CMF packages
all
Subject
In an application with many children per node the treebrowser api (resource) answers with an 500. No matter if it is an timeout at the database ore on server process. But there are case where the list of children is that long, that it is hard to handle through the API and the the tree afterwards. the User won't see the complete result at all. We could go ahead and reduce nesting depth to 1 for this list. That would work, but how to know if there are to many nodes? To many siblings or to many children of one node.
So an idea would be to load 10-20 nodes at all, and give some ... to reload the next. Especially the input field would be very happy, where we need the parent only (mostly)
So my idea would be to have:
/cms/
content/
pages/
..... # here could live pate 1-9
page 11
page 12
page 13
page 14
page 15
page 16
page 17
page 18
page 19
page 20
... # here could live page 21 - XXX