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: Improve usability with many subscriptions #2979

Open
jessesuen opened this issue Nov 22, 2024 · 4 comments
Open

UI: Improve usability with many subscriptions #2979

jessesuen opened this issue Nov 22, 2024 · 4 comments

Comments

@jessesuen
Copy link
Member

jessesuen commented Nov 22, 2024

Proposed Feature

I created a Kargo example that deploys GCP's microservices-demo, which has 12 image repository subscriptions. With that many image repositories, the UI doesn't scale well in some parts.

1. Tree becomes vertically too tall

image

With that many subscriptions, the tree becomes very tall. While it's possible to hide the subscriptions, you do still want to see what is being subscribed to and need to show them. I wonder if we could show the subscriptions in multiple columns instead of a single one, once the height reaches a certain point.

2. Last image fragment name is not shown in pipeline

This is not necessarily a problem with many subscriptions, but in this example, all the images come from same image registry. But only the last fragment is different (e.g. adservice vs. cartservice):

  • us-central1-docker.pkg.dev/google-samples/microservices-demo/adservice
  • us-central1-docker.pkg.dev/google-samples/microservices-demo/cartservice

The last fragment is typically the most important part of the image name (since most of the time the image registry is the same for all of the images), but it is not shown in UI.

image

3. Last image fragment name is not shown in Freight drawer view

This is the same problem as 2, but in the pull out drawer after clicking on a Freight

image

4. Last image fragment name is not shown in Freight assembly view

This is same problem as 2, but in the freight assembly view

image

5. Overlapping components in Freight assembly view

The tag selection box overlaps the images row:

image

6. Freight does not show all artifacts

image

Technically its possible to use your mouse wheel to scroll through the artifacts when hovering over a Freight, but it's not obvious that this is possible. Perhaps we should indicate that there are many artifacts and just show an icon, without showing the actual value (similar to what the Stage does).

7. Stage artifact icon overflow

I have 12 docker containers, but only 10 are shown on the Stage:

image

12 subscriptions might be an extreme example, but here we don't have a way to hover over all 12 icons. I suggest that we start wrapping the icons at ~8 or so items

@jessesuen jessesuen changed the title Improve usability with many subscriptions UI: Improve usability with many subscriptions Nov 22, 2024
@Brightside56
Copy link
Contributor

Brightside56 commented Nov 22, 2024

Freight assembly view

In case of freight assembly I often need to create freight that differs from the previous one by one/two artifacts from 5-10, but for this I need to search and select proper version for each artifact. Option "create freight like this" could help a lot

@krancour
Copy link
Member

In case of freight assembly I often need to create freight that differs from the previous one by one/two artifacts from 5-10, but for this I need to search and select proper version for each artifact. Option "create freight like this" could help a lot

@Brightside56 I recall you mentioning that once before and I thought we had an open issue for that, but cannot find it. Opening one.

@Brightside56
Copy link
Contributor

@krancour #2756 - this one can be closed I think

@antoine-sncf
Copy link

antoine-sncf commented Dec 18, 2024

We have the same issue with the vertical group of the warehouse (we have 3 warehouses : app / capa/ stack, the last one is a warehouse with 50 images/charts ).
We're encountering a HUGE memory consumption in the browser (i suspect it's related to the warehouse subscriptions but haven't had enougth time to identify the source of the issue.) Tried to clean, only 5 freights, 3 stages, didn't improve

Regarding the mentionned points, here are the things we were thinking:

  1. Group is closeby default when more than 5 subscription ?
  2. Agreed only last fragment is worth the repository server itself is not interesting
  3. Same as 2, having a list (table) would be nice too
  4. Same as 2
  5. Same as 2 (with option to display full url ?)
  6. Perhaps being able to define what item you want to show (2 max?) for easier tracking
  7. Agreed, but could also be display by "priorities" like previous point

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

4 participants