#1632 the "API" link with copr-cli credentials should be better accessible
Closed: MIGRATED a year ago by nikromen. Opened 3 years ago by clime.

Hello,

I have just spend some time (half a minute or slightly more) to search for the API link where the copr-cli credentials can be found. In the end, I have found it in the footer. I think the link should be better visible, perhaps placed between the top links in a profile page (see the screenshot)
Screenshot_from_2020-12-14_23-29-16.png
Also copr-cli tool could print the link out when the file is missing, outdated or invalid. Currently, I get:

================= WARNING: =======================
File '~/.config/copr' is missing or incorrect.
See documentation: man copr-cli.
Any operation requiring credentials will fail!
==================================================

Hint: There is no config file: /home/clime/.config/copr

but to mention the link where you can get the apI config would be nice. Maybe I am overlooking something...


Maybe another optional improvement would be to more clearly communicate if the current token offered on the API page is outdated (another pitfall i have fallen into :)), i.e. rendering the text area in red (for outdated) and green (for valid).

Metadata Update from @praiskup:
- Issue tagged with: RFE, UI

3 years ago

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Attachments 1