Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow packages to be compared to sibling packages #240

Open
ChristopherFry opened this issue Jan 26, 2023 · 1 comment
Open

Allow packages to be compared to sibling packages #240

ChristopherFry opened this issue Jan 26, 2023 · 1 comment
Labels
area/ui enhancement New feature or request good first issue Good for newcomers

Comments

@ChristopherFry
Copy link
Collaborator

Feature Suggestion

Allow packages to be compared with sibling packages (packages that share the same upstream package). Today, shown in the screenshot below, packages can only be compared to earlier revisions and their upstream revision.

Image

Possible Implementation

A possible implementation is to list sibling revisions in the Compare Revision dropdown as 'Sibling ([package-name] [package-revision])'. These should show after the upstream revision in the dropdown. If there are multiple siblings with the same package name (possible if they are cloned to separate repositories), the package name can be prefixed with the repository name. Only the latest published package revision for each sibling needs to be shown in the dropdown.

Context

Comparing siblings allows differences to be quickly and easily viewed between variants. Today this isn't possible with the UI.

@ChristopherFry ChristopherFry converted this from a draft issue Jan 26, 2023
@ChristopherFry ChristopherFry added the good first issue Good for newcomers label Jan 26, 2023
@ChristopherFry
Copy link
Collaborator Author

Adding good first issue as this should be a good issue for a new comer to take on.

The easiest way to create sibling packages is to follow the Namespace Provisioning UI Guide and create the 'simplens' team blueprint, and from the team blueprint, clone two deployments packages, 'frontend' and 'backend', and publish the first revision of each of these packages. Here, the 'frontend' and 'backend' will be siblings of each other, and the expectation is when viewing one of these deployments, you should be to compare it with the other deployment package using the 'Compare Revision' dropdown on the Package Revision screen.

@ChristopherFry ChristopherFry added enhancement New feature or request area/ui labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui enhancement New feature or request good first issue Good for newcomers
Projects
Status: Ready
Development

No branches or pull requests

1 participant