mirror of
https://github.com/penpot/penpot.git
synced 2026-11-16 23:20:37 +00:00
This PR moves component thumbnail rendering off the main thread and onto the worker, which avoids the freezes. The main thread will send the worker over a request containing the component's shape data, and the worker will render it in batches. Once finished it will both persist the thumbnails to the server if requested and send back the PNG data to the main thread. AI-assisted-by: claude-opus-5-5