forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass uiSettings to all data plugin services (elastic#42159)
* kbn top nav in discover * New top nav in dashboard and vis editor * change kbn top nav directive * Stop using template feature of kbn top nav * Combined css * console top nav * Removed unnecessary use of kbn-top-nav in dev tools app (wrapping tabs) * Changed console menu to new directive * CSS adjustments + functional implementation of top nav menu item * Fixed DevTools top nav toggle * Optional show-border * timelion menu works * Improve filter sorting logic to be more stable * Support showing filter bar as part of top nav * Use search bar in top nav in discover and maps Support search bar with no filter bar (TS) * tmp revert * Align search bar settings accross apps * Reverted change in ML, removed unused css * Added data test subj to top nav menu items * Watch config by value * Some directive magic to make sure that disabledButtons functions are watched correctly. * Fix missing controls from new top nav in some visualizations * showAutoRefreshOnly in input controls visualization * Fixed inspector disabled test * Fix dashboard action links rewrite top nav menu item to functional style * snapshots * Fixed maps filter bar * Remvoed comment * Update Query Bar defaults * Top nav menu item tests * Moved storage instantiation to angular directive * SearchBar jest tests * Query bar additional tests * Top nav menu tests * Pass store into top nav menu correctly * watch store by reference * Added not null assertion * Make index patterns optional (for timepicker only setup) * QueryBar tests again * Search bar tests * Top nav tests * Top nav menu tests * removed unnecessary ui/new_platform mock * Moved discover result count away from top nav * Moved and improved top nav menu css * remove unused translations * Move timepicker (to be deprecated) into old kbn_top_nav * Deleted search-bar and query-bar directives! * moved search bar to kibana_react (it's a generic react component, not a service) * translations * Moved superDatePicker directive to kbn_top_nav (to be deprecated) Deleted unused react_component directives call-out and tool-bar-search-box * Use index patterns from data plugin itself instead of importing from ui/public * Pass uiSettings from top level of data plugin * Pass saved objects client from top level * query bar input to rely on provided localStorage (?) * import QueryBarInput correctly from vis ediror * Query bar input tests - uiSettings * Query bar - uiSettings tests * import QueryBar from data plugin correctly * Use provider to pass config to TSVB query bar inputs * Add query bar input parms to agg types * Standardize shape data plugin and use it to pass uiSettings in. * Removed unnecessary mocks * Fixed test typo * Code review part 1 * Code review part 2 - clean up top nav menu item run interface * Give top nav items better keys * Simplified top nav construction logic in editor * Fixed mock of search bar in top nav test * Moved filter trigger button rendering to helper function * Remove responsiveness from top nav items * vertical align for cases where showSearchBarInline is true (i.e. only menu and time picker in the same row) * Export TopNavMenuData type * Removed unused name attribute in top nav. Use app-name instead. * Minor merge fixes * Update data plugin shape * type fixes * fix core start import * Fixed tests * fix another test mock * Brought back setup.ts for backward compatibility. Chnaged to relative imports * bad import from data plugin * Yet another import :-( * Code revire #1 @lukeelmers * create wrapper for QueryBarInput * use IndexPatterns type * import order * Code review fixes * inject uiSettings into filter-bar directive * Fix some type errors * Fixes * Filter bar context * ts CoreSetupContextProvider * Moved coreCOntext to vis_editor constructor * Reverted filter bar context * Removed editor html ng-show * use saved objects contract + check uiSettings
- Loading branch information
Liza Katz
authored
Aug 11, 2019
1 parent
fe3422c
commit 060d998
Showing
47 changed files
with
445 additions
and
358 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
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.