Move webhook "Secret token" input to Vue

What does this MR do and why?

Move webhook "Secret token" from HAML to Vue. Continue to use the masked_token value when token is edited.

Changelog: changed

References

Related to #513631 (closed)

Screenshots or screen recordings

Page Before After
Project hook new Project_hook_new_before Project_hook_new
Project hook edit Project_hook_edit_before Project_hook_edit
Group hook new Group_hook_new_before Group_hook_new

How to set up and validate locally

  • Go to Project > Settings > Webhooks. For example, https://gdk.test:3443/gitlab-org/gitlab-shell/-/hooks.
  • Go to Group > Settings > Webhooks. For example, https://gdk.test:3443/groups/gitlab-org/-/hooks.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Justin Ho Tuan Duong

Merge request reports

Loading