Enables users to delete experiments
What does this MR do and why?
Adds UI for users to delete an experiment
Screenshots or screen recordings
Before | After | ||
---|---|---|---|
Main Screen | (1) Moved title below the banner and (2) Added dropdown for actions, with button to delte | ||
Modal Opened |
How to set up and validate locally
-
Enable the feature flag
echo "Feature.enable(:ml_experiment_tracking)" | bundle exec rails c
-
Create an experiment
user_id = 1 # if you are using root project_id = 20 # not necessarily 20, but the project you are using for testing Ml::Experiment.create!(name: 'Gitlab Experiment', user_id: user_id, project_id: project_id)
-
Navigate to the experiment page (/project/path/-/ml/experiments/1)
-
Click on the delete button, it should open the modal
-
Click on Confirm, it should delete the experiment and redirect to /project/path/-/ml/experiments
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Eduardo Bonet