Open aponigricon opened 10 years ago
DataTables would be useful for this
DataTables is great but I think that a server-side pagination will be needed. The page is already heavy (4672 boards to sort). I think we could imagine this kind of thing:
[top boards (all time) (~10/15)] [top boards (this last hour) (~10/15)] [new boards (~10/15)] [current board list system (but limited to let's say ~100 boards with a server-sided pagination]
I think instead of server-side pagination, the data is fetched from boards.json instead, so the page still renders fast
That's ridiculous. The client would still have to load the entire JSON file every single time, which would be equivalent to just loading boards.html as it is now. No improvement on neither the client nor the server.
I also agree with server side pagination. Actually I'm rewriting the discovery system. Server side pagination is part of it however.
This one is pretty self-explanatory. Simply add some form of pagination to boards.html, either traditional pagination, or "infinite [not really] scrolling". On top of that, add a little search engine at the top of the page to search by board name and title.
This will probably require some PHP, but should still increase server performance and user experience as a whole, despite the server-side scripting.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.