diff options
| author | MaheshtheDev <[email protected]> | 2026-01-02 23:38:47 +0000 |
|---|---|---|
| committer | MaheshtheDev <[email protected]> | 2026-01-02 23:38:47 +0000 |
| commit | 1e4de9484051373a1239e17c5c6135e123e42be1 (patch) | |
| tree | 3d17cfdebded0773339e6ea201fa833226c2ac4f | |
| parent | intersting (diff) | |
| download | supermemory-1e4de9484051373a1239e17c5c6135e123e42be1.tar.xz supermemory-1e4de9484051373a1239e17c5c6135e123e42be1.zip | |
chore: enable google drive connection (#646)01-02-chore_enable_google_drive_connection
| -rw-r--r-- | apps/web/components/views/connections-tab-content.tsx | 10 | ||||
| -rw-r--r-- | apps/web/components/views/integrations.tsx | 25 |
2 files changed, 2 insertions, 33 deletions
diff --git a/apps/web/components/views/connections-tab-content.tsx b/apps/web/components/views/connections-tab-content.tsx index 48c427d7..d3afe2e5 100644 --- a/apps/web/components/views/connections-tab-content.tsx +++ b/apps/web/components/views/connections-tab-content.tsx @@ -319,10 +319,7 @@ export function ConnectionsTabContent() { > <Button className="justify-start h-auto p-4 bg-foreground/5 hover:bg-foreground/10 border-foreground/10 w-full cursor-pointer" - disabled={ - provider === "google-drive" || - addConnectionMutation.isPending - } + disabled={addConnectionMutation.isPending} onClick={() => { addConnectionMutation.mutate(provider as ConnectorProvider) }} @@ -334,11 +331,6 @@ export function ConnectionsTabContent() { <div className="text-sm text-foreground/60 mt-0.5"> {config.description} </div> - {provider === "google-drive" && ( - <div className="text-xs text-muted-foreground/80 mt-1"> - Temporarily disabled. This will be resolved soon. - </div> - )} </div> </Button> </motion.div> diff --git a/apps/web/components/views/integrations.tsx b/apps/web/components/views/integrations.tsx index 0a5ba2dc..4e698f7f 100644 --- a/apps/web/components/views/integrations.tsx +++ b/apps/web/components/views/integrations.tsx @@ -280,12 +280,6 @@ export function IntegrationsView() { throw new Error("This integration is coming soon!") } - if (provider === "google-drive") { - throw new Error( - "Google Drive connections are temporarily disabled. This will be resolved soon.", - ) - } - if (!canAddConnection && !isProUser) { throw new Error( "Free plan doesn't include connections. Upgrade to Pro for unlimited connections.", @@ -896,13 +890,6 @@ export function IntegrationsView() { </div> )} </div> - ) : provider === "google-drive" ? ( - <div className="flex items-center gap-1 mt-1"> - <div className="w-2 h-2 bg-muted-foreground rounded-full" /> - <span className="text-xs text-muted-foreground font-medium"> - Temporarily Disabled - </span> - </div> ) : ( <div className="flex items-center gap-1 mt-1"> <div className="w-2 h-2 bg-muted-foreground rounded-full" /> @@ -932,15 +919,6 @@ export function IntegrationsView() { {config.description} </p> - {!isConnected && - !isMoreComing && - provider === "google-drive" && ( - <p className="text-xs text-muted-foreground/80 mb-3 leading-relaxed"> - Google Drive connections are temporarily disabled. - This will be resolved soon. - </p> - )} - {isConnected && !isMoreComing && ( <div className="space-y-1"> {connection?.email && ( @@ -1045,9 +1023,8 @@ export function IntegrationsView() { </DropdownMenu> <Button - className="flex-shrink-0 disabled:cursor-not-allowed w-20 justify-center" + className="shrink-0 disabled:cursor-not-allowed w-20 justify-center" disabled={ - provider === "google-drive" || addConnectionMutation.isPending || connectingProvider === provider || !isProUser |