fix(downloads): slow priority reorder motion
Extend only the priority reorder transition from 1.5 seconds to 3 seconds while preserving the separate package disclosure timing. Update the focused regression assertion to lock the intended duration.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { DownloadLogicalRow } from "./downloads-model";
|
||||
|
||||
export const DOWNLOAD_ORDER_TRANSITION_DURATION_MS = 1500;
|
||||
export const DOWNLOAD_ORDER_TRANSITION_DURATION_MS = 3000;
|
||||
export const DOWNLOAD_ORDER_TRANSITION_MAX_PINNED_ROWS = 96;
|
||||
const DOWNLOAD_ORDER_TRANSITION_EASING = "cubic-bezier(0.22, 1, 0.36, 1)";
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ describe("virtualisierte Paketanimation", () => {
|
||||
});
|
||||
|
||||
it("pins only previously visible rows for a real priority reorder", () => {
|
||||
expect(DOWNLOAD_ORDER_TRANSITION_DURATION_MS).toBe(1500);
|
||||
expect(DOWNLOAD_ORDER_TRANSITION_DURATION_MS).toBe(3000);
|
||||
expect(isDownloadPackageOrderChange(["a", "b", "c"], ["b", "c", "a"])).toBe(true);
|
||||
expect(isDownloadPackageOrderChange(["a", "b"], ["a", "c"])).toBe(false);
|
||||
expect(getDownloadOrderTransitionPinnedIds({
|
||||
|
||||
Reference in New Issue
Block a user