woodpecker/web
Alexander Matyushentsev d35ab57f80
Add confirm for secret deletion (#1604)
Closes https://github.com/woodpecker-ci/woodpecker/issues/1483

PR adds a confirmation dialog that warns user before deleting a secret. 


https://user-images.githubusercontent.com/426437/222985225-9e14ddac-6c5a-4aed-ac89-cc6562180ac6.mov


Using just basic
[window.Confirm](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)
since it is used in
[other](https://github.com/search?q=repo%3Awoodpecker-ci%2Fwoodpecker+confirm%28&type=code)
places. Any objections to switch to proper dialog component in a
separate PR?

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2023-03-06 07:07:40 +01:00
..
public/favicons Improve favicons (#576) 2021-12-08 13:58:00 +01:00
src Add confirm for secret deletion (#1604) 2023-03-06 07:07:40 +01:00
.eslintignore Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
.eslintrc.js Hide not owned repos from sidebar and repo list (#1453) 2023-01-31 09:37:11 +01:00
.gitignore Rewrite of WebUI (#245) 2021-11-03 17:40:31 +01:00
.prettierignore Replace yarn with pnpm (#1240) 2022-10-08 16:15:07 +02:00
.prettierrc.js Rewrite of WebUI (#245) 2021-11-03 17:40:31 +01:00
components.d.ts Hide not owned repos from sidebar and repo list (#1453) 2023-01-31 09:37:11 +01:00
index.html Use Woodpecker theme colors on Safari Tab Bar / Header Bar (#632) 2021-12-21 02:26:42 +01:00
LICENSE Pull in frontend 2019-11-12 14:27:39 +01:00
package.json web: remove unused @meforma/vue-toaster (#1403) 2022-11-06 20:52:13 +01:00
pnpm-lock.yaml web: remove unused @meforma/vue-toaster (#1403) 2022-11-06 20:52:13 +01:00
tsconfig.eslint.json Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
tsconfig.json Rewrite of WebUI (#245) 2021-11-03 17:40:31 +01:00
vite.config.ts Lazy load locales (#1362) 2022-12-29 13:41:59 +01:00
web.go Dedup code and migrate away from deprecated funcs (#1141) 2022-08-30 01:14:07 +02:00
windi.config.ts Unify buttons, links and improve focus styles (#1317) 2022-11-18 08:10:43 +01:00