fix: Create new grouping for CRM connectors (#4776)

* Create new grouping for CRM connectors
* Edit spacing
This commit is contained in:
Raunak Bhagat
2025-05-27 06:51:34 -07:00
committed by GitHub
parent 0b01d7f848
commit baaf31513c
3 changed files with 13 additions and 10 deletions

View File

@@ -154,6 +154,8 @@ function getCategoryDescription(category: SourceCategory): string {
return "Link to project management and task tracking tools."; return "Link to project management and task tracking tools.";
case SourceCategory.CustomerSupport: case SourceCategory.CustomerSupport:
return "Connect to customer support and helpdesk systems."; return "Connect to customer support and helpdesk systems.";
case SourceCategory.CustomerRelationshipManagement:
return "Integrate with customer relationship management platforms.";
case SourceCategory.CodeRepository: case SourceCategory.CodeRepository:
return "Integrate with code repositories and version control systems."; return "Integrate with code repositories and version control systems.";
case SourceCategory.Storage: case SourceCategory.Storage:

View File

@@ -165,6 +165,7 @@ export enum SourceCategory {
Storage = "Storage", Storage = "Storage",
Wiki = "Wiki", Wiki = "Wiki",
CustomerSupport = "Customer Support", CustomerSupport = "Customer Support",
CustomerRelationshipManagement = "Customer Relationship Management",
Messaging = "Messaging", Messaging = "Messaging",
ProjectManagement = "Project Management", ProjectManagement = "Project Management",
CodeRepository = "Code Repository", CodeRepository = "Code Repository",

View File

@@ -175,7 +175,7 @@ export const SOURCE_METADATA_MAP: SourceMap = {
hubspot: { hubspot: {
icon: HubSpotIcon, icon: HubSpotIcon,
displayName: "HubSpot", displayName: "HubSpot",
category: SourceCategory.CustomerSupport, category: SourceCategory.CustomerRelationshipManagement,
docs: "https://docs.onyx.app/connectors/hubspot", docs: "https://docs.onyx.app/connectors/hubspot",
}, },
document360: { document360: {
@@ -210,7 +210,7 @@ export const SOURCE_METADATA_MAP: SourceMap = {
salesforce: { salesforce: {
icon: SalesforceIcon, icon: SalesforceIcon,
displayName: "Salesforce", displayName: "Salesforce",
category: SourceCategory.CustomerSupport, category: SourceCategory.CustomerRelationshipManagement,
docs: "https://docs.onyx.app/connectors/salesforce", docs: "https://docs.onyx.app/connectors/salesforce",
}, },
sharepoint: { sharepoint: {