Media Library doesn't expose pagination — users with >50 files can't access them #897
Closed
sheadscott
started this conversation in
Ideas
Replies: 1 comment
-
|
Fixed in #996. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The media library hard-stops at 50 items with no way to load more. Users who have uploaded
more than 50 files silently lose access to the rest.
The backend already supports cursor-based pagination. GET /_emdash/api/media returns a
nextCursor in the response whenever more items exist. The infrastructure is there and working
— the admin UI simply never uses it.
What's missing in packages/admin/:
it down, with no cursor state
tracking
returned nextCursor is discarded
Proposed fix (UI-only, no API changes needed):
nextCursor as the pageParam
hasMore is true
Happy to implement this if maintainers want it. The backend needs no changes.
Beta Was this translation helpful? Give feedback.
All reactions