Skip to content

refactor: Consolidate copy/clipboard functionality and icons#487

Open
oasis-parzival wants to merge 1 commit intobacknotprop:mainfrom
oasis-parzival:jarvis-fix-1775412523
Open

refactor: Consolidate copy/clipboard functionality and icons#487
oasis-parzival wants to merge 1 commit intobacknotprop:mainfrom
oasis-parzival:jarvis-fix-1775412523

Conversation

@oasis-parzival
Copy link
Copy Markdown

Closes #486

This PR addresses duplicated copy/clipboard logic and SVG icons across the codebase by introducing a shared icon library and a reusable hook. It refactors existing inline implementations to utilize the CopyButton component (now moved to packages/ui) and the new useCopyToClipboard hook, promoting consistency and reducing code duplication. Standardized icon sizing is also implemented for a more uniform user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: consolidate duplicated copy/clipboard icons and operations

1 participant