Loyal-Young opened a new issue, #5796: URL: https://github.com/apache/rocketmq-dashboard/issues/5796
### Before Creating the Bug Report - [x] Searched clipboard and assistant-copy issues/PRs; no open fix found. ### Studio Version rocketmq-studio@c99b9ad50b79467546997e51f3401d57ceebea5f. ### Describe the Bug AssistantBubble documents a Clipboard API -> hidden-textarea fallback, but a rejected writeText is swallowed and never reaches the fallback. On an HTTP/non-secure deployment with no Clipboard API, the fallback calls document.execCommand without checking or catching unsupported implementations, so clicking Copy can raise an uncaught error instead of degrading quietly. ### Expected Behavior Attempt the existing textarea fallback when Clipboard API copying is unavailable or rejected. Catch an unsupported/throwing fallback, always remove the temporary textarea, and only display the copied indicator after success. ### Verification Plan Component tests for Clipboard API success, rejection followed by fallback success, and fallback failure/absence. Assert the copied indicator and temporary-node cleanup. ### Are You Willing to Submit a Pull Request? Yes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
