-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove the Graph tab from the Applications view #3342
Comments
cc @joshri @jpellizzari -- we're seeing this issue again, will discuss at refinement today. |
This is being caused by inconsistent responses from the backend. We do separate requests from all the namespaces, and if one of them fails, it's data comes back as empty, and nodes get removed. My advice for fixing this would be to pursue one of these options:
We should also add some type of animation when the graph reflows so that it is less jarring and the user's eye can follow the change. |
Chatted about this at Wild Wa refinement. The team raised several questions:
I shared the comments with @darrylweaver and @steve-fraser. Their response:
Regarding whether to remove the Tab or not: It's the closest thing to a traceability capability that we currently offer. We'd likely need to implement something like it in the future. If reusing the Graph view represents a sunken cost, then we should make the main Application details view better instead. See #2102, a past proposal to do that (note that it does not address traceability). See also this Interlock issue, which proposes a sunburst visual as an alternative graph format. From Yiannis: "my suggestion would show a link to a GitRepository, HelmRepository, OCIRepository or Bucket details page in the UI." |
Assuming this means "polling interval", the reason that an arbitrary value was chosen.
Sure, but they would have the same issue of a node disappearing on button click.
This was always intended as a "demo sugar" feature that looked interesting and presented the data in a hierarchical way. The K8s data model doesn't allow for querying hierarchically, so we are always fighting the backend. Source: I originally came up with this visualization just to see if I could get it to work. There wasn't much though given to its future (although it is somewhat future-proofed and can express any parent-child relationship that we want to show).
What if a Kustomization outputs something that isn't a
These all seem like navigation problems that can be solved with some clever links in various places.
The Graph view itself is fairly simple to implement. The server code to make the graph possible is where the "magic" happens, with a little bit of recursion on the FE. I don't feel strongly about the Graph itself, but the request/server logic might be worth keeping around. |
+1. And, if it's not implied already: they don't need to be features of a graph view. |
Related to links, they should appear on the Applications table now when using explorer: #3248 |
Saw this issue and cc'ing @bigkevmcd and @foot for alignment and awareness |
Per @squaremo: "Off the top of my head, and going on Darryl's comment in #2102, I think it's possible to trace Kustomizations and HelmReleases back to their original sources, and thereby get a kind of breadcrumb trail. It would be fairly easy to verify this in practice: create a repo that has HelmReleaseses that create Kustomizations that create HelmReleases and see if they are labeled so as to give you an unambiguous reverse path." |
Sad to see it go, I like the idea of a more global / navigable graph a lot. graph TD
A["gitrepo (flux-system)"] --> B["kustomization (flux-system)"]
B --> C["helmrepo (podinfo)"]
C --> D["helmrelease (pod-info)"]
D --> E["deployment (podinfo)"]
E --> F["replicaset (podinfo)"]
F --> G["pod (podinfo)"]
B --> D
|
Relates to https://github.com/weaveworks/weave-gitops-interlock/issues/525. Decision prompted by its history of issues, with the new Interlock issue being the latest manifestation. Also spoke to CX, product team, members of the eng team, and got support for removal.
We will work on producing a new-and-improved graph with a vertical orientation, but not right now.
Per @darrylweaver, this issue has always been true of the graph view, affecting every version: "I avoid showing much on this page because of it."
Previous, related issue (h/t @yiannistri for digging up) weaveworks/weave-gitops#3302 and relevant PR weaveworks/weave-gitops#3320
Also found this old issue: weaveworks/weave-gitops#1956
The text was updated successfully, but these errors were encountered: