kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

FE: Messages: Add 'copy to clipboard' button for textareas of a message

Open p-eye opened this issue 11 months ago • 1 comments

  • [ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview) Add a clipboard button for copy the contents (https://github.com/kafbat/kafka-ui/issues/626) Resolves #626 I continued to use the existing useDataSaver, which stores all message metadata. image

Is there anything you'd like reviewers to focus on?

How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

  • [ ] No need to
  • [x] Manually (please, describe, if necessary)
  • [ ] Unit checks
  • [ ] Integration checks
  • [x] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
  • [x] My changes generate no new warnings (e.g. Sonar is happy)
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] Any dependent changes have been merged

Check out Contributing and Code of Conduct

A picture of a cute animal (not mandatory but encouraged) copy cats 😄 image

p-eye avatar Dec 22 '24 01:12 p-eye