Skip to content

Machine learning import artifact zone error display

Alper Akgun requested to merge 461973-refactor-error-ui into master

What does this MR do and why?

Machine learning import artifact zone error handling

  • Alert allows users to see explicit error message in zone
  • One can discard non-uploading files to and select another

Related to #461973 (closed)

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

Discardable file selection Errors all show near the upload zone
image image

How to set up and validate locally

Create the file

Go to rails console using bin/rails c

Feature.enable(:model_registry)
project = Project.find(26)
model = Ml::CreateModelService.new(project, 'FooModel16').execute.payload
model_version = Ml::CreateModelVersionService.new(model,version: '3.1.4').execute

Upload some files

  • Go to the project URL in your browser
  • Open the "Deploy" and "Model registry" under it.
  • Find the model FooModel16
  • Upload some files with subfolders
Edited by Alper Akgun

Merge request reports