buda-base / public-digital-library

http://library.bdrc.io
4 stars 6 forks source link

expand all nodes in outlines #891

Open eroux opened 2 months ago

eroux commented 2 months ago

This is kind of an old issue but let's do it this time.

The difficulty is that getting all the data about the outline at once is pretty slow in terms of query and also very demanding in terms of UI. I think this is because when we fetch some nodes we fetch all the details (topics, authors, with their respective labels, but also location, notes, colophons, etc.) for all the nodes.

Instead let's do something along the lines of what's on the legacy website:

https://legacy.tbrc.org/#!rid=W22084

where we could:

what do you think @roopeux @berger-n ?

roopeux commented 2 months ago

@eroux If I understood correctly, we would shift waiting time from page load to the click of expand all. This is a very good idea. Just remember the spinner.