You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Paginate hash and list elements in Key Browser detail view #454
When viewing a large hash or list in the Key Browser detail pane, all elements are loaded and rendered at once. For keys with thousands of elements this causes slow rendering and high memory usage in the browser.
The KEY_VALUE_SIZE_LIMIT_BYTES environment variable (default 2KB) already guards against rendering excessively large keys by showing a size warning instead of loading elements. However, when the limit is raised (e.g. to 10MB for testing), performance starts to degrade around that threshold as the browser struggles to render thousands of elements simultaneously.
Proposed Solution
Paginate elements in batches of 100. Show the first 100 elements on load, with a "Load more" button or infinite scroll to fetch the next page. This applies to:
Activity
feat(key-browser): paginate hash, list, set, and zset elements in key…
feat(key-browser): clamp initial collection detail load and advance v…