• v3.3.65 221eb55380

    Administrator released this 2026-06-10 23:16:56 +02:00 | 111 commits to master since this release

    Files panel: the REAL fix for 'newest upload doesn't appear on top until I click Datum twice'.

    Root cause (finally pinned down): the panel's sort result is memoized, keyed by sortKey|direction|rowCount. The panel caps at 2000 rows — heavy sessions hit that cap quickly. Past the cap, every new link pushes one entry in and drops the oldest out, so the ROW COUNT STAYS AT 2000 → the cache key never changes → the sorter keeps returning the stale cached array WITHOUT the new entry. That's why exactly two Datum clicks 'fixed' it each time: click 1 flips to ascending (new cache key → fresh sort), click 2 flips back to descending (fresh sort again) → newest finally visible. Below 2000 rows the count changes on every add, so the bug only appeared after ~2000 uploads in a session — matching the 'happens after a while' observation.

    Fix: a data-version counter that increments on EVERY mutation of the panel data (new link, delete selected, clear all) is now part of the cache key, so any change invalidates the memo. The 3.3.60 scroll-pin keeps the view at the top, so with date-descending (default) every fresh link now appears at the top instantly, no clicking, for the entire session regardless of how many thousands of links accumulate.

    Downloads