Skip Navigation

1.4.39 Released

Highlights in 1.4.39

  • Enhanced the content filtering options
  • Revamped the comment section display
  • Tweaked some mod tool behavior
  • Spruced up the modlog
  • Quite a few bugfixes

Changelog

Get Tesseract

6 comments
  • As always, love your work. Tess is my daily driver for lemmy

  • I like the new comment lines! One minor thing is that it might be nice to scroll the view to where the collapsed thread ended up. If I'm in the middle of a long thread and collapse one of the outer comments, it ends up showing me the middle of another thread.

    • scroll the view to where the collapsed thread

      I tried to do that, but couldn't get it working right.

      May take another stab at it, though.

    • I have this working now, but I'm trying to decide if it's worth it.

      To make it work sanely and consistently, I had to add observers on every individual comment (since that's where all the logic is). Those observers watch to see if the comment is in the viewport or not. If it is, then it doesn't scroll. If the parent comment is outside the viewport, then it scrolls it to the center (can't do 'top' without making it even more complex). The other complicating factor is that the scroll is also fighting the animation, so I had to add a delay to account for that. The other other complicating factor is making that work within a modal and from the page.

      So, it works now, and that's nice, but I'm assessing whether it's going to be too much of a performance/memory/CPU hog to make it practical.

      If it doesn't pan out, I may be able to take a different route with event dispatchers/listeners and have the container scroll to the coordinates instead. Though I do prefer keeping all the comment logic mostly contained within the comment component.

      • Thanks for taking a look! Yeah, it's hard to know what's easy vs hard with that sort of thing, it just kind of seemed natural from a UX POV. It sounds pretty complex though.

6 comments