-
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
VisTypesRegistryProvider => VisualizationsPlugin interface - Draft #43459
Closed
Closed
Changes from 9 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
3e51172
swap registry with map
mattkime 8b83c92
typescript fixes, add => register - reverting unneeded change
mattkime a80d5cf
fix create vis flow
mattkime bbae5cf
typescript
mattkime 9754ae9
tslint fixes
mattkime 1184ddf
Merge branch 'master' into visTypeRegisteryD18n
mattkime 3463fff
typescript fixes
mattkime 1679290
snap snap
mattkime 716a010
fix: make pie chart available in functional tests
streamich 15df0b8
typescript cleanup
mattkime 8d35f1e
typescript fix
mattkime 8237379
revert change mistake
mattkime aa6bd26
fix timelion
mattkime 1e10abe
fix self_changing_vis plugin
mattkime c71cacf
Merge branch 'master' of github.com:elastic/kibana into visTypeRegist…
mattkime 6376435
cleanup
mattkime 2abfd84
Merge branch 'visTypeRegisteryD18n' of github.com:mattkime/kibana int…
mattkime 9d7125d
Merge branch 'master' of github.com:elastic/kibana into visTypeRegist…
mattkime 901c675
Revert "cleanup"
mattkime ed4fcdf
restore some cleanup
mattkime 56c3e60
remove comment, import visType instead of creating var
mattkime 1521dc1
import 'as' instead of assigning to var
mattkime 0b118c7
Merge branch 'master' into visTypeRegisteryD18n
mattkime b71631e
revert commit to fix functional test
mattkime a8e2ade
revert mistaken commit
mattkime a42a3cc
Merge branch 'master' into visTypeRegisteryD18n
mattkime e1149e0
Merge branch 'master' into visTypeRegisteryD18n
mattkime File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ export function VisualizeListingController($injector, createNewVis) { | |
const config = $injector.get('config'); | ||
const kbnUrl = $injector.get('kbnUrl'); | ||
|
||
this.visTypeRegistry = Private(VisTypesRegistryProvider); | ||
this.visTypeRegistry = VisTypesRegistryProvider.getAll(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as well as every place we read from the registry |
||
this.visTypeAliases = visualizations.types.visTypeAliasRegistry.get(); | ||
|
||
timefilter.disableAutoRefreshSelector(); | ||
|
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
40 changes: 20 additions & 20 deletions
40
...acy/core_plugins/kibana/public/visualize/wizard/__snapshots__/new_vis_modal.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@ppisljar
chrome.dangerouslyGetActiveInjector();
doesn't return in the browser tests and some 80 tests fail. Perhaps we need an alternative way of registering these - what the best way to do it for a karma test?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.
hmm ... interesting .... i had a feeling we did this in other places that were tested by karma and it was working, will try to look into it later today if time allows.