{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "integrations-04",
  "title": "Tools under glass",
  "description": "Rows of tool marks drift in grey under a clear capsule that shows each in its own colour; press one and the capsule grows into a panel to connect it, and connected tools keep their colour in the rows.",
  "dependencies": [
    "motion"
  ],
  "registryDependencies": [
    "https://ui.ndekocode.dev/r/brand-logos.json",
    "https://ui.ndekocode.dev/r/brand-tile.json",
    "https://ui.ndekocode.dev/r/button.json",
    "https://ui.ndekocode.dev/r/demonstration.json",
    "https://ui.ndekocode.dev/r/icons.json",
    "https://ui.ndekocode.dev/r/live-region.json",
    "https://ui.ndekocode.dev/r/morph-button.json",
    "https://ui.ndekocode.dev/r/motion-number.json",
    "https://ui.ndekocode.dev/r/motion-presets.json",
    "https://ui.ndekocode.dev/r/recipes.json",
    "https://ui.ndekocode.dev/r/replay-button.json",
    "https://ui.ndekocode.dev/r/theme.json",
    "https://ui.ndekocode.dev/r/use-prefers-reduced-motion.json",
    "https://ui.ndekocode.dev/r/use-session.json",
    "https://ui.ndekocode.dev/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/index.tsx",
      "content": "'use client';\n\nimport { useEffect, useId, useState } from 'react';\n\nimport { MotionNumber } from '@/components/core/motion-number';\nimport { useSession } from '@/registry/ndeko/hooks/use-session';\nimport { spokenUnless } from '@/registry/ndeko/lib/demonstration';\nimport { LiveRegion } from '@/registry/ndeko/ui/live-region';\nimport { ReplayButton } from '@/registry/ndeko/ui/replay-button';\n\nimport { SECTION, TOOLS, toolOf, type ToolId } from './data';\nimport { DriftRows } from './drift-rows';\nimport { Glass } from './glass';\nimport {\n  CONNECT_MS,\n  INITIAL,\n  LOOP_AFTER_MS,\n  reducer,\n  RESTING,\n  SCRIPT,\n  type ToolsState,\n} from './session';\nimport { ToolPills } from './tool-pills';\n\nconst SESSION = {\n  reducer,\n  initial: INITIAL,\n  resting: RESTING,\n  script: SCRIPT,\n  loopAfter: LOOP_AFTER_MS,\n};\n\nfunction spokenLineOf(state: ToolsState) {\n  if (state.openId === null) {\n    return '';\n  }\n  const tool = toolOf(state.openId);\n  if (!tool) {\n    return '';\n  }\n  if (state.isConnecting) {\n    return `Connecting ${tool.name}`;\n  }\n  if (state.connected.includes(tool.id)) {\n    return `${tool.name} is connected`;\n  }\n  return `${tool.name}: ${tool.summary}`;\n}\n\nfunction isConnectedTool(openId: ToolId | null, connected: ToolId[]) {\n  if (openId === null) {\n    return false;\n  }\n  return connected.includes(openId);\n}\n\nfunction openToolOf(openId: ToolId | null) {\n  if (openId === null) {\n    return null;\n  }\n  return toolOf(openId) ?? null;\n}\n\nexport default function Integrations04() {\n  const {\n    ref,\n    isInView,\n    isAutoplaying,\n    state,\n    act,\n    pressed,\n    isFinished,\n    restart,\n  } = useSession(SESSION);\n  const glassId = useId();\n  const [isHovering, setIsHovering] = useState(false);\n  const { openId, isConnecting, connected } = state;\n  const openTool = openToolOf(openId);\n  const isOpen = openId !== null;\n  const isOffScreen = !isInView;\n  const isHeld = isOffScreen || isHovering || isOpen;\n  const isOpenConnected = isConnectedTool(openId, connected);\n  const message = spokenUnless(isAutoplaying, spokenLineOf(state));\n  const canReplay = isFinished && !isAutoplaying;\n\n  useEffect(() => {\n    if (!isConnecting) {\n      return;\n    }\n    const timer = setTimeout(() => act({ type: 'connected' }), CONNECT_MS);\n    return () => clearTimeout(timer);\n  }, [isConnecting, act]);\n\n  function focusLater(selector: string) {\n    requestAnimationFrame(() => {\n      const target = ref.current?.querySelector<HTMLElement>(selector);\n      target?.focus();\n    });\n  }\n\n  function openByPerson(id: ToolId) {\n    act({ type: 'opened', id });\n    focusLater('[data-connect]');\n  }\n\n  function closeByPerson() {\n    const closing = openId;\n    act({ type: 'closed' });\n    if (closing !== null) {\n      focusLater(`[data-tool=\"${closing}\"]`);\n    }\n  }\n\n  function disconnectOpen() {\n    if (openId !== null) {\n      act({ type: 'disconnected', id: openId });\n    }\n  }\n\n  function closeOnEscape(event: React.KeyboardEvent<HTMLDivElement>) {\n    if (event.key === 'Escape' && isOpen) {\n      event.preventDefault();\n      closeByPerson();\n    }\n  }\n\n  function holdWhileHovering(event: React.PointerEvent<HTMLDivElement>) {\n    if (event.pointerType === 'mouse') {\n      setIsHovering(true);\n    }\n  }\n\n  function releaseHover() {\n    setIsHovering(false);\n  }\n\n  return (\n    <div ref={ref} onKeyDown={closeOnEscape} className='@container'>\n      <section className='px-4 py-16 @2xl:px-6 @2xl:py-24 @5xl:px-8'>\n        <div className='mx-auto flex max-w-4xl flex-col items-center gap-10'>\n          <header className='flex max-w-xl flex-col items-center gap-3 text-center'>\n            <h2 className='text-2xl font-semibold text-balance @2xl:text-3xl'>\n              {SECTION.title}\n            </h2>\n            <p className='text-muted-foreground text-base text-pretty'>\n              {SECTION.description}\n            </p>\n          </header>\n          <div\n            data-held={isHeld}\n            onPointerEnter={holdWhileHovering}\n            onPointerLeave={releaseHover}\n            className='group/reel relative h-52 w-full'\n          >\n            <div\n              aria-hidden='true'\n              className='absolute inset-0 mask-x-from-85% motion-reduce:mask-none'\n            >\n              <DriftRows\n                layer='grey'\n                connected={connected}\n                onPick={openByPerson}\n              />\n            </div>\n            <div\n              aria-hidden='true'\n              data-open={isOpen}\n              className='pointer-events-none absolute inset-0 transition-opacity delay-200 duration-200 [clip-path:inset(0_calc(50%_-_3rem)_round_3rem)] data-[open=true]:opacity-0 data-[open=true]:delay-0 data-[open=true]:duration-100'\n            >\n              <DriftRows layer='colour' connected={connected} />\n            </div>\n            <Glass\n              layoutId={glassId}\n              tool={openTool}\n              isConnected={isOpenConnected}\n              isConnecting={isConnecting}\n              isConnectPressed={pressed === 'connect'}\n              onConnect={() => act({ type: 'connectStarted' })}\n              onDisconnect={disconnectOpen}\n              onClose={closeByPerson}\n            />\n          </div>\n          <div className='flex flex-col items-center gap-3'>\n            <p className='text-muted-foreground flex items-baseline gap-1 text-xs tabular-nums'>\n              <MotionNumber value={connected.length} />\n              <span>of {TOOLS.length} connected</span>\n            </p>\n            <ToolPills\n              connected={connected}\n              openId={openId}\n              pressed={pressed}\n              onPick={openByPerson}\n            />\n            <ReplayButton\n              isShown={canReplay}\n              onReplay={restart}\n              label='Replay'\n            />\n          </div>\n        </div>\n      </section>\n      <LiveRegion message={message} />\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/index.tsx"
    },
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/drift-rows.tsx",
      "content": "'use client';\n\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { BrandTile } from '@/registry/ndeko/ui/brand-tile';\n\nimport { TOOLS, type Tool, type ToolId } from './data';\n\nexport type DriftLayer = 'grey' | 'colour';\n\ntype DriftStyle = React.CSSProperties & { '--marquee-duration': string };\n\ntype RowSpec = {\n  id: string;\n  seconds: number;\n  isReversed: boolean;\n  offset: number;\n};\n\nconst ROWS: RowSpec[] = [\n  { id: 'top', seconds: 46, isReversed: false, offset: 0 },\n  { id: 'middle', seconds: 58, isReversed: true, offset: 4 },\n  { id: 'bottom', seconds: 38, isReversed: false, offset: 8 },\n];\n\n/** Half of the copies is what one loop travels, so two copies must be wider than the stage. */\nconst COPIES = [0, 1, 2, 3];\n\nconst TRACK =\n  'flex w-max motion-safe:animate-marquee group-data-[held=true]/reel:[animation-play-state:paused]!';\n\nfunction rotatedTools(offset: number) {\n  const tail = TOOLS.slice(0, offset);\n  const head = TOOLS.slice(offset);\n  return [...head, ...tail];\n}\n\nfunction directionOf(isReversed: boolean) {\n  if (isReversed) {\n    return '[animation-direction:reverse]!';\n  }\n  return undefined;\n}\n\nfunction quietOf(isConnected: boolean) {\n  if (isConnected) {\n    return undefined;\n  }\n  return 'opacity-70 grayscale';\n}\n\ntype GreyTileProps = {\n  tool: Tool;\n  isConnected: boolean;\n  onPick: (id: ToolId) => void;\n};\n\nfunction GreyTile({ tool, isConnected, onPick }: GreyTileProps) {\n  return (\n    <button\n      type='button'\n      tabIndex={-1}\n      onClick={() => onPick(tool.id)}\n      className={cn(\n        'block cursor-pointer rounded-[10px] transition-[filter,opacity] duration-300 ease-(--ease-out-strong) outline-none hover:opacity-100',\n        quietOf(isConnected)\n      )}\n    >\n      <BrandTile brand={tool.id} size='2xl' />\n    </button>\n  );\n}\n\ntype DriftRowProps = {\n  row: RowSpec;\n  layer: DriftLayer;\n  connected: ToolId[];\n  onPick?: (id: ToolId) => void;\n};\n\nfunction Tile({\n  tool,\n  layer,\n  connected,\n  onPick,\n}: Omit<DriftRowProps, 'row'> & { tool: Tool }) {\n  if (layer === 'grey' && onPick) {\n    const isConnected = connected.includes(tool.id);\n    return <GreyTile tool={tool} isConnected={isConnected} onPick={onPick} />;\n  }\n  return <BrandTile brand={tool.id} size='2xl' />;\n}\n\nfunction DriftRow({ row, layer, connected, onPick }: DriftRowProps) {\n  const tools = rotatedTools(row.offset);\n  const style: DriftStyle = { '--marquee-duration': `${row.seconds}s` };\n\n  return (\n    <div className='flex overflow-hidden'>\n      <div style={style} className={cn(TRACK, directionOf(row.isReversed))}>\n        {COPIES.map((copy) => (\n          <ul key={copy} className='flex shrink-0 gap-3 pe-3'>\n            {tools.map((tool) => (\n              <li key={tool.id}>\n                <Tile\n                  tool={tool}\n                  layer={layer}\n                  connected={connected}\n                  onPick={onPick}\n                />\n              </li>\n            ))}\n          </ul>\n        ))}\n      </div>\n    </div>\n  );\n}\n\ntype DriftRowsProps = Omit<DriftRowProps, 'row'>;\n\n/** The grey layer and the colour layer are the same rows on the same clock, so they stay in step. */\nexport function DriftRows({ layer, connected, onPick }: DriftRowsProps) {\n  return (\n    <div className='absolute inset-x-0 top-8 flex flex-col gap-3'>\n      {ROWS.map((row) => (\n        <DriftRow\n          key={row.id}\n          row={row}\n          layer={layer}\n          connected={connected}\n          onPick={onPick}\n        />\n      ))}\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/drift-rows.tsx"
    },
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/glass.tsx",
      "content": "'use client';\n\nimport { motion } from 'motion/react';\n\nimport { usePrefersReducedMotion } from '@/registry/ndeko/hooks/use-prefers-reduced-motion';\nimport { pressedSolidOf } from '@/registry/ndeko/lib/demonstration';\nimport { XIcon } from '@/registry/ndeko/lib/icons';\nimport { springOf } from '@/registry/ndeko/lib/motion-presets';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { BrandTile } from '@/registry/ndeko/ui/brand-tile';\nimport { Button } from '@/registry/ndeko/ui/button';\nimport { MorphButton, type MorphState } from '@/registry/ndeko/ui/morph-button';\n\nimport type { Tool } from './data';\n\nconst WINDOW_STYLE = { borderRadius: 48 };\n\nconst PANEL_STYLE = { borderRadius: 18 };\n\nconst LABELS: Record<MorphState, string> = {\n  idle: 'Connect',\n  busy: 'Connecting',\n  done: 'Connected',\n};\n\nconst CONTENT_ARRIVAL = { duration: 0.18, delay: 0.12 };\n\nfunction morphStateOf(isConnected: boolean, isConnecting: boolean): MorphState {\n  if (isConnected) {\n    return 'done';\n  }\n  if (isConnecting) {\n    return 'busy';\n  }\n  return 'idle';\n}\n\nfunction contentStartOf(shouldReduceMotion: boolean) {\n  if (shouldReduceMotion) {\n    return false;\n  }\n  return { opacity: 0 };\n}\n\ntype FrameProps = {\n  layoutId: string;\n};\n\nfunction WindowFrame({ layoutId }: FrameProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n\n  return (\n    <motion.div\n      layoutId={layoutId}\n      style={WINDOW_STYLE}\n      transition={springOf(shouldReduceMotion)}\n      className='hairline-ring ring-foreground/15 h-full w-24 shadow-[0_10px_28px_-14px_rgb(0_0_0/0.28)]'\n    />\n  );\n}\n\ntype PanelFrameProps = FrameProps & {\n  tool: Tool;\n  isConnected: boolean;\n  isConnecting: boolean;\n  isConnectPressed: boolean;\n  onConnect: () => void;\n  onDisconnect: () => void;\n  onClose: () => void;\n};\n\nfunction PanelFrame({\n  layoutId,\n  tool,\n  isConnected,\n  isConnecting,\n  isConnectPressed,\n  onConnect,\n  onDisconnect,\n  onClose,\n}: PanelFrameProps) {\n  const shouldReduceMotion = usePrefersReducedMotion();\n  const morphState = morphStateOf(isConnected, isConnecting);\n\n  return (\n    <motion.div\n      layoutId={layoutId}\n      style={PANEL_STYLE}\n      transition={springOf(shouldReduceMotion)}\n      role='dialog'\n      aria-label={`Connect ${tool.name}`}\n      className='bg-card hairline-ring ring-foreground/15 dark:bg-popover pointer-events-auto h-full w-full max-w-sm shadow-[0_10px_28px_-14px_rgb(0_0_0/0.28)]'\n    >\n      <motion.div\n        key={tool.id}\n        initial={contentStartOf(shouldReduceMotion)}\n        animate={{ opacity: 1 }}\n        transition={CONTENT_ARRIVAL}\n        className='flex h-full flex-col gap-3 p-4'\n      >\n        <div className='flex items-center gap-3'>\n          <BrandTile brand={tool.id} size='2xl' />\n          <div className='flex min-w-0 flex-1 flex-col'>\n            <h3 className='truncate text-sm font-medium'>{tool.name}</h3>\n            <p className='text-muted-foreground text-xs'>{tool.kind}</p>\n          </div>\n          <Button\n            type='button'\n            variant='ghost'\n            size='icon-sm'\n            aria-label={`Close ${tool.name}`}\n            onClick={onClose}\n            className='text-muted-foreground self-start'\n          >\n            <XIcon />\n          </Button>\n        </div>\n        <p className='text-muted-foreground text-[13px] text-pretty'>\n          {tool.summary}\n        </p>\n        <div className='mt-auto flex items-center gap-2'>\n          <MorphButton\n            type='button'\n            data-connect=''\n            state={morphState}\n            labels={LABELS}\n            onClick={onConnect}\n            className={cn(pressedSolidOf(isConnectPressed))}\n          />\n          {isConnected && (\n            <Button\n              type='button'\n              variant='ghost'\n              size='sm'\n              onClick={onDisconnect}\n            >\n              Disconnect\n            </Button>\n          )}\n        </div>\n      </motion.div>\n    </motion.div>\n  );\n}\n\ntype GlassProps = {\n  layoutId: string;\n  tool: Tool | null;\n  isConnected: boolean;\n  isConnecting: boolean;\n  isConnectPressed: boolean;\n  onConnect: () => void;\n  onDisconnect: () => void;\n  onClose: () => void;\n};\n\n/** One frame that is the window while nothing is open and the panel once a tool is, so the window grows into it. */\nexport function Glass({ layoutId, tool, ...panel }: GlassProps) {\n  let frame = <WindowFrame layoutId={layoutId} />;\n  if (tool !== null) {\n    frame = <PanelFrame layoutId={layoutId} tool={tool} {...panel} />;\n  }\n\n  return (\n    <div className='pointer-events-none absolute inset-0 flex justify-center'>\n      {frame}\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/glass.tsx"
    },
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/tool-pills.tsx",
      "content": "'use client';\n\nimport { pressedQuietOf } from '@/registry/ndeko/lib/demonstration';\nimport { CheckIcon } from '@/registry/ndeko/lib/icons';\nimport { FOCUS_RING } from '@/registry/ndeko/lib/recipes';\nimport { cn } from '@/registry/ndeko/lib/utils';\nimport { BrandTile } from '@/registry/ndeko/ui/brand-tile';\n\nimport { TOOLS, type ToolId } from './data';\n\nconst CONNECTED_PILL = 'bg-success/10 text-success-foreground';\n\nconst WAITING_PILL =\n  'bg-foreground/[0.05] text-foreground hover:bg-foreground/[0.08]';\n\nfunction toneOf(isConnected: boolean) {\n  if (isConnected) {\n    return CONNECTED_PILL;\n  }\n  return WAITING_PILL;\n}\n\ntype ToolPillsProps = {\n  connected: ToolId[];\n  openId: ToolId | null;\n  pressed: string | null;\n  onPick: (id: ToolId) => void;\n};\n\nexport function ToolPills({\n  connected,\n  openId,\n  pressed,\n  onPick,\n}: ToolPillsProps) {\n  return (\n    <ul\n      aria-label='Tools to connect'\n      className='flex max-w-3xl flex-wrap justify-center gap-1.5'\n    >\n      {TOOLS.map((tool) => {\n        const isConnected = connected.includes(tool.id);\n        const isOpen = openId === tool.id;\n        const isPressed = pressed === `tool-${tool.id}`;\n\n        return (\n          <li key={tool.id}>\n            <button\n              type='button'\n              data-tool={tool.id}\n              aria-expanded={isOpen}\n              onClick={() => onPick(tool.id)}\n              className={cn(\n                'flex h-7 cursor-pointer items-center gap-1.5 rounded-full ps-1.5 pe-2.5 text-xs transition-[color,background-color,scale] duration-150 ease-(--ease-out-strong) active:scale-[0.97]',\n                toneOf(isConnected),\n                pressedQuietOf(isPressed),\n                FOCUS_RING\n              )}\n            >\n              <BrandTile brand={tool.id} size='sm' />\n              {tool.name}\n              {isConnected && <CheckIcon className='size-3' />}\n              {isConnected && <span className='sr-only'>, connected</span>}\n            </button>\n          </li>\n        );\n      })}\n    </ul>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/tool-pills.tsx"
    },
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/session.ts",
      "content": "import type { SessionStep } from '@/registry/ndeko/hooks/use-session';\n\nimport type { ToolId } from './data';\n\nexport type ToolsState = {\n  connected: ToolId[];\n  openId: ToolId | null;\n  isConnecting: boolean;\n};\n\nexport type ToolsAction =\n  | { type: 'opened'; id: ToolId }\n  | { type: 'closed' }\n  | { type: 'connectStarted' }\n  | { type: 'connected' }\n  | { type: 'disconnected'; id: ToolId };\n\ntype Step = SessionStep<ToolsState, ToolsAction>;\n\nexport const INITIAL: ToolsState = {\n  connected: [],\n  openId: null,\n  isConnecting: false,\n};\n\nexport const CONNECT_MS = 800;\n\nfunction connectStarted(state: ToolsState): ToolsState {\n  const { openId } = state;\n  if (openId === null) {\n    return state;\n  }\n  const isAlready = state.connected.includes(openId);\n  if (isAlready) {\n    return state;\n  }\n  return { ...state, isConnecting: true };\n}\n\nfunction connected(state: ToolsState): ToolsState {\n  const { openId } = state;\n  if (openId === null || !state.isConnecting) {\n    return state;\n  }\n  const next = [...state.connected, openId];\n  return { ...state, connected: next, isConnecting: false };\n}\n\nexport function reducer(state: ToolsState, action: ToolsAction): ToolsState {\n  switch (action.type) {\n    case 'opened':\n      return { ...state, openId: action.id, isConnecting: false };\n    case 'closed':\n      return { ...state, openId: null, isConnecting: false };\n    case 'connectStarted':\n      return connectStarted(state);\n    case 'connected':\n      return connected(state);\n    case 'disconnected': {\n      const rest = state.connected.filter((id) => id !== action.id);\n      return { ...state, connected: rest };\n    }\n  }\n}\n\nconst DEMO_TOOLS: ToolId[] = ['gmail', 'github', 'notion', 'stripe'];\n\nfunction connecting(id: ToolId, firstAfter: number): Step[] {\n  return [\n    {\n      after: firstAfter,\n      by: 'demo',\n      press: `tool-${id}`,\n      action: { type: 'opened', id },\n    },\n    {\n      after: 1500,\n      by: 'demo',\n      press: 'connect',\n      action: { type: 'connectStarted' },\n    },\n    { after: 2600, by: 'demo', action: { type: 'closed' } },\n  ];\n}\n\n/**\n * Four tools are opened and connected one after the other, so the rows fill in with colour as the\n * round goes on.\n */\nexport const SCRIPT: Step[] = DEMO_TOOLS.flatMap((id, index) => {\n  const isFirst = index === 0;\n  let firstAfter = 1400;\n  if (isFirst) {\n    firstAfter = 2200;\n  }\n  return connecting(id, firstAfter);\n});\n\n/** Under reduced motion three tools are connected and a fourth waits to be. */\nexport const RESTING: ToolsState = {\n  connected: ['gmail', 'github', 'linear'],\n  openId: 'notion',\n  isConnecting: false,\n};\n\nexport const LOOP_AFTER_MS = 2800;\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/session.ts"
    },
    {
      "path": "registry/ndeko/blocks/integrations/integrations-04/data.ts",
      "content": "import { BRANDS } from '@/registry/ndeko/lib/brand-logos';\n\nexport type ToolId =\n  | 'gmail'\n  | 'notion'\n  | 'linear'\n  | 'github'\n  | 'figma'\n  | 'stripe'\n  | 'zoom'\n  | 'googledrive'\n  | 'jira'\n  | 'sentry'\n  | 'loom'\n  | 'dropbox';\n\nexport type Tool = {\n  id: ToolId;\n  name: string;\n  kind: string;\n  summary: string;\n};\n\nexport const SECTION = {\n  title: 'Bring your stack in one tool at a time',\n  description:\n    'Press a tool to see what Harbourline does with it, then connect it. Connected tools keep their colour, so the rows fill in as your stack comes together.',\n};\n\ntype ToolSeed = {\n  id: ToolId;\n  kind: string;\n  summary: string;\n};\n\nconst SEEDS: ToolSeed[] = [\n  {\n    id: 'gmail',\n    kind: 'Mail',\n    summary:\n      'Threads from your inbox become tasks, with the sender and the files attached.',\n  },\n  {\n    id: 'notion',\n    kind: 'Docs',\n    summary:\n      'Pages you link show their title and status on the task they belong to.',\n  },\n  {\n    id: 'linear',\n    kind: 'Issues',\n    summary: 'Issues stay in step with Harbourline tasks, in both directions.',\n  },\n  {\n    id: 'github',\n    kind: 'Code',\n    summary:\n      'Pull requests attach to the task and close it when they are merged.',\n  },\n  {\n    id: 'figma',\n    kind: 'Design',\n    summary:\n      'Frames appear on the task as a live preview, never as a stale export.',\n  },\n  {\n    id: 'stripe',\n    kind: 'Payments',\n    summary: 'Paid invoices mark their task as billed, with no copy and paste.',\n  },\n  {\n    id: 'zoom',\n    kind: 'Calls',\n    summary: 'Meetings you start from a task keep their notes on that task.',\n  },\n  {\n    id: 'googledrive',\n    kind: 'Files',\n    summary: 'Files you pick open from the task and stay in your own Drive.',\n  },\n  {\n    id: 'jira',\n    kind: 'Issues',\n    summary:\n      'Tickets sync their status to the card, so nobody updates two boards.',\n  },\n  {\n    id: 'sentry',\n    kind: 'Errors',\n    summary: 'A new error opens a task with its stack trace already in it.',\n  },\n  {\n    id: 'loom',\n    kind: 'Video',\n    summary:\n      'Recordings play on the task, next to the comment that asked for them.',\n  },\n  {\n    id: 'dropbox',\n    kind: 'Files',\n    summary: 'Shared folders show their latest files on the task.',\n  },\n];\n\nexport const TOOLS: Tool[] = SEEDS.map((seed) => ({\n  ...seed,\n  name: BRANDS[seed.id].title,\n}));\n\nexport function toolOf(id: ToolId) {\n  return TOOLS.find((tool) => tool.id === id);\n}\n",
      "type": "registry:component",
      "target": "components/blocks/integrations-04/data.ts"
    }
  ],
  "categories": [
    "blocks",
    "integrations"
  ],
  "type": "registry:block"
}