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

UI: The image history grid should only show stages to which the image can be promoted #3199

Open
3 tasks done
aayushsrivastava opened this issue Dec 30, 2024 · 1 comment
Open
3 tasks done

Comments

@aayushsrivastava
Copy link

Checklist

  • I've searched the issue queue to verify this is not a duplicate feature request.
  • I've pasted the output of kargo version, if applicable.
  • I've pasted logs, if applicable.

Proposed Feature

When a stage doesn't "request" for a piece of Freight (indirectly an image), it should not appear as a column in the image history grid of those pieces of Freight.

Motivation

When creating a single Kargo project for multiple microservices, someone might want to create parallel DAGs for each microservice.

Eg. For a Kargo Project with 7 microservices and 3 stages each (21 stages in total), the grid will have a column for all 21 stages. The following 2 screenshots show how it looks today:

Screenshot 2024-12-30 at 12 59 18 PM Screenshot 2024-12-30 at 1 04 18 PM

This wastes a lot of space by showing unnecessary columns for stages where the image will never be promoted, leaving less space for important information like the image's version. This makes the experience seem less polished for microservices.

Suggested Implementation

I haven't seen the corresponding UI code but going by my knowledge of Kargo's domain objects, we could run a DFS from the warehouses that subscribe to an image to find the subgraph that is reachable, and only include the subgraph in the grid.

@krancour
Copy link
Member

krancour commented Jan 2, 2025

I agree this would be a nice improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants