mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
fix(session): load more pages when filtered list underfills viewport (#351)
Load additional session pages when child filtering leaves the viewport underfilled. Preserve directory and workspace identity, stop automatic pagination after next-page errors, and provide explicit retry with regression coverage. Fixes #350
This commit is contained in:
1 parent
caf95dd3d8
commit
b21c80c9e8
3 files changed
+289
-26
No files matched your search
@@ -124,6 +124,7 @@ export const useSessionsAcrossDirectories = (
|
||||
fetchNextPage: query.fetchNextPage,
|
||||
hasNextPage: query.hasNextPage,
|
||||
isFetchingNextPage: query.isFetchingNextPage,
|
||||
isFetchNextPageError: query.isFetchNextPageError,
|
||||
error: query.error,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user