Improves empty state on model registry model page
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 |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
In rails console enable the experiment fully
Feature.enable(:model_registry)
-
Open any project, then navigate to
Deploy
>Model registry
, and click onCreate new model
. The modal shouldn't show a cancel button" -
Create a model and navigate to it. The detail and version list tab should show the new empty states
Edited by Eduardo Bonet