[backport cloud/1.37] feat: implement progressive pagination for Asset Browser model assets#8240
Merged
DrJKL merged 1 commit intocloud/1.37from Jan 22, 2026
Merged
Conversation
Contributor
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Excluded labels (none allowed) (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/22/2026, 03:59:05 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests:
|
…#8212) Implements progressive pagination for model assets - returns the first batch immediately while loading remaining batches in the background. - Adds `ModelPaginationState` tracking (assets Map, offset, hasMore, loading, error) - `updateModelsForKey()` returns first batch, then calls `loadRemainingBatches()` to fetch the rest - Accessor functions `getAssets(key)`, `isModelLoading(key)` replace direct Map access - Adds `PaginationOptions` interface (`{ limit?, offset? }`) - `AssetBrowserModal.vue` uses new accessor API - Updated mocks for new accessor pattern ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8212-feat-implement-progressive-pagination-for-Asset-Browser-model-assets-2ef6d73d36508157af04d1264780997e) by [Unito](https://www.unito.io) --------- Co-authored-by: Amp <amp@ampcode.com>
a16e431 to
a4c0780
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #8212 to cloud/1.37
┆Issue is synchronized with this Notion page by Unito