Home Artists Posts Import Register

Content

I've finished implementing the ability to vote on new comments and moved some UI parts around as well. 

The hardest part is here now which is scale. Our most popular Waifu for comments is Zero Two but right now we currently only show about 25 - 50 comments.

Since the update features a hierarchy for comments, it's challenging to paginate by anything other than time since the last tree was updated. Which is totally possible, provided two users don't get into it back and forth for an indefinite amount of time. (which, I mean, is still technically possible. I just haven't written a test for it yet).

Time isn't too bad, since then I can paginate by the trees updated in the last week and also prevent respawning old trees after a month or so (archive that node I guess).

However, out of curiosity, I seeded 2,000 comments and attempted to draw up the tree and it had pretty high memory usage. It still took less than a second on the backend but the memory usage may need to be addressed in the future. Also, the front-end gets obliterated if I shove in 1,000 root nodes (I want it smooth on browsers).

At that point, I switched to using an IntersectionObserver which actually works pretty nicely, but I need to work out a few kinks with scrolling too quickly causing it to not fire properly and show the elements. 

Anyway. Going to take a bit more time to get this one out so I can make sure it's all good.

Thanks for your support as always <3

Comments

FALprofessional

You're the only Creator I follow that I actually make an effort to read the updates of. Kudos. Here's to a robust and utilitarian comment system.