Fix CSS row animation during download column sorting

This commit is contained in:
Sucukdeluxe
2026-09-04 21:21:53 +02:00
parent c54a14f2be
commit befb17741e
3 changed files with 13 additions and 3 deletions
+4
View File
@@ -4,6 +4,10 @@ All notable changes to Multi-Debrid Downloader are documented in this file.
## [Unreleased]
### Fixed
- Disable CSS row transitions as well as JavaScript animations during column sorting, so packages immediately jump to their sorted positions.
## [2.0.87] - 2026-09-04
### Availability sorting
+8 -2
View File
@@ -10,8 +10,8 @@ Diese Datei hält den verifizierten technischen Arbeitsstand fest. Sie enthält
- Verifiziert am: 4. September 2026, Europe/Berlin
- Lokaler Pfad: `C:\Users\Sascha\Desktop\Claude & ChatGPT Projekte\Multi-Debrid-Downloader`
- Arbeitsbranch: `release/v2.0.87`
- Quellbasis: `release/v2.0.86`
- Arbeitsbranch: `fix/availability-sort-snap`
- Quellbasis: `release/v2.0.87` auf `c54a14f2becfabb9ee20a3783715e280069f2775`
- Release-Tag: `v2.0.87` auf `d8661619c5f01a484f936513c7aea1c1b172aca3`
- Baseline-Commit: `65084bd6d2a5add6a1552316f63cf0b0b2c27080`
- Feature-Commit: `558d6ca4f499c86221d1054b0f00d3068d4d4654`
@@ -233,6 +233,12 @@ Diese Datei hält den verifizierten technischen Arbeitsstand fest. Sie enthält
## Start-, Build- und Testbefehle
### Unveröffentlichter Sortierfix vom 4. September 2026
- Der Sortierfix in `v2.0.87` unterdrückte nur die JavaScript-Animation. Die CSS-Transition der virtuellen Zeilen bewegte sie weiterhin 1,5 Sekunden lang. `VirtualizedDownloadsBody` verwendet jetzt denselben Sortierguard auch für `is-download-motion-disabled`, wodurch CSS und JavaScript beim Spaltensortieren gemeinsam ausgesetzt werden.
- Verifiziert: 160 Tests aus `download-sort.test.ts` und `downloads-view.test.tsx` erfolgreich; TypeScript mit `tsc --noEmit` fehlerfrei. Im lokalen Browser-Test mit der bestehenden visuellen Fixture wurden beide Verfügbarkeits-Sortierrichtungen samt CSS-Bewegungssperre geprüft. Normales Einklappen hebt die sortierbedingte Sperre wieder auf.
- Die Dev-App läuft mit Vite auf Port 5180 und Main-Watcher; Vite hat die Änderung automatisch geladen. Paketversion bleibt `2.0.87`, der Fix ist noch nicht veröffentlicht. Nächster Schritt: Saschas Sichtprüfung in der Dev-App und gegebenenfalls ein ausdrücklich beauftragtes Release.
```powershell
npm ci
npm ci --prefix services/backup-api
@@ -246,7 +246,7 @@ export function VirtualizedDownloadsBody({ actions, model, state }: { actions: D
const spacerStyle = { "--downloads-virtual-total-height": `${virtualWindow.totalHeight}px` } as CSSProperties;
return (
<div className={`downloads-table-body${model.animationsEnabled ? "" : " is-download-motion-disabled"}`} data-visual-region="downloads-table-body" ref={bodyRef} role="rowgroup">
<div className={`downloads-table-body${orderAnimationsEnabled ? "" : " is-download-motion-disabled"}`} data-visual-region="downloads-table-body" ref={bodyRef} role="rowgroup">
{state}
{!state ? (
<div className="downloads-virtual-spacer" style={spacerStyle}>