Skip to content

Conversation

@charliepark
Copy link
Contributor

@charliepark charliepark commented Jul 3, 2024

This adds a "copy to clipboard" component to the IP cell on the external IPs and network interfaces tables on the instance's networking tab.

Screenshot 2024-07-03 at 2 36 09 PM

As this ends up being practically identical to the IP rendered in the header, I extracted the copy-able IP address into a new CopyableIp component. (Open to alternate names!) Because we might have occasions where the IP does not need to be linked (like on the Network Interfaces row), the linking is optional.

Fixes #2307

@vercel
Copy link

vercel bot commented Jul 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Jul 15, 2024 5:17pm

Copy link
Collaborator

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it. I thought it might feel cluttered, but the buttons totally blend in.

@david-crespo david-crespo merged commit d7712f1 into main Jul 16, 2024
@david-crespo david-crespo deleted the easily-copy-ip-address branch July 16, 2024 05:29
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.

Add quick copy button to External IPs table

3 participants