mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08: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> |
||
---|---|---|
.. | ||
public | ||
src | ||
.gitignore | ||
eslint.config.mjs | ||
index.html | ||
package.json | ||
postcss.config.cjs | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts | ||
vitest.config.ts |