perf: remove autoplay from assets cards#8325
Conversation
📝 WalkthroughWalkthroughThe Changes
Suggested reviewers
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Tests:
|
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/27/2026, 02:51:16 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 22.8 kB (baseline 22.8 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 960 kB (baseline 960 kB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 9 added / 9 removed Panels & Settings — 466 kB (baseline 466 kB) • 🟢 -8 BConfiguration panels, inspectors, and settings screens
Status: 12 added / 12 removed User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 3 added / 3 removed Editors & Dialogs — 2.83 kB (baseline 2.83 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 33.7 kB (baseline 33.7 kB) • ⚪ 0 BReusable component library chunks
Status: 5 added / 5 removed Data & Services — 3.19 MB (baseline 3.19 MB) • 🔴 +1 BStores, services, APIs, and repositories
Status: 8 added / 8 removed Utilities & Hooks — 25.2 kB (baseline 25.2 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 7 added / 7 removed Vendor & Third-Party — 10.7 MB (baseline 10.7 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 6.49 MB (baseline 6.49 MB) • 🟢 -211 BBundles that do not match a named category
Status: 35 added / 35 removed |
## Summary It's rare that someone has enabled autoplay -- but when they have, scrolling through a large grid of videos and trying to play them all onload can cause extreme lag. We don't need the asset cards to be autoplaying, so the fix here is fine for perf and UX. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8325-perf-remove-autoplay-from-assets-cards-2f56d73d3650814e8103f01b1f21b2e2) by [Unito](https://www.unito.io)
## Summary It's rare that someone has enabled autoplay -- but when they have, scrolling through a large grid of videos and trying to play them all onload can cause extreme lag. We don't need the asset cards to be autoplaying, so the fix here is fine for perf and UX. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8325-perf-remove-autoplay-from-assets-cards-2f56d73d3650814e8103f01b1f21b2e2) by [Unito](https://www.unito.io)
|
@christian-byrne Successfully backported to #8326 |
|
@christian-byrne Successfully backported to #8327 |
Backport of #8325 to `core/1.37` Automatically created by backport workflow. Co-authored-by: Christian Byrne <cbyrne@comfy.org>
Backport of #8325 to `cloud/1.37` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8327-backport-cloud-1-37-perf-remove-autoplay-from-assets-cards-2f56d73d365081cd8097e7a8619c427f) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne <cbyrne@comfy.org>
Summary
It's rare that someone has enabled autoplay -- but when they have, scrolling through a large grid of videos and trying to play them all onload can cause extreme lag. We don't need the asset cards to be autoplaying, so the fix here is fine for perf and UX.
┆Issue is synchronized with this Notion page by Unito