I want the ability to scroll back trough task logs without having the whole history of the task loaded into the DOM as it's very heavy. I'm thinking like old Reddit enhancement suit style, I would probably aim to un-render old pages after a set amount of entries while keeping the current page and a few buffer pages.
One possible approach is a hook to track page logs length with some helper functions mixed with an intersection observer.
I want the ability to scroll back trough task logs without having the whole history of the task loaded into the DOM as it's very heavy. I'm thinking like old Reddit enhancement suit style, I would probably aim to un-render old pages after a set amount of entries while keeping the current page and a few buffer pages.
One possible approach is a hook to track page logs length with some helper functions mixed with an intersection observer.