Skip to content

Performance: Add `<PrefetchableFile />` and use in file sidebar

Warren Gifford requested to merge tr/prefetchable-file into main

Created by: umpox

Context

Pre-fetch plaintext blobs from the file sidebar on hover to improve blobs loading performance. This improvement is hidden behind a feature flag which is disabled by default.

Before

https://user-images.githubusercontent.com/9516420/184663244-b0dcc96a-1f74-4d42-b840-530f136446f9.mp4

After

https://user-images.githubusercontent.com/9516420/184663257-190a90e3-ec48-4b50-b31f-a9950a3f0418.mp4

Test plan

Tested locally

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading