diff --git a/src/components/BrandContextMenu.tsx b/src/components/BrandContextMenu.tsx index 3569411e6..2f7bbbf2c 100644 --- a/src/components/BrandContextMenu.tsx +++ b/src/components/BrandContextMenu.tsx @@ -41,6 +41,7 @@ export function BrandContextMenu({ children, ...rest }: BrandContextMenuProps) { SVG markup is now in your clipboard , + { id: 'svg-copied' }, ) } catch (err) { console.error('Clipboard error', err) @@ -51,6 +52,7 @@ export function BrandContextMenu({ children, ...rest }: BrandContextMenuProps) { Try again or download directly from the brand guide , + { id: 'svg-copy-failed' }, ) } } diff --git a/src/components/CopyPageDropdown.tsx b/src/components/CopyPageDropdown.tsx index c4832685f..c30907653 100644 --- a/src/components/CopyPageDropdown.tsx +++ b/src/components/CopyPageDropdown.tsx @@ -155,6 +155,7 @@ export function CopyPageDropdown({
Copied to clipboard
, + { id: 'page-copied' }, ) return } @@ -172,6 +173,7 @@ export function CopyPageDropdown({ {source} , + { id: 'page-copied' }, ) } @@ -208,6 +210,7 @@ export function CopyPageDropdown({ Page URL copied , + { id: 'page-copied' }, ) } } diff --git a/src/components/FrameworkCard.tsx b/src/components/FrameworkCard.tsx index 3da830831..89709e466 100644 --- a/src/components/FrameworkCard.tsx +++ b/src/components/FrameworkCard.tsx @@ -37,6 +37,7 @@ export function FrameworkCard({ {packageName} copied to clipboard , + { id: 'package-name-copied' }, ) }) diff --git a/src/components/application-builder/useApplicationBuilder.tsx b/src/components/application-builder/useApplicationBuilder.tsx index 695e8a02c..e3631dfd5 100644 --- a/src/components/application-builder/useApplicationBuilder.tsx +++ b/src/components/application-builder/useApplicationBuilder.tsx @@ -443,6 +443,7 @@ export function useApplicationBuilder({ Paste it into your AI tool or terminal. , + { id: `builder-copied-${kind}` }, ) }, [markCopied, notify], diff --git a/src/components/ds/BrandAssets.tsx b/src/components/ds/BrandAssets.tsx index 6a144da60..92d2847d8 100644 --- a/src/components/ds/BrandAssets.tsx +++ b/src/components/ds/BrandAssets.tsx @@ -100,9 +100,13 @@ function CopyAssetButton({ } copied.trigger() - notify(
Copied {label}
) + notify(
Copied {label}
, { + id: 'brand-asset-copied', + }) } catch { - notify(
Could not copy {label}
) + notify(
Could not copy {label}
, { + id: 'brand-asset-copy-failed', + }) } } diff --git a/src/routes/intent/registry/$packageName.tsx b/src/routes/intent/registry/$packageName.tsx index 819440e9e..7ec483667 100644 --- a/src/routes/intent/registry/$packageName.tsx +++ b/src/routes/intent/registry/$packageName.tsx @@ -339,6 +339,7 @@ This will detect all Agent Skills in ${name} and configure them for your coding Paste into your coding agent , + { id: 'install-prompt-copied' }, ) } catch (error) { console.error('Failed to copy install prompt', error) @@ -349,6 +350,7 @@ This will detect all Agent Skills in ${name} and configure them for your coding Try again or copy the prompt manually , + { id: 'install-prompt-copy-failed' }, ) } }