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
Bug: fetchMoreFolderContents uses wrong prefix in column view pagination #43799
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
In the Storage Explorer column view, fetchMoreFolderContents computes the API prefix using all openedFolders instead of slicing to the target column index. This causes "load more" pagination in non-leaf columns to fetch objects from the wrong directory.
Both functions accept an index parameter, but fetchMoreFolderContents ignores it for prefix computation.
Severity
Users see files from the wrong directory when paginating in column view. If they act on those files (download, delete, move), the operation targets wrong objects.
To reproduce
Open Storage Explorer in column view
Create or navigate into nested folders (e.g. A → B → C)
Ensure the root column (or folder A) has enough items to trigger pagination (100+ items, or reduce LIMIT constant for testing)
In that non-leaf column, scroll down to trigger "load more"
The additional items are fetched from the deepest path (A/B/C) instead of the column's actual path
Expected behavior
fetchMoreFolderContents should use .slice(0, index + 1) like fetchFolderContents does, so pagination fetches objects from the correct directory.
File: apps/studio/state/storage-explorer.tsx, line 398
Additional context
This was missed during the refactor in #43541. The refactor correctly updated fetchFolderContents but missed the parallel function fetchMoreFolderContents.
bugSomething isn't workingexternal-issueCreated outside of SupabasefrontendRelated to Supabase Dashboardpr-openedA PR has been opened to resolve the issue
Activity
fix: storage explorer column infinite loading loads the wrong column (#…
fix: storage explorer column infinite loading loads the wrong column (#…
StorageFilePicker