Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(perf): improve preview loading #11631

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Commits on Sep 24, 2024

  1. feat(perf): improve preview loading

    * Adds a limit of parallel preview requests to prevent the server from being overrun with requests
    * Cancels ongoing and queued preview requests when they are aborted (e.g. when leaving the page)
    * Adds lazy loading for space images
    * Prevents the image resource from being fetched for each space
    * Uses caching for space images
    
    Also introduces a global `loadPreview` method and removes the visibility observers in each view. Previews are now loaded event-based instead, which should result in a better performance overall.
    JammingBen committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    a28b127 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. feat: remove functionality for checking almost empty text files

    Removes this feature as it only adds complexity and very little value.
    JammingBen committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    4aff454 View commit details
    Browse the repository at this point in the history