mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 17:04:22 -04:00
The useClipboard hook also just uses navigator.clipboard.writeText() under the hood, but the timeout and state handling that the hook provides were just not a good fit for showing a one-shot notification with error detectionm, so doing the copying manually. Addresses part of https://github.com/prometheus/prometheus/issues/16162 Signed-off-by: Julius Volz <julius.volz@gmail.com> |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| ui | ||
| federate.go | ||
| federate_test.go | ||
| web.go | ||
| web_test.go | ||