Skip to content

Move update trigger to modal

Missy Davies requested to merge gitlab-community/gitlab:md-trigger-modal into master

What does this MR do and why?

Resolves #42742 (closed)

CI/CD settings were moved to a vue table here: !41864 (diffs) The graphql endpoint to update a trigger token was introduced here: !126537 (merged)

This MR uses the modal component and graphql call instead of separate page to update a trigger token.

Picking up where !42057 (closed) left off.

Screenshots or screen recordings

Before After
Screen_Recording_2024-05-06_at_1.21.48_PM Screen_Recording_2024-05-06_at_12.51.51_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Run gdk
  2. Navigate to a Project > Settings > CI/CD > or go to http://gdk.test:3000/flightjs/Flight/-/settings/ci_cd
  3. Click to "Expand" the "Pipeline trigger tokens" section
  4. Add a trigger token if one doesn't already exist
  5. Click the pencil icon next to the token to edit - you should see a modal pop up

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Missy Davies

Merge request reports