@devries-cameron20 / composio-1 / commits / 639acd7f2
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Move PageActions below toolkit action buttons

- PageActions (Copy page, View as markdown, Share feedback) now appears below the "Try X" and "Authentication guide" buttons on toolkit pages - Passed path prop to ToolkitDetail component for PageActions integration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Jan 19, 2026 at 15:38 UTC 639acd7f23d694997d5661232e31d6b98c08af12
2 files changed +12 -9
docs/app/(home)/toolkits/[[...slug]]/page.tsx
+6 -8
@@ -116,14 +116,12 @@ export default async function ToolkitsPage({ params }: { params: Promise<{ slug?
116
117 if (toolkit) {
118 return (
119 - <>
120 - <PageActions path={`/toolkits/${toolkit.slug}`} />
121 - <ToolkitDetail
122 - toolkit={toolkit}
123 - tools={toolkit.tools}
124 - triggers={toolkit.triggers}
125 - />
126 - </>
119 + <ToolkitDetail
120 + toolkit={toolkit}
121 + tools={toolkit.tools}
122 + triggers={toolkit.triggers}
123 + path={`/toolkits/${toolkit.slug}`}
124 + />
125 );
126 }
127 }
docs/components/toolkits/toolkit-detail.tsx
+6 -1
@@ -4,11 +4,13 @@ import { useState, useMemo } from 'react';
4 import Link from 'next/link';
5 import { ExternalLink, Search, Copy, Check, ChevronDown, ChevronRight, ArrowLeft } from 'lucide-react';
6 import type { Toolkit, Tool, Trigger } from '@/types/toolkit';
7 +import { PageActions } from '@/components/page-actions';
8
9 interface ToolkitDetailProps {
10 toolkit: Toolkit;
11 tools: Tool[];
12 triggers: Trigger[];
13 + path: string;
14 }
15
16 function ToolkitIcon({ toolkit }: { toolkit: Toolkit }) {
@@ -66,7 +68,7 @@ function ToolItem({ item }: { item: Tool | Trigger }) {
68 );
69 }
70
69 -export function ToolkitDetail({ toolkit, tools, triggers }: ToolkitDetailProps) {
71 +export function ToolkitDetail({ toolkit, tools, triggers, path }: ToolkitDetailProps) {
72 const [copied, setCopied] = useState(false);
73 const [versionCopied, setVersionCopied] = useState(false);
74 const [toolSearch, setToolSearch] = useState('');
@@ -182,6 +184,9 @@ export function ToolkitDetail({ toolkit, tools, triggers }: ToolkitDetailProps)
184 </div>
185 )}
186 </div>
187 +
188 + {/* Page actions */}
189 + <PageActions path={path} />
190 </div>
191 </div>
192