When a user clicks to copy text, the clicked element briefly inverts (foreground/background swap) and fades back over 500ms, providing immediate localized feedback right where the user is looking.
Changes:
Added copy-flash CSS keyframe animation (invert → fade back over 500ms)
Added flashCopyElement() helper in helpers.js
Applied to all 13 click-to-copy sites across 7 view files
Existing flash message retained for accessibility/screen readers
When a user clicks to copy text, the clicked element briefly inverts (foreground/background swap) and fades back over 500ms, providing immediate localized feedback right where the user is looking.
Changes:
- Added `copy-flash` CSS keyframe animation (invert → fade back over 500ms)
- Added `flashCopyElement()` helper in helpers.js
- Applied to all 13 click-to-copy sites across 7 view files
- Existing flash message retained for accessibility/screen readers
Closes #100
When a user clicks to copy text, the clicked element now briefly
inverts (foreground/background swap) and fades back over 500ms,
providing immediate localized feedback. The existing flash message
is retained for accessibility.
Closes#100
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When a user clicks to copy text, the clicked element briefly inverts (foreground/background swap) and fades back over 500ms, providing immediate localized feedback right where the user is looking.
Changes:
copy-flashCSS keyframe animation (invert → fade back over 500ms)flashCopyElement()helper in helpers.jsCloses #100
Closing as duplicate of #113 which properly references closes #100.
Pull request closed