🎨 Palette: Add transient action feedback and animations to copy buttons#1787
🎨 Palette: Add transient action feedback and animations to copy buttons#1787emkey1 wants to merge 4 commits into
Conversation
Co-authored-by: emkey1 <18100932+emkey1@users.noreply.github.com>
|
👋 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. |
Co-authored-by: emkey1 <18100932+emkey1@users.noreply.github.com>
Co-authored-by: emkey1 <18100932+emkey1@users.noreply.github.com>
Co-authored-by: emkey1 <18100932+emkey1@users.noreply.github.com>
💡 What: Added
withAnimationandUINotificationFeedbackGenerator().notificationOccurred(.success)along with VoiceOver announcements for the "Copy Report" (Diagnostics) and "Copy First Tab Values" (Settings) buttons.🎯 Why: When a copy button triggers an action, a purely visual state change (e.g. changing text to "Copied!" for 2 seconds) is not announced to VoiceOver users and feels abrupt without animation. This adds tactile feedback and screen-reader announcements to make the interaction satisfying and accessible.
📸 Before/After: Code changes only.
♿ Accessibility: VoiceOver users now hear "Copied report" and "Copied first tab colors", and feel a success haptic, avoiding ambiguity when interacting with these buttons.
PR created automatically by Jules for task 5041436502765566537 started by @emkey1