Skip to content

Viewer support for deprecated devfile stacks and samples #1064

@kim-tsao

Description

@kim-tsao

/kind user-story

Which area this user story is related to?

/area registry-viewer

User Story

As an devfile client, I want to be able to determine if the devfiles I'm using are currently supported or deprecated so that I can build my applications knowing that I am using an actively maintained devfile.

Approach

image

The registry viewer currently displays the tag but it doesn't do anything special with it. In order to bring attention to the deprecated devfile, we should:

  • Ensure the Deprecated tag is the first tag on the list and is displayed in a different colour
  • The tags are pulled from all devfile versions of a specific runtime which is incorrect. It should only display the tags for a specific runtime version.
  • Similarly, the tags shown on the registry viewer tiles represent tags from all runtime versions when it should only display the tags for the default devfile. This means if the default devfile is not deprecated, then the deprecated tag should not show up. Users would only see it if they click on the tile and toggle between versions.
  • Blocked by bug Fix Registry Viewer tags display #1289

Acceptance Criteria

We should implement something similar to what the Redhat Catalog has.

  • Display the Deprecated tag first always and on different color (red)
  • Add a deprecated toggle (off by default) to hide the deprecated devfiles
  • If default is deprecated the entire stack should be

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions