openshift-assisted / assisted-installer-ui

The Assisted Installer User Interface
https://console.redhat.com/openshift/create/datacenter
Apache License 2.0
9 stars 36 forks source link

clipboard copy doesn't work on HTTP #2642

Open akdlsz21 opened 2 months ago

akdlsz21 commented 2 months ago

After installing a cluster, copying kube-admin's password doesn't work on HTTP settings for OKD. This forced me to copy the password from the network logs through devtools.

Since HTTP is common on self deployed setups and assisted installer supports HTTP, I think that either

  1. Support copy. But PatternFly doesn't seem to have any plans on supporting HTTP clipboard copy. ClipboardCopy

  2. Add a button that reveils the value as plain text

  3. Atleast alert the user that HTTP copy isn't supported and offer a workaround

If you guys can decide on a viable solution, I think I can contribute on a fix.

ammont82 commented 2 months ago

@akdlsz21 we have an issue opened about that: https://issues.redhat.com/browse/MGMT-14465.

akdlsz21 commented 2 months ago

@ammont82 It seems that I don't have permission to access the project/issue. Is this intentional?

ammont82 commented 2 months ago

Maybe you don't have permissions. The fact is that we know the issue. You propose 3 solutions. WDYT is the best to implement it?

akdlsz21 commented 2 months ago

Thanks for the clarification. I think a mixture of adding a button to reveal the value as plain text and alerting the user that HTTP copy isn't supported would be ideal. This way, users are informed and have an immediate workaround

ammont82 commented 2 months ago

@akdlsz21 I'll propose your solution to the team. Thanks!