kuma-gui icon indicating copy to clipboard operation
kuma-gui copied to clipboard

"Copy as K8s" no longer works

Open johncowen opened this issue 9 months ago • 6 comments

What happened?

If you load a fresh page with a "Copy as K8s" button on it and then click the "Copy as K8s" button, nothing is copied into your clipboard (whatever was there beforehand remains).

This seems to be only on master not on release-2.7 so I would imagine its as a result of https://github.com/kumahq/kuma-gui/pull/2374 and/or related Kongponents upgrades

johncowen avatar Apr 29 '24 08:04 johncowen

Hm, I just tried it locally and it worked for me. This could be a browser-specific thing?

kleinfreund avatar Apr 29 '24 09:04 kleinfreund

Maybe, I just tried it again, and unless I'm missing something/doing something wrong it's not working here

johncowen avatar Apr 29 '24 09:04 johncowen

Hm, strange. I can somehow sometimes reproduce it but not always?

kleinfreund avatar Apr 29 '24 14:04 kleinfreund

Definitely something up here, we've both reproduced it and looks like there is something weird going on when we look deeper at the code underneath.

johncowen avatar Apr 29 '24 14:04 johncowen

This still seems really broken, reopening.

Its also really confusing because since https://github.com/kumahq/kuma-gui/pull/2374 the as K8s button is actually a smaller button inside a button, so depending on where you click on the thing you can click one button or another.

johncowen avatar May 03 '24 15:05 johncowen

Removing closed state labels due to the issue being reopened.

github-actions[bot] avatar May 03 '24 15:05 github-actions[bot]