Skip to content

Adds header to model detail page

Eduardo Bonet requested to merge 428308-ui-model-detail-page into master

What does this MR do and why?

Adds improved tab structure for model detail page

image.png

  1. Placeholder while description field is being added on !134443 (merged)
  2. Shows the correct number of versions, but the versions itself will be added in a different MR
  3. Placeholder content, more will be added on this tab (artefacts, metadata, readme, etc)
  4. Placeholder

Screenshots or screen recordings

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

Before After
image.png image.png

How to set up and validate locally

  1. On rails console, enable the feature flag and create some data

    Feature.enable("model_registry")
    p = Project.find_by(id: 20) # or whatever project you want to use for testing
    version = Ml::FindOrCreateModelVersionService.new(p, { model_name: "model_1", version: "1.0.0" }).execute
    version.model.present.path
  2. Navigate to the path

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #428308 (closed)

Edited by Eduardo Bonet

Merge request reports