Skip to content

Report chat link copy failures - #320

Draft
dajiaohuang wants to merge 1 commit into
Anil-matcha:mainfrom
dajiaohuang:fix/chat-copy-link-failure
Draft

dajiaohuang wants to merge 1 commit into
Anil-matcha:mainfrom
dajiaohuang:fix/chat-copy-link-failure

Conversation

@dajiaohuang

Copy link
Copy Markdown

When both clipboard methods fail, copying a chat link gives no feedback. Report the failure and clear any previous copied indicator so the person can retry.

Validation: headless Chrome on the actual chat page with a synthetic API and controlled clipboard reproduced the silent failure; after the change, failure is reported and a successful copy still shows confirmation. Focused ESLint had zero errors and six existing warnings; git diff --check passed. Merge-tree checks with Drafts #260 and #318 were clean; combined runtime, desktop clipboard, hosted and CI checks were not run. The new message has English and Spanish strings; other locales use the existing English fallback.

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