-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connections wording + Gdrive warning improvement proposal (#2887)
* Improve connections wording + Gdrive warning * side modal for connection enablement * lint * nits
- Loading branch information
Showing
2 changed files
with
170 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ import { | |
} from "@dust-tt/sparkle"; | ||
import { ConnectorProvider } from "@dust-tt/types"; | ||
|
||
import { isDevelopment } from "@app/lib/development"; | ||
|
||
export const CONNECTOR_CONFIGURATIONS: Record< | ||
ConnectorProvider, | ||
{ | ||
|
@@ -18,6 +16,7 @@ export const CONNECTOR_CONFIGURATIONS: Record< | |
logoPath: string; | ||
logoComponent: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
description: string; | ||
limitations: string | null; | ||
isNested: boolean; | ||
} | ||
> = { | ||
|
@@ -28,6 +27,7 @@ export const CONNECTOR_CONFIGURATIONS: Record< | |
logoPath: "/static/notion_32x32.png", | ||
description: | ||
"Authorize granular access to your company's Notion workspace, by top-level pages.", | ||
limitations: "External files and content behind links are not indexed.", | ||
logoComponent: NotionLogo, | ||
isNested: true, | ||
}, | ||
|
@@ -37,7 +37,9 @@ export const CONNECTOR_CONFIGURATIONS: Record< | |
isBuilt: true, | ||
logoPath: "/static/google_drive_32x32.png", | ||
description: | ||
"Authorize granular access to your company's Google Drive, by drives and folders. Supported files include GDocs, GSlides, and .txt files.", | ||
"Authorize granular access to your company's Google Drive, by drives and folders. Supported files include GDocs, GSlides, and .txt files. Email us for .pdf indexation.", | ||
limitations: | ||
"Files with more than 750KB of extracted text are ignored. By default, PDF files are not indexed. Email us at [email protected] to enable PDF indexing.", | ||
logoComponent: DriveLogo, | ||
isNested: true, | ||
}, | ||
|
@@ -48,6 +50,7 @@ export const CONNECTOR_CONFIGURATIONS: Record< | |
logoPath: "/static/slack_32x32.png", | ||
description: | ||
"Authorize granular access to your Slack workspace on a channel-by-channel basis.", | ||
limitations: "External files and content behind links are not indexed.", | ||
logoComponent: SlackLogo, | ||
isNested: false, | ||
}, | ||
|
@@ -57,17 +60,20 @@ export const CONNECTOR_CONFIGURATIONS: Record< | |
isBuilt: true, | ||
logoPath: "/static/github_black_32x32.png", | ||
description: | ||
"Authorize access to your company's GitHub on a repository-by-repository basis. Dust can access Issues, Discussions, and Pull Request threads. We're working on adding support for code indexing.", | ||
"Authorize access to your company's GitHub on a repository-by-repository basis. Dust can access Issues, Discussions, and Pull Request threads. Code indexation is coming soon.", | ||
limitations: | ||
"Dust only gathers data from issues, discussions and top-level pull requests (but not in-code comments in pull requests, nor the actual source code or other Github data).", | ||
logoComponent: GithubLogo, | ||
isNested: false, | ||
}, | ||
intercom: { | ||
name: "Intercom", | ||
connectorProvider: "intercom", | ||
isBuilt: isDevelopment(), // TODO @daph Activate Intercom connector | ||
isBuilt: false, | ||
logoPath: "/static/intercom_32x32.png", | ||
description: | ||
"Authorize granular access to your company's Intercom Help Centers. Dust does not access your conversations.", | ||
limitations: null, | ||
logoComponent: IntercomLogo, | ||
isNested: false, | ||
}, | ||
|
Oops, something went wrong.