mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
The one-time API token rendered in a bare code block with no way to copy it short of selecting the text by hand — the worst place for copy friction since the value is shown exactly once. Add a copy-to-clipboard button beside the token with a success toast, reusing the clipboard-plus-toast pattern already used by the per-medication token row. Surface an inline check affordance for two seconds after a copy. Token revoke previously swallowed every failure: a non-OK response or a network error left the user with no signal the token was still live. Add an error toast on both paths so a failed revoke is visible.