Skip to content

feat: add batch sync for Notion and Website documents in knowledge base#38169

Open
Kota-Maeda wants to merge 1 commit into
langgenius:mainfrom
Kota-Maeda:feat/batch-sync-notion-website-docs
Open

feat: add batch sync for Notion and Website documents in knowledge base#38169
Kota-Maeda wants to merge 1 commit into
langgenius:mainfrom
Kota-Maeda:feat/batch-sync-notion-website-docs

Conversation

@Kota-Maeda

Copy link
Copy Markdown

Summary

Fixes #38168

  • Add Sync button to the batch action bar when Notion/Website documents are selected
  • Add Sync All button to the document list header for Notion/Website-backed knowledge bases
  • Add GET /datasets/<id>/website-sync backend endpoint (mirrors existing Notion sync API)

Screenshots

Before After
Batch action bar: Re-index, Download, Delete Batch action bar: Re-index, Sync, Download, Delete (for Notion/Website docs)
No sync option in document list header Sync All button in header for Notion/Website knowledge bases

Checklist

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jun 29, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label Jun 29, 2026
Add "Sync" button to the batch action bar when Notion/Website documents
are selected, and a "Sync All" button in the document list header for
knowledge bases backed by Notion or Website sources.

Backend adds a new `/datasets/<id>/website-sync` API endpoint mirroring
the existing `/datasets/<id>/notion/sync` endpoint. Frontend wires up
both sync mutations, filters syncable documents by data source type,
polls for completion, and shows loading state with toast notifications.
@Kota-Maeda Kota-Maeda force-pushed the feat/batch-sync-notion-website-docs branch from d0eb64d to d982e8d Compare June 29, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add batch sync for Notion and Website documents in knowledge base

1 participant