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
feat(connectors): use resource selectors for KB connector config (#5116)
* feat(connectors): use resource selectors for KB connector config
Replace raw ID text inputs with selector pickers (canonical selector +
manual-input pairs) across Google Drive/Docs/Forms/Sheets, Notion, Monday,
and Webflow KB connectors, so users pick folders/spreadsheets/pages/boards/
collections instead of pasting IDs — matching the workflow blocks.
- Add multi-select where the sync handler supports it (Drive/Docs/Forms
folders, Monday boards, Webflow collections) via parseMultiValue
- Add shared escapeDriveQueryValue/buildDriveParentsClause helpers for safe
multi-folder Drive queries
- Add ConnectorConfigField.mimeType, plumbed into the selector context
- Fix Webflow listingCapped not set on maxItems truncation (deletion-
reconciliation data-loss safety)
Fully backward compatible: legacy single-string IDs and CSV both normalize
via parseMultiValue; resolved canonical keys are unchanged.
* fix(webflow): set listingCapped on within-page maxItems truncation
When a collection's items fit in a single API page but maxItems cuts the
list within that page, neither hasMoreInCollection nor hasMoreCollections is
true, so listingCapped was not set and the sync engine could hard-delete
still-existing documents. Add the within-page drop signal to the guard.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connector-selector-field/connector-selector-field.tsx
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ export function ConnectorSelectorField({
0 commit comments