-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] Service maps - adds new storybook stories to test out various data sets #68727
[APM] Service maps - adds new storybook stories to test out various data sets #68727
Conversation
- adds story to generate/render service map response data - adds story that renders any service map response json - adds story that renders opbeans test data
Pinging @elastic/apm-ui (Team:apm) |
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.
So cool!
@@ -0,0 +1,327 @@ | |||
/* |
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.
I usually don't think it's necessary to put this in a __stories__
directory, but since we have a lot of examples I can see why we would do it.
import { iconForNode } from '../icons'; | ||
|
||
storiesOf('app/ServiceMap/Cytoscape', module).add( | ||
'example', |
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.
We probably can remove this example since we have other more complete ones now.
); | ||
|
||
storiesOf(STORYBOOK_PATH, module).add( | ||
'pre-loaded map', |
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.
Maybe a better name might be "map from JSON"
); | ||
}, | ||
{ | ||
info: { propTables: false, source: false }, |
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.
We could put a text
key under info
to provide instructions on how to get data in here.
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…ata sets (elastic#68727) * - move cytoscape stories-related files to __stories__ - adds story to generate/render service map response data - adds story that renders any service map response json - adds story that renders opbeans test data * added example data for 'Hipster store' and 'Todo app' Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* master: (38 commits) Support migrating from reserved feature privileges (elastic#68504) add `preference` field to SavedObjectsFindOptions (elastic#68620) [ILM] Add "wait for snapshot" policy field to Delete phase (elastic#68505) Cleanup old license overwrites (elastic#68744) Bump TypeScript to v3.9 (elastic#67666) [APM] Service maps - adds new storybook stories to test out various data sets (elastic#68727) Fix vega specification parsing (elastic#67963) docs: add more api information (elastic#68717) [APM] Don't show annotations on charts with no data (elastic#68829) [Metrics UI] Fix Inventory View sorting by handling null values (elastic#67889) skip flaky suite (elastic#68836) [SIEM][Detections Engine] - Fix reference rule url overflow (elastic#68640) Index pattern public api => common (elastic#68289) [APM] Lazy-load alert triggers (elastic#68806) [DOCS] Fix table formatting in ingest manager settings (elastic#68824) [Endpoint] Functional Tests cleanup (elastic#68756) revert previous commit which was unintentional Use Github token instead for project assignments [SIEM][Exceptions] - ExceptionsViewer cleanup (elastic#68739) move @kbn/storybook to devDeps (elastic#68791) ...
…ata sets (#68727) (#68869) * - move cytoscape stories-related files to __stories__ - adds story to generate/render service map response data - adds story that renders any service map response json - adds story that renders opbeans test data * added example data for 'Hipster store' and 'Todo app' Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Addresses #62814