devfile / api

Kube-native API for cloud development workspaces specification
Apache License 2.0
259 stars 62 forks source link

Support multiple sample versions on Registry Viewer #1184

Open thepetk opened 1 year ago

thepetk commented 1 year ago

/kind user-story

Which area this user story is related to?

/area registry-viewer

User Story

As mentioned inside https://github.com/devfile/api/issues/1112 we would like to add reference to all samples to v2.2.0 parent stacks. To do so we will need to have multiple versions for samples like stacks (details in the description of referenced issue).

Right now the viewer is not supporting multiple versions on samples. More detailed as seen in the fetch-devfiles.tsx:

interface DevfileJsonSample extends DevfileJsonBase {
  type: 'sample';
  versions?: never;
}

interface DevfileJsonStack extends DevfileJsonBase {
  type: 'stack';
  versions: VersionDevfile[];
}

This also can be seen here on the viewer when fetching a sample, as there is no option to choose different versions of a sample: Screenshot from 2023-07-11 12-06-43

Acceptance Criteria

github-actions[bot] commented 12 months ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.

michael-valdron commented 9 months ago

This issue should be planned for an upcoming sprint once out of refinement.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.