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
Reorganize Management apps into Ingest, Data, Alerts and Insights, Security, Kibana, and Stack groups #65796
Merged
Merged
Changes from 6 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
465d813
Reorganize Management apps into Ingest, Data, Insights and Alerting, …
cjcenizal a66a7e0
Fix TS error in beats due to missing visible option.
cjcenizal 7cc3490
Update snapshots.
cjcenizal 25cb6ac
Remove support for icon.
cjcenizal f93aba0
Create ManagementSectionId enum and remove ability to register additi…
cjcenizal a9fdf54
Merge branch 'master' into reorg/management-apps
cjcenizal d3f557e
Return Index Patterns to Kibana section.
cjcenizal 5c6d09e
Rename Beats Central Management to Beats Management in nav.
cjcenizal 6ceed19
Add tooltips to sections.
cjcenizal 3aa1d8f
Throw error if retrieved managementSection is missing.
cjcenizal b1771a1
Merge branch 'master' into reorg/management-apps
cjcenizal b4b5b64
Fix types to specify that a retrieved ManagementSection cannot be und…
cjcenizal accc91e
Add test to verify that the management service will throw an error if…
cjcenizal 9d97c23
Revert name change to Beats Central Management.
cjcenizal af06fc5
Fixed management nav on narrow screens.
cjcenizal 29fa95e
Merge branch 'master' into reorg/management-apps
cjcenizal 3e38251
Remove undefined export. Fix Security and Spaces unit tests.
cjcenizal cde5d36
Update paths to apps in functional tests config.
cjcenizal d14f15f
Fix plugin functional test.
cjcenizal cd6fa5e
Fix TS errors.
cjcenizal f1ddf84
Change kibana/triggersActions paths to insightsAndAlerting/triggersAc…
cjcenizal 1cf0af1
Merge branch 'master' into reorg/management-apps
cjcenizal 265373e
Fix spaces snapshot.
cjcenizal 68c61fa
Fix management plugin functional tests.
cjcenizal 64cda1a
Fix i18n.
cjcenizal 58b6e10
Fix reporting tests.
cjcenizal 68c0eb4
Fix broken links and update snapshots.
cjcenizal dfccfa5
Fix watcher links.
cjcenizal 3554533
Fix broken license management link.
cjcenizal 79bcbb7
Merge branch 'master' into reorg/management-apps
cjcenizal 69762fd
Merge branch 'master' into reorg/management-apps
cjcenizal File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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
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.
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.
Does anybody have any suggestions on what I could do to convince TypeScript that this function will always return a
ManagementSection
, and notundefined
? TS check shows this error everywhere this method is invoked: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 consider throwing if
find
returnsundefined
. That would give us both transpile-time and runtime guaranteesThere 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.
See my previous comment. I consider this a flaw in the API. I think
throw
ing will work in the mean time.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.
Thanks Matt! I updated the code to throw.