remix-project icon indicating copy to clipboard operation
remix-project copied to clipboard

address copy button added

Open ijlal321 opened this issue 1 year ago • 3 comments

Feature Added: Copy Address Button in Accounts Dropdown

Reason:
Previously, to copy an address, users needed to select the address, copy it, and then reselect the previous address. The goal of this feature is to streamline the process by providing a button that allows users to directly copy the address, eliminating the extra steps.

Implementation Details:
Originally this dropdown uses a html native select (which does not support any buttons inside option ). This is now replaced by react-select component. React-select allows a dropdown option to have buttons.

Code Dependability:
This new select is made to look exactly as previous one. Most classes and components used are same as previous select. The copy button is imported from remix-copy. All fonts are working perfectly.

ijlal321 avatar Aug 16 '24 19:08 ijlal321

Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
Latest commit 8cc95a3064802d600a3ab6b7deeebaf30936e74a

netlify[bot] avatar Aug 16 '24 19:08 netlify[bot]

@ijlal321 linting is failing for the PR

Aniket-Engg avatar Aug 21 '24 07:08 Aniket-Engg

@ijlal321 linting is failing for the PR

Got it, fixed it 👍

ijlal321 avatar Aug 21 '24 12:08 ijlal321

please check out how the custom dropdown is implemented in Environment dropdown and do not use custom styles.

LianaHus avatar Sep 23 '24 08:09 LianaHus

Closing because of inactivity.

Aniket-Engg avatar Oct 15 '24 12:10 Aniket-Engg