opendatahub-io/odh-dashboard

[Feature Request]: enhance UX on image import, replace "Registry"

Open

#864 创建于 2022年12月16日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (308 fork)auto 404
communityfeature/adminuigood first issuekind/enhancementpriority/normal

仓库指标

Star
 (58 star)
PR 合并指标
 (PR 指标待抓取)

描述

Feature description

There is one confusing dialog that has caused misery at customer and partner. It's small change, but UI is a bit misleading ATM. I've seen failures to import image in different ways, as the term "Repository" and "Name" are misleading. This dialog:

Screenshot from 2022-12-16 11-07-17

First of all, the word repository typically means server url like quay.io, registry.access.redhat.com. So people put those there, and enter the name of image like image:tag into the "name" field, as it can be read that way. Another error I've seen is to put http:// or https:// to "Repository" field.

Describe alternatives you've considered

In minimum, I'd change the Repository -text to "Image URL". Then I'd have an example there, like:

Image URL, e.g.: repository.com:5000/path/image:tag

Anything else?

I've heard from Max Murakami in slack that actually the example of repository.com:5000/path/image:tag is bad, as there is a bug that the dialog will grab anything after first colon as tag. That should be fixed while at it, the regexp should only take anything after the last colon as tag.

贡献者指南