Files
romm/frontend
cc 6936a089b8 perf(scan): replace deep watch with computed to reduce reactivity overhead
During a scan with large collections, the scan page becomes slow or
unresponsive. The watch on scanningPlatforms with { deep: true } was
firing on every ROM addition, causing Vue to deeply traverse all nested
platform and ROM data each time.

The watch's only job is deciding which panels are open. A panel should
open when a platform first receives ROMs — after that, its open/closed
state doesn't need to change regardless of how many more ROMs arrive.

Replace with a computed that maps each platform to a boolean
(roms.length > 0), so the watch only fires on that one meaningful
transition per platform. The ROM list inside each panel continues to
update reactively as normal — this change only affects the panel
open/close logic.

Note: This PR was written with AI assistance (Claude Code).
2026-03-09 20:38:54 -04:00
..
2026-01-30 21:21:19 -05:00
2026-02-16 22:11:47 -05:00
2025-09-25 09:10:29 -04:00
2025-09-09 20:19:30 -04:00
2026-03-08 10:41:46 -04:00
2026-03-08 10:41:46 -04:00
2025-09-04 08:41:04 -04:00
2026-01-29 23:43:39 -05:00