-
Notifications
You must be signed in to change notification settings - Fork 444
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
Investigate potential UI/UX problems generating API keys #7366
Comments
@ewhanson, you might have some feedback here? |
Yeah, I can confirm that the process for generating a key is very confusing. The problem is that it uses checkboxes and a save button to take actions, but these should really be expressed as buttons. It might be harder to fix than it seems, because I think the user profile tabs are tightly coupled with forms. However, here's a quick mockup of what I think it ought to look like when a key doesn't exist: When a key does exist: That means that we'd be removing the |
If working on this, it might be easy to roll this recommendation in too: #3635 |
Yes, I'll also echo that the combination of checkboxes and save button seem to lead to confusion. From my experience, it's not clear from the "changes saved" message that the key has necessarily changed as the same "changes saved" message pops up whether or not a new API key has been generated. I think one way the perception of "invalid keys" can come up is a user generates a new API key, copies it, but then is unsure and will save again, sometimes checking the boxes again. I think the "generate new API key" checkbox becoming unchecked upon successfully saving may also lead to the perception that their changes have been undone or not saved correctly. |
There's a spec at #5509 for other additions to the API key toolset, most prominently support for multiple API keys. Our current single-API-key-per-user approach promotes bad behaviour that will become more apparent as API key usage expands, like key sharing and the use of "risky" keys (e.g. Journal Manager or Admin keys). If this issue will require broader work to resolve, perhaps that expansion should be considered at the same time. |
@asmecher please review the PRs pkp-lib --> pkp/pkp-lib#7366 user api key generation process update |
Reviewed, thanks! #8195 (review) |
@asmecher requested changes are done and also updated the test . updated PRs pkp-lib --> #8195 |
Thanks, @touhidurabir, this is so much better than the confusing interface it replaces! I've merged the |
Coalition Publica reports frequent problems getting API keys set up.
The text was updated successfully, but these errors were encountered: