Aleh Zasypkin
c6e2fed1c6
Register privileges in Kibana Platform Security plugin and remove legacy getUser
API. ( #65472 )
2020-06-05 08:11:58 +02:00
spalger
6f5a0c3b41
remove and ignore legacy/plugins/reporting directory
2020-06-04 17:10:07 -07:00
Sébastien Loix
c77e9bf8f8
[Composable templates] Table to list templates ( #67282 )
...
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 22:34:04 +02:00
Tim Sullivan
2f67cbfa9c
[Reporting] Move code out of Legacy ( #67904 )
...
* [Reporting] Move code out of Legacy
* Elasticsearch is not a plugin dep
* add data as plugin dependo
* diff cleanup 1
* log the browser download
* Update paths in outside code for new Reporting home
* fix download test
* add numeral typing for x-pack/test
* Fix jest tests for np migration
* Shorten import paths
* remove this file, add typings to the node module
* remove local typing that has been provided by node module
* Add optional security plugin dep
* revert conflicting apm typings removal
* fix i18n
* fix snakecase whitelist
Co-authored-by: Joel Griffith <joel.griffith@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-03 15:40:56 -07:00
Yuliia Naumenko
ce45dad8b6
Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE ( #66838 )
...
* Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE
* Changed alerting REST API to keep the pattern 'alerts/alert/{id}'
* fixed tests
* fixed tests
* Fixed jest tests
* Renamed plugin from alerting to alerts
* fixed tests
* fixed tests
* Fixed alert type check error
* Fixed find api
* fixed type checks
* fixed tests security issues
* Fixed view in app
* -
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-01 18:45:36 -07:00
Mikhail Shustov
53b95424fe
Deprecate es API exposed from setup contract ( #67596 )
...
* move elasticsearch client under legacy namespace
* update mocks and tests
* update platform code
* update legacy code
* update plugins using elasticsearch setup API
* update request handler context
* update docs
* rename remaining places
* address comments
* fix merge conflict error
2020-06-01 16:16:44 +02:00
Larry Gregory
afbbafb0cf
Fix support for xpack.spaces.maxSpaces
( #67846 )
2020-06-01 09:36:52 -04:00
Joel Griffith
39902870c8
[Reporting]: Move router + license checks to new platform ( #66331 )
...
* WIP: Move routes to new API, license and other checks inbound
* Move license checks over to np licensing observable
* Fix license checks + remove older modules
* Fixing check_license tests, move to TS/Jest
* Fix licensing setup for mocks
* Move job.test.ts over to np
* WIP: move user checks to higher-order func
* Move more handler logic over to Response factory vs Boom
* Major refactor to consolidate types, remove facades, and udpate helpers
* Fix validation for dates in immediate exports
* Linter fix on check license test
* Fix job generation tests
* Move deps => setupDeps
* fix api test
* fix jobs test
* authorized_user_pre_routing and tests
* Fixing duplicate identifiers
* Fix licensing implementation changes
* WIP: Moving license over to async/observables
* Fix disabled-security case
* finish auth_user_pre_routing cleanup - no more license check
* WIP: Fixing final api tests
* Trying to get schema differences in alignment
* Reverting back to previous generation handler
* Fix final API tests
* Final API test fixes, few more hardening tests and better error messages
* Simplify lower-level module implementation (core only interface) + test updates
* Push some core logic into plugin
* Move some core logic up to plugin
* Marking private setupDeps + downstream fixes
* revert logger as a param
Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
2020-05-29 15:31:17 -07:00
Nathan Reese
7118e750a0
[Maps] allow adding multiple layers ( #67544 )
...
* [Maps] allow adding multiple layers
* update RenderWizardArguments arguments
* fix toc_entry jest test
* fix tslint error
* cleanup
* remove __transientLayerId from store signature
* rename setSelectedLayerToFirstPreviewLayer
* revert changes to es_search_source/create_source_editor.js
2020-05-28 15:14:39 -06:00
Larry Gregory
639dbbeb19
Migrate audit logging to KP ( #67381 )
...
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-28 14:46:42 -04:00
Tim Sullivan
77ba7038cf
[Reporting] Migrate server-side usage collector ( #67233 )
...
* [Reporting] Migrate server/usage
* fix import
* polish
* prefer inferring return type
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-26 18:34:03 -07:00
restrry
bf04235dae
apply prettier styles
2020-05-22 09:08:58 +02:00
Aaron Caldwell
bcf1f1f93e
[Maps] Migrate Maps server to NP ( #66510 )
2020-05-21 11:29:24 -06:00
Nathan Reese
d6ef808025
[Maps] convert redux actions to TS phase 1 ( #67056 )
...
* [Maps] Do not check count for blended layers when layer is not visible
* move visibility logic to map_actions where syncData is called
* clean up
* fix syntax error
* remove async action
* make syncDataForAllLayers a proper redux action
* simplify
* fix functional test
* [Maps] convert data request actions to TS
* update paths to only use actions
* ts-lint cleanup
* tslint cleanup
* clean up tests and export tooltip actions
* review feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-21 10:17:03 -06:00
Mikhail Shustov
a9234ef034
Remove unused license check result from LP Security plugin ( #66966 )
...
* remove unused license check result
* remove outdated test
* update licensing tests
2020-05-20 12:54:16 +02:00
Tim Sullivan
114a0a13a5
[Reporting] Consolidate Server Type Defs, move some out of Legacy ( #66144 )
...
* [Reporting] consolidate server types, move some to NP
* Revert touching routes code
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-18 17:13:45 -07:00
CJ Cenizal
bfdeb10c15
Reorganize Management apps into Ingest, Data, Alerts and Insights, Security, Kibana, and Stack groups ( #65796 )
2020-05-15 16:11:27 -07:00
Nathan Reese
8dc8aa0c64
[Maps] Handle cross cluster index _settings resp ( #66797 )
2020-05-15 14:18:39 -06:00
Mikhail Shustov
915ff5db50
move oss features registration to KP ( #66524 )
...
* register OSS features with KP SO types only
* use Licensing plugin API in features plugin
* add plugin tests
* filter hidden types out
* cleanup tests
* rename
* add degug logging
* add warning for setup contract
* fix typo
2020-05-15 20:01:33 +02:00
Josh Dover
62e8214f90
Migrate Beats Management UI to KP ( #65791 )
2020-05-15 10:22:12 -06:00
Mikhail Shustov
0cc5d133d9
lint import from restricted zones for export exressions ( #66588 )
...
* line restricted zones for export exressions
* more robust rule
* fix or mute eslint errors
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-15 17:21:42 +02:00
Maryia Lapata
7c8eea16e5
[NP] Migrate uiSettings owned by Kibana app ( #64321 )
...
* Move META_FIELDS_SETTING, DOC_HIGHLIGHT_SETTING to data plugin.ts
* Refactor table_list_view.tsx to no longer get PER_PAGE_SETTING by uiSettings
* Migrate graph, visualize, dashboard usage of saved_objects module constants to accessor functions
* Remove redundant logging in plugins start and setup methods
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2020-05-15 14:44:18 +02:00
Joe Reuter
b7e87c2c8b
Switch to core application service ( #63443 )
2020-05-13 09:19:24 +02:00
Larry Gregory
dc8dd19543
Spaces - migrate default space and enter space view to KP ( #66098 )
2020-05-12 19:59:29 -04:00
Caroline Horn
0fbbc78852
[Spaces] SASS modularization ( #65921 )
...
* Removing Spaces legacy styles import in favor of direct plugin import
* Modularizing the `/management` components
* Further modularization within copy_saved_objects_to_space
* Add styling section to CONTRIBUTING
* SASS lint and snaps
* Adding link to EUI SASS
2020-05-12 17:13:20 -04:00
Mikhail Shustov
3667647aa2
Do not register SO in the legacy platform ( #66203 )
...
* move maps SO registration to KP
* move timelion SO registration to KP
* register server SO in KP
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-12 21:03:13 +02:00
Thomas Neirynck
bf178dece9
[Maps] Organize layers into subfolders ( #65513 )
2020-05-11 20:40:12 -04:00
Mikhail Shustov
4912153ce6
don't register any features in LP. ( #65611 )
...
* don't register any features in LP. breaks features value reading in KP
* move test plugin to NP
* fix mappings
* update docs
* migrate another test
* use contstants file for BWC with original code
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-11 18:43:45 +02:00
Tim Sullivan
6bf0890186
[Reporting] APM integration for baseline performance measurements ( #59967 )
...
* apm stuff
* fix cluster_client
* fix snapshot
* tracker utility for generate_pdf
* call apm.startSpan instead of txn.startSpan
* Fix async call to end transaction
* fix typescript
* remove captuureErrors
* restore accidental removal
* add startTrace lib
* fix import
* fix imports
* ts fix
* fix generate_png to not format base64 to buffer and back to base64
* 💅
* revert change to cluster client
* fix unused translation
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-07 16:53:28 -07:00
Tim Sullivan
9b71f46961
remove immediate functions from esqueue worker cycles ( #65375 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-07 12:07:44 -07:00
Aaron Caldwell
c00b36e9e3
Migrate Coordinate Maps to NP ( #64668 )
2020-05-06 15:12:38 -06:00
Gidi Meir Morris
94127d803a
[Alerting] migrates acceptance and functional test fixtures to KP ( #64888 )
...
This PR migrates the vast majority of Alerting legacy code to the Kibana Platform.
This includes:
1. Removed legacy Task Manager
2. Migrates Fixture plugins in Alerting, Triggers UI and Task Manager Perf
This does not includes:
1. The PagerDuty simulator due to a lack of support for custom responses in the platform. issue opened. https://github.com/elastic/kibana/issues/65045
2. The Webhooks simulator due to a lack of support for custom authorisation. Requires investigation.
2020-05-06 09:57:26 +01:00
Michail Yasonik
35e10273d3
New nav ( #64018 )
...
Notably, also removes aria-hidden from many visualizations
2020-05-05 23:14:14 -05:00
Corey Robertson
b8bea5b8b2
[Canvas] move files from legacy/plugins to plugins ( #65283 )
...
* Moves the files
* Rename legacy/plugins/canvas paths
* Correct paths
* Fix shareable_runtime and storybook
* ESLint Fixes
* Fix jest test and paths
2020-05-05 20:52:56 -04:00
Spencer
ee270c7c3f
disallow external imports to src/core/utils ( #64852 )
2020-05-05 14:56:22 -07:00
Larry Gregory
6a6deef151
Deprecate kibana user in favor of kibana_system user ( #63186 )
2020-05-05 11:36:40 -04:00
Jason Rhodes
9be4ec049b
Removes legacy infra plugin and moves saved objects registration to NP ( #64848 )
...
* Removes legacy infra plugin and moves saved objects to NP
* Removes unnecessary legacy getLibs method
* Reverts saved objects to "single" namespace mode
2020-05-05 11:05:02 -04:00
Thomas Neirynck
d3ea775619
[Maps] [Telemetry] Track geo_point and geo_shape index patterns separately ( #65195 )
2020-05-05 09:23:42 -04:00
Vadim Dalecky
d77d2e4b77
Remove legacy "interpreter" plugin ( #61263 )
...
* chore: 🤖 delete legacy interpreter registries
* chore: 🤖 completely delete legacy "interpreter" plugin
* chore: 🤖 remove dependencies on legacy "interpreter" plugin
* chore: 🤖 revert back Canvas global registries
* test: 💍 fix Lens test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-05 08:35:05 +02:00
Corey Robertson
bd73d967c9
[Canvas] Finish moving UI to Kibana Platform ( #64831 )
...
* Finish Canvas platform migration
* Revert inadvertent change
* Import Canvas .scss directly
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 19:40:18 -04:00
Corey Robertson
03920249a6
[Canvas] Moves canvas Server to NP completely ( #65148 )
...
* Moves canvas Server to NP completely
* Fix typecheck
2020-05-04 19:38:46 -04:00
Tim Sullivan
044f89ed14
[Reporting] Improve TS and update Reporting usage data model ( #64841 )
...
* Stricter types for Reporting Usage data
* Allow more type inference
* remove lastDay filter
* update ts and add test
* fix tests
* fix test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 15:19:58 -07:00
Daniil Suleiman
f126e6130b
[NP][Discover] Move discover into new platform ( #63473 )
...
* Move discover into NP
* Convert doc_table tests to jest
* Move rows_headers to use jest
* Move fixed_scroll.test
* Clean up
* Revert jest changes
* Pass down deps into IndexPatternFieldList
* Fix conflicts
* Pass env vars
* Remove LegacyCoreStart
* Update generated doc
* Fix canvas type
* Fix i18n
* Improve stub_index_pattern code
* Add fieldFormats to mocked services
* Skip failing tests
- while still working on them, to find out if other tests fail in jenkins
* Unskip sidebar test
* Move mocha tests to legacy
- delete jest tests, can be converted later on
* Fix Scss imports
- Seems functional tests didn't build because of them?
* Remove another invalid SCSS import
* Pass deps as last argument
* Move field list into data start contract
* Move create field into data start contract, fix tests
* Update docs
* Fix duplicating fields
* Update snapshots in management
* Fix review comments
* Update docs
* Fix angular compilation
* Update docs
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 23:34:24 +03:00
Poff Poffenberger
6c1f5ec81b
[Canvas] Reduce report generation time by re-using headless browser page in background ( #63301 )
...
* Rough first pass at reusing page for multiple links in report generation
* Some adjustments to handling the events coming from CDP
* Add new data-share-page selector for jobs with multiple urls
* Cleanup
* PR feedback
* Adding tests for Canvas export app and multi user observable jobs
* Adding a short blurb describing the data-shared-page attribute requirement
* PR feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 13:55:13 -05:00
Vadim Dalecky
496f492474
Fix 37422 ( #64215 )
...
* refactor: 💡 rename Filter -> ExpressionValueFilter
* refactor: 💡 use new filter type in Canvas
* fix: 🐛 fix tests after refactor
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 18:39:09 +02:00
Vadim Dalecky
360b9c1200
Drilldowns ( #61219 )
...
* Add drilldown wizard components
* Dynamic actions (#58216 )
* feat: 🎸 add DynamicAction and FactoryAction types
* feat: 🎸 add Mutable<T> type to @kbn/utility-types
* feat: 🎸 add ActionInternal and ActionContract
* chore: 🤖 remove unused file
* feat: 🎸 improve action interfaces
* docs: ✏️ add JSDocs
* feat: 🎸 simplify ui_actions interfaces
* fix: 🐛 fix TypeScript types
* feat: 🎸 add AbstractPresentable interface
* feat: 🎸 add AbstractConfigurable interface
* feat: 🎸 use AbstractPresentable in ActionInternal
* test: 💍 fix ui_actions Jest tests
* feat: 🎸 add state container to action
* perf: ⚡ ️ convert MenuItem to React component on Action instance
* refactor: 💡 rename AbsractPresentable -> Presentable
* refactor: 💡 rename AbstractConfigurable -> Configurable
* feat: 🎸 add Storybook to ui_actions
* feat: 🎸 add <ErrorConfigureAction> component
* feat: 🎸 improve <ConfigureAction> component
* chore: 🤖 use .story file extension prefix for Storybook
* feat: 🎸 improve <ErrorConfigureAction> component
* feat: 🎸 show error if dynamic action has CollectConfig missing
* feat: 🎸 render sample action configuration component
* feat: 🎸 connect action config to <ConfigureAction>
* feat: 🎸 improve <ConfigureAction> stories
* test: 💍 add ActionInternal serialize/deserialize tests
* feat: 🎸 add ActionContract
* feat: 🎸 split action Context into Execution and Presentation
* fix: 🐛 fix TypeScript error
* refactor: 💡 extract state container hooks to module scope
* docs: ✏️ fix typos
* chore: 🤖 remove Mutable<t> type
* test: 💍 don't cast to any getActions() function
* style: 💄 avoid using unnecessary types
* chore: 🤖 address PR review comments
* chore: 🤖 rename ActionContext generic
* chore: 🤖 remove order from state container
* chore: 🤖 remove deprecation notice on getHref
* test: 💍 fix tests after order field change
* remove comments
Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Drilldown context menu (#59638 )
* fix: 🐛 fix TypeScript error
* feat: 🎸 add CONTEXT_MENU_DRILLDOWNS_TRIGGER trigger
* fix: 🐛 correctly order context menu items
* fix: 🐛 set correct order on drilldown flyout actions
* fix: 🐛 clean up context menu building functions
* feat: 🎸 add context menu separator action
* Add basic ActionFactoryService. Pass data from it into components instead of mocks
* Dashboard x pack (#59653 )
* feat: 🎸 add dashboard_enhanced plugin to x-pack
* feat: 🎸 improve context menu separator
* feat: 🎸 move drilldown flyout actions to dashboard_enhanced
* fix: 🐛 fix exports from ui_actions plugin
* feat: 🎸 "implement" registerDrilldown() method
* fix ConfigurableBaseConfig type
* Implement connected flyout_manage_drilldowns component
* Simplify connected flyout manage drilldowns component. Remove intermediate component
* clean up data-testid workaround in new components
* Connect welcome message to storage
Not sure, but use LocalStorage. Didn’t find a way to persist user settings. looks like uiSettings are not user scoped.
* require `context` in Presentable. drill context down through wizard components
* Drilldown factory (#59823 )
* refactor: 💡 import storage interface from ui_actions plugin
* refactor: 💡 make actions not-dynamic
* feat: 🎸 fix TypeScript errors, reshuffle types and code
* fix: 🐛 fix more TypeScript errors
* fix: 🐛 fix TypeScript import error
* Drilldown registration (#59834 )
* feat: 🎸 improve drilldown registration method
* fix: 🐛 set up translations for dashboard_enhanced plugin
* Drilldown events 3 (#59854 )
* feat: 🎸 add serialize/unserialize to action
* feat: 🎸 pass in uiActions service into Embeddable
* feat: 🎸 merge ui_actions oss and basic plugins
* refactor: 💡 move action factory registry to OSS
* fix: 🐛 fix TypeScript errors
* Drilldown events 4 (#59876 )
* feat: 🎸 mock sample drilldown execute methods
* feat: 🎸 add .dynamicActions manager to Embeddable
* feat: 🎸 add first version of dynamic action manager
* Drilldown events 5 (#59885 )
* feat: 🎸 display drilldowns in context menu only on one embed
* feat: 🎸 clear dynamic actions from registry when embed unloads
* fix: 🐛 fix OSS TypeScript errors
* basic integration of components with dynamicActionManager
* fix: 🐛 don't overwrite explicitInput with combined input (#59938 )
* display drilldown count in embeddable edit mode
* display drilldown count in embeddable edit mode
* improve wizard components. more tests.
* partial progress, dashboard drilldowns (#59977 )
* partial progress, dashboard drilldowns
* partial progress, dashboard drilldowns
* feat: 🎸 improve dashboard drilldown setup
* feat: 🎸 wire in services into dashboard drilldown
* chore: 🤖 add Storybook to dashboard_enhanced
* feat: 🎸 create presentational <DashboardDrilldownConfig>
* test: 💍 add <DashboardDrilldownConfig> stories
* test: 💍 use presentation dashboar config component
* feat: 🎸 wire in services into React component
* docs: ✏️ add README to /components folder
* feat: 🎸 increase importance of Dashboard drilldown
* feat: 🎸 improve icon definition in drilldowns
* chore: 🤖 remove unnecessary comment
* chore: 🤖 add todos
Co-authored-by: streamich <streamich@gmail.com>
* Manage drilldowns toasts. Add basic error handling.
* support order in action factory selector
* fix column order in manage drilldowns list
* remove accidental debug info
* bunch of nit ui fixes
* Drilldowns reactive action manager (#60099 )
* feat: 🎸 improve isConfigValid return type
* feat: 🎸 make DynamicActionManager reactive
* docs: ✏️ add JSDocs to public mehtods of DynamicActionManager
* feat: 🎸 make panel top-right corner number badge reactive
* fix: 🐛 correctly await for .deleteEvents()
* Drilldowns various 2 (#60103 )
* chore: 🤖 address review comments
* test: 💍 fix embeddable_panel.test.tsx tests
* chore: 🤖 clean up ActionInternal
* chore: 🤖 make isConfigValid a simple predicate
* chore: 🤖 fix TypeScript type errors
* test: 💍 stub DynamicActionManager tests (#60104 )
* Drilldowns review 1 (#60139 )
* refactor: 💡 improve generic types
* fix: 🐛 don't overwrite icon
* fix: 🐛 fix x-pack TypeScript errors
* fix: 🐛 fix TypeScript error
* fix: 🐛 correct merge
* Drilldowns various 4 (#60264 )
* feat: 🎸 hide "Create drilldown" from context menu when needed
* style: 💄 remove AnyDrilldown type
* feat: 🎸 add drilldown factory context
* chore: 🤖 remove sample drilldown
* fix: 🐛 increase spacing between action factory picker
* workaround issue with closing flyout when navigating away
Adds overlay just like other flyouts which makes this defect harder to bump in
* fix react key issue in action_wizard
* don’t open 2 flyouts
* fix action order
https://github.com/elastic/kibana/issues/60138
* Drilldowns reload stored (#60336 )
* style: 💄 don't use double equals __
* feat: 🎸 add reload$ to ActionStorage interface
* feat: 🎸 add reload$ to embeddable event storage
* feat: 🎸 add storage syncing to DynamicActionManager
* refactor: 💡 use state from DynamicActionManager in React
* fix: 🐛 add check for manager being stopped
* Drilldowns triggers (#60339 )
* feat: 🎸 make use of supportedTriggers()
* feat: 🎸 pass in context to configuration component
* feat: 🎸 augment factory context
* fix: 🐛 stop infinite re-rendering
* Drilldowns multitrigger (#60357 )
* feat: 🎸 add support for multiple triggers
* feat: 🎸 enable Drilldowns for TSVB
Although TSVB brushing event is now broken on master, KibanaApp plans to
fix it in 7.7
* "Create drilldown" flyout - design cleanup (#60309 )
* create drilldown flyout cleanup
* remove border from selectedActionFactoryContainer
* adjust callout in DrilldownHello
* update form labels
* remove unused file
* fix type error
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
* basic unit tests for flyout_create_drildown action
* Drilldowns finalize (#60371 )
* fix: 🐛 align flyout content to left side
* fix: 🐛 move context menu item number 1px lower
* fix: 🐛 move flyout back nav chevron up
* fix: 🐛 fix type check after refactor
* basic unit tests for drilldown actions
* Drilldowns finalize 2 (#60510 )
* test: 💍 fix test mock
* chore: 🤖 remove unused UiActionsService methods
* refactor: 💡 cleanup UiActionsService action registration
* fix: 🐛 add missing functionality after refactor
* test: 💍 add action factory tests
* test: 💍 add DynamicActionManager tests
* feat: 🎸 capture error if it happens during initial load
* fix: 🐛 register correctly CSV action
* feat: 🎸 don't show "OPTIONS" title on drilldown context menus
* feat: 🎸 add server-side for x-pack dashboard plugin
* feat: 🎸 disable Drilldowns for TSVB
* feat: 🎸 enable drilldowns on kibana.yml feature flag
* feat: 🎸 add feature flag comment to kibana.yml
* feat: 🎸 remove places from drilldown interface
* refactor: 💡 remove place in factory context
* chore: 🤖 remove doExecute
* remove not needed now error_configure_action component
* remove workaround for storybook
* feat: 🎸 improve DrilldownDefinition interface
* style: 💄 replace any by unknown
* chore: 🤖 remove any
* chore: 🤖 make isConfigValid return type a boolean
* refactor: 💡 move getDisplayName to factory, remove deprecated
* style: 💄 remove any
* feat: 🎸 improve ActionFactoryDefinition
* refactor: 💡 change visualize_embeddable params
* feat: 🎸 add dashboard dependency to dashboard_enhanced
* style: 💄 rename drilldown plugin life-cycle contracts
* refactor: 💡 do naming adjustments for dashboard drilldown
* fix: 🐛 fix Type error
* fix: 🐛 fix TypeScript type errors
* test: 💍 fix test after refactor
* refactor: 💡 rename context -> placeContext in React component
* chore: 🤖 remove setting from kibana.yml
* refactor: 💡 change return type of getAction as per review
* remove custom css per review
* refactor: 💡 rename drilldownCount to eventCount
* style: 💄 remove any
* refactor: 💡 change how uiActions are passed to vis embeddable
* style: 💄 remove unused import
* fix: 🐛 pass in uiActions to visualize_embeddable
* fix: 🐛 correctly register action
* fix: 🐛 fix type error
* chore: 🤖 remove unused translations
* Dynamic actions to xpack (#62647 )
* feat: 🎸 set up sample action factory provider
* feat: 🎸 create dashboard_enhanced plugin
* feat: 🎸 add EnhancedEmbeddable interface
* refactor: 💡 move DynamicActionManager to x-pack
* feat: 🎸 connect dynamic action manager to embeddable life-cycle
* test: 💍 fix Jest tests after refactor
* fix: 🐛 fix type error
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* refactor: 💡 move action factories to x-pack (#63190 )
* refactor: 💡 move action factories to x-pack
* fix: 🐛 use correct plugin embeddable deps
* test: 💍 fix Jest test after refactor
* chore: 🤖 remove kibana.yml flag (#62441 )
* Panel top right (#63466 )
* feat: 🎸 add PANEL_NOTIFICATION_TRIGGER
* feat: 🎸 add PanelNotificationsAction action
* test: 💍 add PanelNotificationsAction unit tests
* refactor: 💡 revert addTriggerAction() change
* style: 💄 remove unused import
* fix: 🐛 fix typecheck errors after merge
* support getHref in drilldowns (#63727 )
* chore: 🤖 remove ui_actions storybook config
* update docs
* fix ts
* fix: 🐛 fix broken merge
* [Drilldowns] Dashboard to dashboard drilldown (#63108 )
* partial progress on async loading / searching of dashboard titles
* feat: 🎸 make combobox full width
* filtering combobox polish
* storybook fix
* implement navigating to dashboard, seems like a type problem
* try navToApp
* filter out current dashboard
* rough draft linking to a dashboard
* remove note
* typefix
* fix navigation from dashboard to dashboard
except for back button - that would be addressed separatly
* partial progress getting filters from action data
* fix issue with getIndexPatterns undefined
we can’t import those functions as static functions, instead we have to expose them on plugin contract because they are statefull
* fix filter / time passing into url
* typefix
* dashboard to dashboard drilldown functional test and back button fix
* documentation update
* chore clean-ups
fix type
* basic unit test for dashboard drilldown
* remove test todos
decided to skip those tests because not clear how to test due to EuiCombobox is using react-virtualized and options list is not rendered in jsdom env
* remove config
* improve back button with filter comparison tweak
* dashboard filters/date option off by default
* revert change to config/kibana.yml
* remove unneeded comments
* use default time range as appropriate
* fix type, add filter icon, add text
* fix test
* change how time range is restored and improve back button for drilldowns
* resolve conflicts
* fix async compile issue
* remove redundant test
* wip
* wip
* fix
* temp skip tests
* fix
* handle missing dashboard edge case
* fix api
* refactor action filter creation utils
* updating
* updating docs
* improve
* fix storybook
* post merge fixes
* fix payload emitted in brush event
* properly export createRange action
* improve tests
* add test
* post merge fixes
* improve
* fix
* improve
* fix build
* wip getHref support
* implement getHref()
* give proper name to a story
* use sync start services
* update text
* fix types
* fix ts
* fix docs
* move clone below drilldowns (near replace)
* remove redundant comments
* refactor action filter creation utils
* updating
* updating docs
* fix payload emitted in brush event
* properly export createRange action
* some more updates
* fixing types
* ...
* inline EventData
* fix typescript in lens and update docs
* improve filters types
* docs
* merge
* @mdefazio review
* adjust actions order
* docs
* @stacey-gammon review
Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: streamich <streamich@gmail.com>
Co-authored-by: ppisljar <peter.pisljar@gmail.com>
* fix docs
* nit fixes
* chore: 🤖 remove uiActions from Embeddable dependencies
* chore: 🤖 don't export ActionInternal from ui_actions
* test: 💍 remove uiActions deps in x-pack test mocks
* chore: 🤖 cleanup ui_actions types
* docs: ✏️ add JSDoc comment to addTriggerAction()
* docs: ✏️ regenerate docs
* Drilldown demo 2 (#64300 )
* chore: 🤖 add example of Discover drilldown to sample plugin
* fix: 🐛 show drilldowns with higher "order" first
* feat: 🎸 add createStartServicesGetter() to /public kibana_util
* feat: 🎸 load index patterns in Discover drilldown
* feat: 🎸 add toggle for index pattern selection
* feat: 🎸 add spacer to separate unrelated config fields
* fix: 🐛 correctly configre setup core
* feat: 🎸 navigate to correct index pattern
* chore: 🤖 fix type check errors
* fix: 🐛 make index pattern select full width
* fix: 🐛 add getHref support
* feat: 🎸 add example plugin ability to X-Pack
* refactor: 💡 move Discover drilldown example to X-Pack
* feat: 🎸 add dashboard-to-url drilldown example
* feat: 🎸 add new tab support for URL drilldown
* feat: 🎸 add "hello world" drilldown example
* docs: ✏️ add README
* feat: 🎸 add getHref support
* chore: 🤖 cleanup after moving examples to X-Pack
* docs: ✏️ add to README.md info on how to find drilldowns
* feat: 🎸 store events in .enhancements field
* docs: ✏️ add comment to range trigger title
* refactor: 💡 move Configurable interface into kibana_utils
* chore: 🤖 simplify internal component types
* refactor: 💡 move registerDrilldwon() to advanced_ui_actions
* test: 💍 update functional test data
* merge
* docs: ✏️ make drilldown enhancement comment more general
* fix: 🐛 return public type from registerAction() call
* docs: ✏️ add comment to value click trigger title field
* docs: ✏️ improve comment
* fix: 🐛 use second argument of CollectConfigProps interface
* fix: 🐛 add workaround for Firefox rendering issue
See:
https://github.com/elastic/kibana/pull/61219/#pullrequestreview-402903330
* chore: 🤖 delete unused file
* fix: 🐛 import type from new location
* style: 💄 make generic type variable name sconsistent
* fix: 🐛 show "Create drilldown" only on dashboard
* test: 💍 add extra unit test for root embeddable type
* docs: ✏️ update generated docs
* chore: 🤖 add example warnings to sample drilldowns
* docs: ✏️ add links to example warnings
* feat: 🎸 add URL drilldown validation and https:// prefixing
* fix: 🐛 disable drilldowns for lens
* refactor: 💡 remove PlaceContext from DrilldownDefinition
* fix: 🐛 fix type check error
* feat: 🎸 show warning message if embeddable not provided
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: ppisljar <peter.pisljar@gmail.com>
2020-05-04 16:11:20 +02:00
Diana Derevyankina
a854a1dd8f
Migrate tutorial resources ( #64298 )
...
* Migrate tutorial resources
Closes #55710
* Added type to context in apm plugin index
* Removed context parameter from ApmPlugin
* Generated apm plugin by generate_plugin script
* Removed getGreeting declaration
* Remove unused assets and comment previewImagePaths
* Removed unnecessary types file
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-04 14:39:11 +03:00
Catherine Liu
f9c1033d41
[Canvas] Adds edit menu ( #64738 )
2020-04-30 14:51:24 -07:00
Catherine Liu
127b324a5f
[Canvas] Adds refresh and autoplay options to view menu ( #64375 )
2020-04-30 14:45:50 -07:00
Oliver Gupte
16ba937bae
[APM] Client new platform migration ( #64046 )
...
* migrate files from legacy path to new plugin path
* update file paths to reflect migrated files
* move minimal legacy client files back to legacy path in order to run kibana
* Completes the full cutover to the new kibana platform removing all shims and legacy adapters.
* Adds APM to ignored list for casing check.
* - moves public/utils/pickKeys.ts to common/utils/pick_keys.ts
- exposes getTraceUrl as a plugin static export of apm/public and updates import in infra
- fixes FeaturesPluginSetup import in apm/public app
- renames get_apm_index_pattern_titles -> get_apm_index_pattern_title
- getApmIndexPatternTitle is now a synchronous getter function
- removes unused comments and xpack.apm.apmForESDescription i18n translations
* Moves automatic index pattern saved object creation from
plugin start to when the Home screen first renders
* removed unnecessary legacy css imports
* fixed ci issues by:
- moving readOnly badge, and help extension setup to occure only
when apm app is mounted
- registering saved object types
- also moved createStaticIndexPattern from a react useEffect on the
APM home screen to when the app is mounted
2020-04-30 13:08:50 -07:00