-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
Locations:
- https://github.com/openshift/networking-console-plugin/blob/af17a520da3c58fc6f44c3aaf5215100573539a9/src/utils/components/CopyToClipboard/CopyToClipboard.tsx#L31-L41
- https://github.com/openshift/networking-console-plugin/blob/af17a520da3c58fc6f44c3aaf5215100573539a9/src/utils/components/ExternalLinkWithCopy/ExternalLinkWithCopy.tsx#L45-L53
PF component:
AC:
- Replace react-copy-to-clipboard with PatternFly ClipboardCopyButton component
- Update https://github.com/openshift/networking-console-plugin/blob/af17a520da3c58fc6f44c3aaf5215100573539a9/src/utils/components/ExternalLinkWithCopy/ExternalLinkWithCopy.tsx#L25 to `const tooltipText = copied ? t('Copied') : t('Copy to clipboard');` so the text is consistent with other instances.
- Remove react-copy-to-clipboard as a dependency
- clones
-
ODC-7698 Replace react-copy-to-clipboard with PatternFly ClipboardCopyButton component
- Code Review
- links to