fix(history): align columns and animate details

Anchor the history action column to the table edge, left-align size values with their header, and replace the raw expanded row with a measured disclosure surface. Reuse the global animation preference so history details open and close smoothly when enabled and switch immediately when animations are disabled. Preserve responsive column resizing and cover the new model and layout behavior with focused tests.
This commit is contained in:
Sucukdeluxe
2026-08-15 04:40:02 +02:00
parent 83c9afca90
commit 1d71860d91
5 changed files with 194 additions and 62 deletions
+3 -2
View File
@@ -1676,8 +1676,9 @@ export function App(): ReactElement {
historyExpandedIds,
historyLoading,
historyError,
runtimeNow
), [historyEntries, historyError, historyExpandedIds, historyFilter, historyLoading, historyQuery, runtimeNow, selectedHistoryIds]);
runtimeNow,
snapshot.settings.animatePackageDisclosure
), [historyEntries, historyError, historyExpandedIds, historyFilter, historyLoading, historyQuery, runtimeNow, selectedHistoryIds, snapshot.settings.animatePackageDisclosure]);
historyVisibleIdsRef.current = historyViewModel.rows.map((entry) => entry.id);
const statisticsViewModel = useMemo(
() => buildStatisticsViewModel(snapshot, statisticsRange, runtimeNow),