Model Experiments: Add copy button to the MLflow usage example
What does this MR do and why?
This merge request enhances the MLflow usage modal in a GitLab experiment tracking feature. The main changes include:
- Adding a copy button next to the code instructions, allowing users to easily copy the command to their clipboard.
- Modifying the test file to accommodate the new copy button functionality.
These changes improve the user experience by making it easier for users to copy and use the MLflow instructions directly from the modal.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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.
| Before | After |
|---|---|
|
|
How to set up and validate locally
- Open GDK in a project that has no experiments (e.g. create a project called
aa): http://127.0.0.1:3000/flightjs/aa/-/ml/experiments - Find the empty state and click on "create an experiment using MLflow"
- Click on the copy button
- Paste in a notepad to verify the contents are copied correctly
Numbered steps to set up and validate the change are strongly suggested.
Related to #509099 (closed)



