Skip to content

Commit

Permalink
Connections wording + Gdrive warning improvement proposal (#2887)
Browse files Browse the repository at this point in the history
* Improve connections wording + Gdrive warning

* side modal for connection enablement

* lint

* nits
  • Loading branch information
spolu authored Dec 18, 2023
1 parent 28bc54c commit 95f218e
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 127 deletions.
16 changes: 11 additions & 5 deletions front/lib/connector_providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
{
Expand All @@ -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;
}
> = {
Expand All @@ -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,
},
Expand All @@ -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,
},
Expand All @@ -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,
},
Expand All @@ -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,
},
Expand Down
Loading

0 comments on commit 95f218e

Please sign in to comment.