mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-11 22:51:05 +00:00
chore: chrome extension url fixes (#759)
This commit is contained in:
parent
6d93cd083d
commit
3d916d038f
5 changed files with 10 additions and 18 deletions
|
|
@ -1,5 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
import { cn } from "@lib/utils"
|
||||
import { dmSans125ClassName } from "@/lib/fonts"
|
||||
import { ChromeIcon } from "@/components/integration-icons"
|
||||
|
|
@ -33,11 +34,7 @@ function PillButton({
|
|||
|
||||
export function ChromeDetail() {
|
||||
const handleInstall = () => {
|
||||
window.open(
|
||||
"https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc",
|
||||
"_blank",
|
||||
"noopener,noreferrer",
|
||||
)
|
||||
window.open(CHROME_EXTENSION_URL, "_blank", "noopener,noreferrer")
|
||||
analytics.onboardingChromeExtensionClicked({ source: "integrations" })
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
"use client"
|
||||
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
import { useState } from "react"
|
||||
import { Button } from "@ui/components/button"
|
||||
import { MCPDetailView } from "@/components/mcp-modal/mcp-detail-view"
|
||||
|
|
@ -113,10 +114,7 @@ export function IntegrationsStep() {
|
|||
analytics.onboardingChromeExtensionClicked({
|
||||
source: "onboarding",
|
||||
})
|
||||
window.open(
|
||||
"https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc",
|
||||
"_blank",
|
||||
)
|
||||
window.open(CHROME_EXTENSION_URL, "_blank")
|
||||
} else {
|
||||
analytics.onboardingIntegrationClicked({
|
||||
integration: card.title,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { Button } from "@ui/components/button"
|
|||
import { cn } from "@lib/utils"
|
||||
import { dmSansClassName } from "@/lib/fonts"
|
||||
import Image from "next/image"
|
||||
import { CHROME_EXTENSION_URL } from "@repo/lib/constants"
|
||||
|
||||
interface XBookmarksDetailViewProps {
|
||||
onBack: () => void
|
||||
|
|
@ -29,10 +30,7 @@ const steps = [
|
|||
|
||||
export function XBookmarksDetailView({ onBack }: XBookmarksDetailViewProps) {
|
||||
const handleInstall = () => {
|
||||
window.open(
|
||||
"https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnangednailhoegogi",
|
||||
"_blank",
|
||||
)
|
||||
window.open(CHROME_EXTENSION_URL, "_blank")
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import { useAuth } from "@lib/auth-context"
|
|||
import { generateId } from "@lib/generate-id"
|
||||
import {
|
||||
ADD_MEMORY_SHORTCUT_URL,
|
||||
CHROME_EXTENSION_URL,
|
||||
RAYCAST_EXTENSION_URL,
|
||||
SEARCH_MEMORY_SHORTCUT_URL,
|
||||
} from "@lib/constants"
|
||||
|
|
@ -215,11 +216,7 @@ export default function Integrations() {
|
|||
}, [searchParams, hasTriggeredRaycast, createRaycastApiKeyMutation, org])
|
||||
|
||||
const handleChromeInstall = () => {
|
||||
window.open(
|
||||
"https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc",
|
||||
"_blank",
|
||||
"noopener,noreferrer",
|
||||
)
|
||||
window.open(CHROME_EXTENSION_URL, "_blank", "noopener,noreferrer")
|
||||
analytics.onboardingChromeExtensionClicked({ source: "settings" })
|
||||
analytics.extensionInstallClicked()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ const SEARCH_MEMORY_SHORTCUT_URL =
|
|||
const ADD_MEMORY_SHORTCUT_URL =
|
||||
"https://www.icloud.com/shortcuts/0fd3e855be444845b457f94c78c2c8d9"
|
||||
const RAYCAST_EXTENSION_URL = "https://www.raycast.com/supermemory/supermemory"
|
||||
const CHROME_EXTENSION_URL = "https://chromewebstore.google.com/detail/supermemory/afpgkkipfdpeaflnpoaffkcankadgjfc"
|
||||
|
||||
export {
|
||||
BIG_DIMENSIONS_NEW,
|
||||
|
|
@ -12,4 +13,5 @@ export {
|
|||
SEARCH_MEMORY_SHORTCUT_URL,
|
||||
ADD_MEMORY_SHORTCUT_URL,
|
||||
RAYCAST_EXTENSION_URL,
|
||||
CHROME_EXTENSION_URL,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue