-
Notifications
You must be signed in to change notification settings - Fork 667
Add kiali URL in traffic connector side panel #4026
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
Conversation
|
/kind feature |
|
@divyanshiGupta have you seen the ConsoleLink updates coming in from kiali for creating a namespaced link from the dashboard? |
I havent seen the updates since I wanted to get everything in place first and then according to ConsoleLink updates make changes to the PR.
I am using the ConsoleLink URL only, but I was under the impression there is going to be only one ConsoleLink with the root URL and we can append the path and query params we want along with the namespace. Now according to the PR they are creating ConsoleLink for each namespace that will have the graph view link filtered by namespace so if this URL without the params is same as what I created with params we can simply use the ConsoleLink URL directly without adding anything to it. |
|
@christianvogt both URLs will take us to the same page. So I will directly use only the |
|
Thanks @divyanshiGupta. Seems you're doing a lot of work to weave the console links data through topology. Why don't you simply connect to redux in the |
Because TopologyDataController is already a connected component and also I thought of passing the console-links from here since most of the data we need anywhere in topology is passed/controlled by this component. Just didn't wanted to break the flow. Also when we wanted to show sbr in sidepanel we added it as an edge data so similarly if we want to show kiali link in the sidepanel it can be considered as edge data and that way it will also be available across topology. Definitely making |
|
/assign @christianvogt |
frontend/packages/dev-console/src/components/topology/TopologyEdgePanel.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/topology/topology-utils.ts
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/topology/topology-utils.ts
Outdated
Show resolved
Hide resolved
|
verified the changes in e3b5c5d |
andrewballantyne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just reviewed the last commit - see comments below.
frontend/packages/dev-console/src/components/topology/TopologyEdgePanel.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/topology/TopologyEdgePanel.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/src/components/topology/topology-types.ts
Outdated
Show resolved
Hide resolved
andrewballantyne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold
Added my approval and re-added Karthik's lgtm. Put a hold on it until we can get the dependency PRs in.
|
/retest |
1 similar comment
|
/retest |
remove console logs lint add types for traffic data add unit test for kiali utility refactor add test for truthy
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne, divyanshiGupta, karthikjeeyar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel I'm going to throw all the chips on the table... If #4022 (the 1st commit of this PR & a dependency for this work) merges first, this PR will get conflicts and cannot merge... however if this merges before #4022 then 4022 won't be needed. We are having e2e failures that are blocking things and Sahil (author of 4022) will be on PTO during the next couple days preventing any response to failures / rebases / blockers that arise on #4022. So, let the race begin 😄 |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
5 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Jira Stories: https://issues.redhat.com/browse/ODC-2603, https://issues.redhat.com/browse/ODC-2569
Dependent on -
To review go through - e3b5c5d