Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #8365.
Fixes #8492 by removing the need for pagination.
This PR adds virtual scrolling to all tables, including file trees. For lists of a couple of thousand items, the difference is quite dramatic. Before you could barely scroll, now there's no slowdown at all. I've tested with up to 100k items without any issues. I think/hope it's good enough to disable pagination.
A downside is that column sizes can change as you scroll through the list. That's just because the table layout is set to auto, and only a small set of rows is being rendered at a time. I didn't want to go into calculating column sizes manually, but we can always revisit this later.
Note that there is room for additional performance improvements by only requesting updates from the core for the items that are (close to being) visible. Maybe something to consider in the future.