Skip to content

Report documentation copy failures - #323

Draft
dajiaohuang wants to merge 2 commits into
Anil-matcha:mainfrom
dajiaohuang:fix/docs-code-copy-feedback
Draft

dajiaohuang wants to merge 2 commits into
Anil-matcha:mainfrom
dajiaohuang:fix/docs-code-copy-feedback

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Nov 14, 2026 •

Copy link
Copy Markdown

When the clipboard rejects a documentation code-block or article Markdown copy, the buttons currently give no feedback. Show an accessible failure message, retain retry, and announce a successful copy. Code blocks also offer a manual-copy alternative.

Validation: exercised both copy actions on the bundled setup page with a mocked clipboard that rejects once and then succeeds, checking announced states and copied content. Focused ESLint and frontend TypeScript passed. Real OS clipboard, desktop packaging, assistive technology and full CI were not tested.

@dajiaohuang dajiaohuang changed the title Report documentation code copy failures Report documentation copy failures Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant