feat: improve media library layout and loading behavior
Deploy Development / deploy (push) Successful in 34s
Test Suite / pytest-backend (push) Successful in 24s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 7s
Test Suite / playwright-tests (push) Successful in 28s

- Added a hidden anchor element to the media library for smooth scrolling to the top of the grid after uploads.
- Introduced a sequence reference to manage concurrent media item fetch requests, ensuring accurate loading states.
- Updated upload summary messaging to include a note about the list being refreshed after uploads.
- Enhanced loading state management to prevent unnecessary updates when fetch requests are out of sync.
This commit is contained in:
Lars committed 2026-05-07 22:02:18 +02:00
1 parent cc4e621f95
commit ceef6f09e2
2 files changed
+23 -2

No files matched your search

+8
View File
@@ -5563,6 +5563,14 @@ a.analysis-split__nav-item {
color: var(--text2);
flex: 1 1 200px;
}
.media-library__grid-top-anchor {
height: 1px;
margin: 0;
padding: 0;
overflow: hidden;
visibility: hidden;
pointer-events: none;
}
.media-library__upload-icon {
vertical-align: middle;
margin-right: 6px;