-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make all external IPs in header copyable #2170
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I think we could stand to keep the IP as a link. It doesn't really cost us anything if the copy button is also there. |
> | ||
{eip.ip} | ||
</a> | ||
<CopyToClipboard text={eip.ip} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep +1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me pending an ml-1
oxidecomputer/console@c008d36...d2a9345 * [d2a9345f](oxidecomputer/console@d2a9345f) oxidecomputer/console#2142 * [2b6d0f7b](oxidecomputer/console@2b6d0f7b) oxidecomputer/console#2185 * [e649e7b7](oxidecomputer/console@e649e7b7) oxidecomputer/console#2170 * [0f4bed01](oxidecomputer/console@0f4bed01) oxidecomputer/console#2180 * [06f4b868](oxidecomputer/console@06f4b868) oxidecomputer/console#2167 * [a25e84e8](oxidecomputer/console@a25e84e8) oxidecomputer/console#2166 * [629c94a6](oxidecomputer/console@629c94a6) oxidecomputer/console#2168
oxidecomputer/console@c008d36...d2a9345 * [d2a9345f](oxidecomputer/console@d2a9345f) oxidecomputer/console#2142 * [2b6d0f7b](oxidecomputer/console@2b6d0f7b) oxidecomputer/console#2185 * [e649e7b7](oxidecomputer/console@e649e7b7) oxidecomputer/console#2170 * [0f4bed01](oxidecomputer/console@0f4bed01) oxidecomputer/console#2180 * [06f4b868](oxidecomputer/console@06f4b868) oxidecomputer/console#2167 * [a25e84e8](oxidecomputer/console@a25e84e8) oxidecomputer/console#2166 * [629c94a6](oxidecomputer/console@629c94a6) oxidecomputer/console#2168
Fixes #2171
We currently only allow for a "copy to clipboard" function when there's a single external IP in the list in the header. This PR makes it so that any IP in the list is copyable.

We should add a dropdown, a la ListPlusCell, for when there are more than … 3(? 2?) IPs, but that can be a subsequent PR.