amnir opened a new issue, #8641:
URL: https://github.com/apache/incubator-devlake/issues/8641

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   When setting up Gitlab scope config for a given data scope, I want to 
validate the regex will match the correct deployments from the project.
   
   ### Description
   
   In the scope config view, under the regex for matching production 
deployment, there will be a "Validate regex" button that will show the matching 
results for the regex on one of the projects in the data scope. (See proposed 
images)
   
   Transformations (existing view):
   <img width="852" height="228" alt="Image" 
src="https://github.com/user-attachments/assets/32b61825-d748-423f-b6ff-ef0c50053ac8";
 />
   
   Validation modal:
   
   <img width="959" height="463" alt="Image" 
src="https://github.com/user-attachments/assets/18c44e41-48b4-4383-ab5a-ffc7e6729598";
 />
   
   Validation with results:
   
   <img width="962" height="439" alt="Image" 
src="https://github.com/user-attachments/assets/b0db0cff-bf44-478f-a09c-5934975ab9ba";
 />
   
   Validation without results:
   
   <img width="959" height="384" alt="Image" 
src="https://github.com/user-attachments/assets/2ad23782-e959-412b-a5da-6663aa3f8171";
 />
   
   
   The idea is to implement it just for Gitlab for now as this is what I need 
but make the solution as re-usable as possible so it can be implemented in 
other relevant plugins as well.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to