Skip to content

Add glrt- prefix to frontend detections

Félix Veillette-Potvin requested to merge fvpotvin-add-glrt-newbranch into master

What does this MR do and why?

This adds a detection for the runner tokens (prefixed by glrt-) to the list of detected tokens client-side when pasting into issues.

It closes #440769 (comment 1783793188).

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screenshot_from_2024-02-26_14-11-22

How to set up and validate locally

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

  1. Checkout branch in gdk
  2. Visit any issues such as http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/issues/6
  3. Paste the token glrt-abc123_x-yzABCDEF01234
  4. Click "comment".
  5. Notice the popup window

Merge request reports