🎨 Palette: Inline Clipboard Feedback & Accessibility - #54
Conversation
Added a consistent inline feedback mechanism for all clipboard "Copy" actions across the app. This provides immediate, localized confirmation that text was successfully copied, improving both visual intuition and accessibility (via updated aria-labels). - Added .copy-success CSS and copyFeedback utility in js/utils.js. - Integrated feedback into chat messages, markdown code blocks, canvas panel, and share modal. - Improved Share Modal UX by delaying closure after copy to allow feedback perception. Co-authored-by: anaxifty <[email protected]>
Deploying neuraldock with
|
| Latest commit: |
76aee14
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://704807ef.neural-dock.pages.dev |
| Branch Preview URL: | https://palette-clipboard-feedback-3.neural-dock.pages.dev |
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
I have implemented a micro-UX enhancement that provides consistent, accessible inline feedback for all clipboard "Copy" operations throughout the application.
Changes:
.copy-successclass instyle.cssusing the existing--oktoken for brand-consistent success styling.copyFeedback(btn, text)utility injs/utils.jsthat handles visual state, mutex protection (to prevent rapid-click glitches), and ARIA label synchronization.Accessibility:
aria-labelof the target button during the feedback cycle, ensuring screen reader users receive immediate confirmation of the successful copy operation.Verification:
node -c.PR created automatically by Jules for task 3301648436981492107 started by @anaxifty