Skip to content

Improves empty state on model registry model page

Eduardo Bonet requested to merge model_registry/model_details_empty_state into master

What does this MR do and why?

Improves empty state on model registry model page

  • Generalizes model_list_empty_state
  • Simplifies modals since there's no need to keep track of it's state, this is being handled by the directive
  • Adds the new empty state to model detail and model version list

Changelog: added

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
image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the experiment fully

    Feature.enable(:model_registry)
  2. Open any project, then navigate to Deploy > Model registry, and click on Create new model. The modal shouldn't show a cancel button"

    image

  3. Create a model and navigate to it. The detail and version list tab should show the new empty states

Edited by Eduardo Bonet

Merge request reports