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

Ddg graph node #405

Merged
merged 7 commits into from
Jul 9, 2019
Merged

Ddg graph node #405

merged 7 commits into from
Jul 9, 2019

Conversation

tiffon
Copy link
Member

@tiffon tiffon commented Jul 3, 2019

Add graph node rendering for the DDG graph.

Screen Shot 2019-06-24 at 2 08 00 PM

Screen Shot 2019-06-24 at 2 08 12 PM

@tiffon tiffon requested a review from everett980 July 3, 2019 20:31
@codecov
Copy link

codecov bot commented Jul 3, 2019

Codecov Report

Merging #405 into master will increase coverage by 0.65%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #405      +/-   ##
==========================================
+ Coverage   89.79%   90.45%   +0.65%     
==========================================
  Files         170      169       -1     
  Lines        3842     3824      -18     
  Branches      869      879      +10     
==========================================
+ Hits         3450     3459       +9     
+ Misses        356      329      -27     
  Partials       36       36
Impacted Files Coverage Δ
...er-ui/src/components/DeepDependencyGraph/Graph.tsx 100% <ø> (ø) ⬆️
packages/jaeger-ui/src/model/ddg/Graph.tsx 100% <ø> (ø) ⬆️
packages/jaeger-ui/src/model/ddg/types.tsx 100% <ø> (ø) ⬆️
...eger-ui/src/components/DeepDependencyGraph/url.tsx 100% <ø> (ø) ⬆️
...er-ui/src/components/DeepDependencyGraph/index.tsx 100% <ø> (ø) ⬆️
...nents/DeepDependencyGraph/getNodeLabel/DdgNode.tsx 100% <100%> (ø)
...ponents/DeepDependencyGraph/getNodeLabel/index.tsx 100% <100%> (ø)
...eViewer/TimelineHeaderRow/TimelineViewingLayer.tsx 88.13% <0%> (-1.7%) ⬇️
...-ui/src/utils/DraggableManager/demo/RegionDemo.tsx
...aeger-ui/src/utils/DraggableManager/demo/index.tsx
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59f952d...2abdd32. Read the comment docs.

Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's one tiny change left for getNodeLabel and then I believe it's ready to merge.


import './DdgNode.css';

type TProps = {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it make sense for this to be type TProps = TDdgVertex & { focalNodeUrl..., viewModifierStuff }?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The props don't quite line up:

  • vertexKey vs key (which can't be named key as a prop)
  • label is not present

@tiffon
Copy link
Member Author

tiffon commented Jul 9, 2019

@everett980 This is ready for another review. Thanks.

Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 🎉

@everett980 everett980 merged commit 4704dca into jaegertracing:master Jul 9, 2019
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants