Adds link from model detail to latest version
What does this MR do and why?
Adds link from model detail to latest version
To access the latest version page, users needed to click on version than on the model version. This allows users to navigate directly from the first page.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
How to set up and validate locally
-
In rails console enable the feature flag
Feature.enable(:model_registry)
-
Create a model and a bunch of candidates
p = Project.find_by_id(1) m = Ml::FindOrCreateModelService.new(p, "model_1", nil, "Cool description").execute mv = Ml::FindOrCreateModelVersionService.new(p, {model_name: 'model_1'}).execute
-
Navigate to
<gdk>/<project>/-/ml/models
and select the model. -
Verify that the version by 'Latest version' is clickable and navigates to the model version page
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.