stash/ui
notsafeforgit 00ff6d9936 perf(ui): optimize duplicate checker UI to prevent browser freezing
This fixes an issue where Chrome would become unresponsive and prompt the user to kill the page when a large number of duplicates (e.g. 30,000+ groups) were found.

1. Changed the fetchPolicy on FindDuplicateImages to 'no-cache'. Loading 30k+ complex objects into the Apollo normalized cache blocked the main thread for an extended period. Bypassing the cache for this massive one-off query resolves the blocking.
2. Optimized the sorting algorithm in both Image and Scene duplicate checkers. Previously, the group size was recalculated by iterating over all nested files inside the sort's comparison function, resulting in millions of unnecessary iterations (O(N log N) with a heavy inner loop). Now, group sizes are precalculated into a map (O(N)) before sorting.
2026-03-23 01:16:27 -07:00
..
login Encode credentials during login (#6163) 2025-10-21 19:04:44 +11:00
v2.5 perf(ui): optimize duplicate checker UI to prevent browser freezing 2026-03-23 01:16:27 -07:00
ui.go Login page internationalisation (#5765) 2025-03-27 11:56:43 +11:00