-
Notifications
You must be signed in to change notification settings - Fork 108
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
Dashboard API key copy button #3450
Dashboard API key copy button #3450
Conversation
998118d
to
43dd276
Compare
dashboard/src/modules/components/ProfileComponent/ClipboardCopy.jsx
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
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 OK to me. Once Mr. Jenkins is happy with it, it's GTG.
dashboard/src/modules/components/ProfileComponent/ClipboardCopy.jsx
Outdated
Show resolved
Hide resolved
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.
I'd like to see a code comment record the logic for the deprecated copy fallback. Maybe even with a TODO
explaining that it can be removed once we've upgraded the Pbench Server to handle incoming https
connections. (We'll be dropping http
entirely at that point, and this should happen "soon".)
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.
Thanks for adding the ternary! 😁
If that code actually works, then I'm happy when Dave's happy. However, I've got one tweak for you, while you're making that change for Dave.
dashboard/src/modules/components/ProfileComponent/ClipboardCopy.jsx
Outdated
Show resolved
Hide resolved
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.
👍
PBENCH-1166
Dashboard API key copy button
The copy icon on the API Key table doesn't appear to have any effect.