Skip to content

Conversation

@smith
Copy link
Contributor

@smith smith commented Mar 19, 2020

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 UI filters

@smith smith requested a review from a team as a code owner March 19, 2020 21:48
@smith smith added release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Mar 19, 2020
Copy link
Member

@sorenlouv sorenlouv left a 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!

@smith smith force-pushed the nls/no-munge branch 3 times, most recently from dc762a8 to ae59b52 Compare March 20, 2020 05:43
@smith smith force-pushed the nls/no-munge branch 3 times, most recently from 613d4a3 to 0c8f93c Compare March 20, 2020 14:46
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
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

  • 💔 Build #34925 failed 0c8f93c0adb79c3fb16c3141008cf609c4d8ac7c
  • 💔 Build #34790 failed ae59b52ece7be070be8f34684fc247e617dfb65e
  • 💔 Build #34724 failed 100927d52ef57fdd085e0830cd347594f16d03d9

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@smith smith merged commit b5f460f into elastic:master Mar 20, 2020
@smith smith deleted the nls/no-munge branch March 20, 2020 18:15
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 60701 or prevent reminders by adding the backport:skip label.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 21, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 60701 or prevent reminders by adding the backport:skip label.

smith added a commit to smith/kibana that referenced this pull request Mar 22, 2020
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
smith added a commit that referenced this pull request Mar 23, 2020
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
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants