mirror of
https://github.com/penpot/penpot.git
synced 2026-11-26 21:00:32 +00:00
The copy button for the MCP server URL in Settings > Integrations showed the "copied" toast without waiting for the clipboard write, and left the rejected promise unhandled when the write failed. Error reports show this on SaaS over HTTPS too, with NotAllowedError (write permission denied). Wait for the write, show the success toast and track the event only when it resolves, and show an error toast when it rejects, as the token copy button in the same file already does. AI-assisted-by: claude-opus-5-5 Signed-off-by: Gabriel Ribeiro <267068126+gabrielribeiro3105@users.noreply.github.com>