@@ -370,12 +1196,6 @@ function SourceCard({
))}
- {soft && !isDone && (
-
{footerLeft}
@@ -430,158 +1250,3 @@ function DriveScopePicker({
)
}
-
-function MoreDrawer({
- open,
- onClose,
- containerTag,
- connectRealProvider,
-}: {
- open: boolean
- onClose: () => void
- containerTag: string
- connectRealProvider: (
- provider: "google-drive" | "notion" | "onedrive",
- id: SourceId,
- ) => void
-}) {
- return (
-
!o && onClose()}>
-
-
-
- More integrations
-
-
- Add any of these alongside your spotlight sources. Everything routes
- to {containerTag}.
-
-
-
- }
- action="Request access"
- soft
- />
- }
- action="Request access"
- soft
- />
- }
- action="Connect"
- onAction={() => connectRealProvider("onedrive", "onedrive")}
- />
- }
- action="Coming soon"
- soft
- />
- }
- action="Connect"
- soft
- />
- }
- action="Connect"
- soft
- />
- }
- action="Install"
- soft
- />
- }
- action="Install"
- soft
- />
- }
- action="Install"
- soft
- />
- }
- action="Import"
- soft
- />
-
-
-
- )
-}
-
-function MoreItem({
- title,
- blurb,
- icon,
- action,
- soft,
- onAction,
-}: {
- title: string
- blurb: string
- icon: React.ReactNode
- action: string
- soft?: boolean
- onAction?: () => void
-}) {
- return (
-
-
- {icon}
-
-
-
- {title}
-
-
- {blurb}
-
-
-
-
- )
-}