-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Remove all client-side map munging #60701
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
sorenlouv
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.
looks good. mostly stuff about constants. Thanks for doing this!
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/Popover/Contents.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/Popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/icons.ts
Outdated
Show resolved
Hide resolved
dc762a8 to
ae59b52
Compare
x-pack/plugins/apm/server/lib/metrics/by_agent/java/thread_count/index.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/index.tsx
Outdated
Show resolved
Hide resolved
613d4a3 to
0c8f93c
Compare
Remove the getCytoscapeElements function. On the server: * Replace `source` with `sourceData`, `destination` with `targetData`, `source.id` with `source`, and `destination.id` with `target`. * Return a single array as an `elements` property instead of `nodes` and `connections` * Map all of the items data to be inside of a `data` object * Replace SERVICE_AGENT_NAME with AGENT_NAME * Add some missing constants On the client: * Remove getCytoscapeElements * Move all presentation-specific data transformation to use the original attributes in the place where they're needed * Remove `href` since it wasn't being used * Move BetaBadge to its own file * Move cytoscapeDivStyle to cytoscapeOptions * Fix storybook to work with new data formats
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Remove the getCytoscapeElements function. On the server: * Replace `source` with `sourceData`, `destination` with `targetData`, `source.id` with `source`, and `destination.id` with `target`. * Return a single array as an `elements` property instead of `nodes` and `connections` * Map all of the items data to be inside of a `data` object * Replace SERVICE_AGENT_NAME with AGENT_NAME * Add some missing constants On the client: * Remove getCytoscapeElements * Move all presentation-specific data transformation to use the original attributes in the place where they're needed * Remove `href` since it wasn't being used * Move BetaBadge to its own file * Move cytoscapeDivStyle to cytoscapeOptions * Fix storybook to work with new data formats
Remove the getCytoscapeElements function. On the server: * Replace `source` with `sourceData`, `destination` with `targetData`, `source.id` with `source`, and `destination.id` with `target`. * Return a single array as an `elements` property instead of `nodes` and `connections` * Map all of the items data to be inside of a `data` object * Replace SERVICE_AGENT_NAME with AGENT_NAME * Add some missing constants On the client: * Remove getCytoscapeElements * Move all presentation-specific data transformation to use the original attributes in the place where they're needed * Remove `href` since it wasn't being used * Move BetaBadge to its own file * Move cytoscapeDivStyle to cytoscapeOptions * Fix storybook to work with new data formats
Remove the getCytoscapeElements function.
On the server:
sourcewithsourceData,destinationwithtargetData,source.idwithsource, anddestination.idwithtarget.elementsproperty instead ofnodesandconnectionsdataobjectOn the client:
hrefsince it wasn't being used