🎨 Palette: Add "Copy to Clipboard" utility to OS*2 code blocks#24
🎨 Palette: Add "Copy to Clipboard" utility to OS*2 code blocks#24rtech-technologies wants to merge 1 commit into
Conversation
- Implement a "Copy" button for the `.code-window` in `os2.html` - Use Tailwind's `group` and `group-hover` for contextual visibility - Ensure keyboard accessibility with `focus:opacity-100` and `aria-label` - Provide immediate visual feedback (text change and color swap to lime-500) - Robust clipboard support with a fallback for non-HTTPS/legacy environments Co-authored-by: rtech-technologies <254326487+rtech-technologies@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. |
I have implemented a new "Copy to Clipboard" utility for the code blocks on the OS*2 specifications page (
os2.html).✨ Features:
aria-label="Copy code to clipboard"and ensured the button is visible on focus for keyboard-only users.navigator.clipboardAPI with a fallback todocument.execCommand('copy')to ensure it works across all environments.♿ Accessibility Improvements:
📸 Verification:
PR created automatically by Jules for task 7085948384432023482 started by @rtech-technologies