-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Controls] Dashboard Integration #115991
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
Merged
ThomThomson
merged 15 commits into
elastic:master
from
ThomThomson:controls/dashboardIntegration
Oct 27, 2021
Merged
[Controls] Dashboard Integration #115991
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e8dd9e3
Create filters when controls change. Integrated controls on dashboard…
ThomThomson 5570442
Inject and Extract, tracking of index pattern changes in control group
ThomThomson ab3768d
Fix types
ThomThomson b2479ea
Reduce bundle size for presentation util, update telemetry schema, fi…
ThomThomson 99415d5
Merge branch 'master' of github.com:elastic/kibana into controls/dash…
ThomThomson 53eb2bc
Fix type
ThomThomson 3682356
implemented new field picker and data view picker. Default title when…
ThomThomson 23542eb
remove accidental change to container.ts. Lower dashboard initial bun…
ThomThomson c6732dc
Fix potential duplication of dashboard index patterns when using the …
ThomThomson 43a9442
Merge branch 'master' of github.com:elastic/kibana into controls/dash…
ThomThomson 6a22451
undo change to container.ts
ThomThomson 497c057
communicate default index pattern when editor loaded
ThomThomson 2851dfe
use consistent IDs for control group. Clear redux state when embeddab…
ThomThomson fc2149a
simplified inline editor, cleaned up index pattern sync
ThomThomson 44cba5c
Merge branch 'master' of github.com:elastic/kibana into controls/dash…
ThomThomson 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
What's the reason for only exporting the DashboardContainer type and not the entire class, thus having to change all of these imports to a deeper path?
Uh oh!
There was an error while loading. Please reload this page.
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.
This is the secret to how I made the initial dashboard plugin bundle less than 100kb. The dashboard embeddable contains a whole bunch of code and resources, so I imported it async in the factory.
That alone cut the bundle size from 230kb to 80kb.
The only places that used the dashboard container class itself without going through the factory were the actions/tests so I just updated them all to import from elsewhere.