-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:elastic/kibana into fix/url-rewri…
…tes-in-dist-styles
- Loading branch information
Showing
38 changed files
with
1,282 additions
and
6,005 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
name: Assign a PR to project based on label | ||
steps: | ||
- name: Assign to project | ||
uses: elastic/github-actions/[email protected].2 | ||
uses: elastic/github-actions/[email protected].3 | ||
id: project_assigner | ||
with: | ||
issue-mappings: | | ||
|
@@ -17,4 +17,4 @@ jobs: | |
{ "label": "Feature:Lens", "projectName": "Lens", "columnId": 6219362 }, | ||
{ "label": "Team:Canvas", "projectName": "canvas", "columnId": 6187580 } | ||
] | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,10 @@ jobs: | |
name: Assign issue or PR to project based on label | ||
steps: | ||
- name: Assign to project | ||
uses: elastic/github-actions/[email protected].2 | ||
uses: elastic/github-actions/[email protected].3 | ||
id: project_assigner | ||
with: | ||
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219363}, {"label": "Team:Canvas", "projectName": "canvas", "columnId": 6187593}]' | ||
ghToken: ${{ secrets.GITHUB_TOKEN }} | ||
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
x-pack/legacy/plugins/apm/public/components/app/ServiceMap/Cytoscape.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import { storiesOf } from '@storybook/react'; | ||
import cytoscape from 'cytoscape'; | ||
import React from 'react'; | ||
import { Cytoscape } from './Cytoscape'; | ||
|
||
const elements: cytoscape.ElementDefinition[] = [ | ||
{ | ||
data: { | ||
id: 'opbeans-python', | ||
label: 'opbeans-python', | ||
agentName: 'python', | ||
type: 'service' | ||
} | ||
}, | ||
{ | ||
data: { | ||
id: 'opbeans-node', | ||
label: 'opbeans-node', | ||
agentName: 'nodejs', | ||
type: 'service' | ||
} | ||
}, | ||
{ | ||
data: { | ||
id: 'opbeans-ruby', | ||
label: 'opbeans-ruby', | ||
agentName: 'ruby', | ||
type: 'service' | ||
} | ||
}, | ||
{ data: { source: 'opbeans-python', target: 'opbeans-node' } }, | ||
{ | ||
data: { | ||
bidirectional: true, | ||
source: 'opbeans-python', | ||
target: 'opbeans-ruby' | ||
} | ||
} | ||
]; | ||
const height = 300; | ||
const serviceName = 'opbeans-python'; | ||
|
||
storiesOf('app/ServiceMap/Cytoscape', module).add( | ||
'example', | ||
() => { | ||
return ( | ||
<Cytoscape | ||
elements={elements} | ||
height={height} | ||
serviceName={serviceName} | ||
/> | ||
); | ||
}, | ||
{ | ||
info: { | ||
source: false | ||
} | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.