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

Feature request: Better resource-handling (thumnails etc) #143

Open
nytamin opened this issue May 6, 2023 · 0 comments
Open

Feature request: Better resource-handling (thumnails etc) #143

nytamin opened this issue May 6, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@nytamin
Copy link
Member

nytamin commented May 6, 2023

Is your feature request related to a problem? Please describe.
Currently, the thumbnail-images are stored as base64-blobs along with the resource-JSON data, and is fetched synchronously along with the rest of the resource data.

Describe the solution you'd like
We should rework how we store and refresh resource data.

Note: Any code that handles "thumbnails" below should also be able to handle other things, like preview (webm) files, and others.

  • Change how the thumbnails are stored on disk. Instead of base64-blobs we should store them as separate files.
  • Change how the thumbnails are served to the client. Instead of going via IPC, they should be served from a http-endpoint.
  • Change how the thumbnails are updated. A Resource-refresh should update only the resources themselves. The thumbnails should be updated asynchronously afterwards, and only when needed.

Additional context

This might potentially also fix the issue with SC crashing in certain cases (#133)

@nytamin nytamin added the enhancement New feature or request label May 6, 2023
@nytamin nytamin added the bug Something isn't working label Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant