0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/app/views/user_api_keys
Jake Goldsborough 12772446a1 UX: Add copy button to User API Key display page
When User API Key authorization falls back to displaying the encrypted key
on a page (because redirect isn't configured), users had to manually copy
a long base64 string with newlines.

Changes:
- Add copy button using navigator.clipboard API
- Button strips whitespace before copying so the key is usable immediately
- Button shows "Copied!" feedback for 2 seconds after clicking
- Add i18n strings for copy_key and copied states
2026-03-31 14:31:22 +00:00
..
new.html.erb DEV: Do not show auth_redirect note for discourse://auth_redirect (#37212) 2026-01-20 09:29:38 -05:00
otp.html.erb
show.html.erb UX: Add copy button to User API Key display page 2026-03-31 14:31:22 +00:00