MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / handleCopyLink

Function handleCopyLink

src/components/ui/ShareButton.tsx:137–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 const embedHtmlDisplay = getShareButtonDisplayState('embedHtml', copiedEmbedHtml);
136
137 const handleCopyLink = async () => {
138 const url = generateShareableUrl(shareSource, currentViewState);
139 await copyWithFeedback(url, setCopiedLink);
140 };
141
142 const handleCopyEmbedUrl = async () => {
143 const embedUrl = generateEmbedUrl(shareSource, currentViewState);

Callers

nothing calls this directly

Calls 2

generateShareableUrlFunction · 0.90
copyWithFeedbackFunction · 0.85

Tested by

no test coverage detected