Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Add DocumentBatchNode class for grouping documents in batches of 50
  • Add GetDocumentIdsAsync to CouchbaseService with N1QL pagination
  • Update CollectionNode to load document batches with lazy loading
  • Add LoadMoreRequested event to LoadMoreNode for loading more batches
  • Add OnSelected virtual method to TreeNodeBase
  • Add DocumentBatchNode data template to XAML
  • Update OnRefresh to support CollectionNode refresh

Closes #93
Closes #63

Test plan

  • Expand a collection with documents - verify batches appear as [1-50]
  • Expand a batch node - verify individual document keys load
  • Click "Load More..." - verify next batch loads
  • Right-click collection and Refresh - verify documents reload

- Add DocumentBatchNode class for grouping documents in batches of 50
- Add GetDocumentIdsAsync to CouchbaseService with N1QL pagination
- Update CollectionNode to load document batches with lazy loading
- Add LoadMoreRequested event to LoadMoreNode for loading more batches
- Add OnSelected virtual method to TreeNodeBase
- Add DocumentBatchNode data template to XAML
- Update OnRefresh to support CollectionNode refresh
@CalvinAllen CalvinAllen merged commit ceb1136 into main Dec 22, 2025
3 checks passed
@CalvinAllen CalvinAllen deleted the feat/documents/batch-loading branch December 22, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[DOC-019] Load documents in batches (default: 10) [BSC-017] Refresh documents within collection

2 participants