Josh Dover
306a5fe55e
Use brotli compression for some KP assets ( #64367 )
2020-05-04 10:53:06 -06:00
Chris Cowan
c2f2a79acb
[Metrics UI] Refactor With* containers to hooks ( #59503 )
...
* [Metrics UI] Refactor containers to hooks
* clean up depends; move useInterval out of useWaffleTime;
* converting WithWaffleFilters to useWaffleFilters
* Removing WithWaffleOptions
* Refactor WithWaffleViewState to useWaffleViewState
* Removing obsolete files
* Fixing race condition with complext state
* Adding undefined to RisonValue; unwinding changes trying to work around bad type
* Switching to context
* Change assertion to ignore the length of the current URL
* Fixing test frameork to accept urls longer then 230 characters
* Fixes #59395 ; Refactor WithMetricsTime to hook; Fixes brushing on metric detail page; fixes refresh button on metric detail page
* Fixing tests with adding timeRange
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-14 09:01:41 -07:00
Ahmad Bamieh
e16885c3ad
[Telemetry] update crypto packages ( #62469 )
...
* update crypto packages
* as type for return value
* get default export
* add if checks
* wrap errors in i18n
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-07 00:36:15 +03:00
Mike Côté
7d97ead26e
Adding PagerDuty icon to connectors cards ( #60805 )
...
* adding PagerDuty icon to connectors cards
* Fix jest
* remove unnecessary global typings from canvas and sync global typings in xpack with oss
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 13:41:00 -04:00
Chandler Prall
0bf62cbf3e
Upgrade EUI to 21.0.1 ( #60282 )
...
* update to eui 21.0.1
* most changes needed for search bar ts changes
* Passing types
* snapshots
* jest tests
* Removed IQuery placeholder types
* Updated functional test to only look at table headers with content
* Moved 'filters' definition around in api docs
* Update types
* update snapshot
* typo
* Move DATA_FRAME_TASK_STATE enum to its own file to fix x-pack functional test config imports
* merge public api 'changes'
Co-authored-by: patrykkopycinski <patryk.kopycinski@elastic.co>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
2020-03-20 14:07:04 -06:00
Alexey Antonov
9d00427aef
Downgrade to query-string v5.1.1 ( #59633 )
...
* Downgrade to query-string v5.1.1
* update lib version for x-pack
* fix JEST
* fix functional tests
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-13 17:27:09 +03:00
Chandler Prall
096dda6f34
Upgrade EUI to v20.0.2 ( #59199 )
...
* Updated EUI to 20.0.1; updated typescript usage
* snapshots
* Upgrade to eui 20.0.2, fix one more type
* PR feedback
* Update EUI icon usage to the correct types
* Updated with master
2020-03-05 12:27:52 -07:00
Spencer
bb6fd0bf4f
[kbn/optimizer] fix ui/* url rewrites in dist ( #58627 )
...
* [kbn/optimizer] fix ui/* url rewrites in dist
* add tests to verify styles are built correctly and ui-rewrites are happening
* clarify change to dirs creation
* create tested & shared parsePath helper
* update renovate config
* split implementation of parsePath for dir and file paths
* switch to valid css property
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-02 15:15:44 -07:00
Greg Thompson
0abfd3c72f
Upgrade EUI to v19.0.0 ( #57284 )
...
* eui to v19.0.0
* typescript updates; idAria removal
* src snapshot updates
* mock euicode and euicodeblock for jest
* x-pack snapshot updates
* mock euicode for jest
* more euicode snapshots
* mock euicode in storyshots
* types/enzyme yarn.lock
* sidenav type update
2020-02-14 13:06:31 -06:00
Anton Dosov
a7a557babe
[State Management] State syncing utilities ( #53582 )
...
Today, apps rely on AppState and GlobalState in the ui/state_management module to deal with internal (app) and shared (global) state. These classes give apps an ability to read/write state, when is then synced to the URL as well as sessionStorage. They also react to changes in the URL and automatically update state & emit events when changes occur.
This PR introduces new state synching utilities, which together with state containers src/plugins/kibana_utils/public/state_containers will be a replacement for AppState and GlobalState in New Platform.
2020-01-10 17:14:33 +03:00
Chandler Prall
068f3ffa2c
Upgrade to EUI@17.1.2 [table typescript types] ( #52688 )
...
* more types
* table types changes
* siem table conversions
* Updated rest of x-pack for EUI table typees
* updated x-pack changes against master
* Update to published eui 17.1.0
* kibana snapshots
* x-pack snapshots
* src snapshots
* autofixes
* autofixes, round 2
2019-12-18 11:15:14 -07:00
Anton Dosov
217608d11e
[State Management] Typescripify, jestify, simplify state_hashing and state_storage ( #51835 )
...
The hashUrl and unhashUrl functions no longer rely on states being provided as an argument, therefore getUnhashableStates/getUnhashableStatesProvider have been removed.
2019-12-04 12:36:03 +01:00
patrykkopycinski
989489ebf3
Update deprecated React.SFC and React.StatelessComponent types ( #50852 )
2019-11-21 20:53:54 +01:00
Ahmad Bamieh
a42a767285
[Telemetry] Move to OSS ( #45769 )
...
* update paths and licenses
* localization collector in oss
* node-crypto typings in oss
* update telemetry i18n labels
* update translation rc files
* remove duplicate components in home for telemetry
* update tests
* finalize collection + move csp collector to oss
* self review
* use apm instead of beats
* xpack collection
* fix collection tests
* remove space specific settings
* mock npSetup and npStart
* disable banner in tests
* remove commented mock
* monitoring np telemetry fixes
* replace telemetryOptedIn in oss instead of xpack_main
* fix telemetry OptIn test
2019-10-16 10:24:20 +03:00
Greg Thompson
6f09ecc0d9
Upgrade EUI to 14.4.0 ( #46949 )
...
* eui to 14.4.0
* euicard ts updates
* snaps
2019-10-02 11:58:22 -05:00
Sébastien Loix
bae7f4727c
[Form Helpers + Template UI] Refactor Template UI using Form lib + helpers ( #45287 )
2019-09-20 15:35:30 +02:00
Greg Thompson
bec1fa63ab
Upgrade EUI to 13.8.1 ( #45052 )
...
* eui to 13.8.0
* euibutton ts updates
* euicontextmenupanel ts updates
* misc ts updates
* src snapshot updates
* x-pack snapshot updates
* 13.8.1
2019-09-11 10:03:02 -05:00
Josh Dover
eb03fd8c5f
[new-platform] Add legacy
property to NavLinks registered by… ( #41301 )
2019-07-29 17:51:45 -05:00
Spencer
a95ae8c037
[prettier] upgrade to 1.18.2 ( #40229 )
...
* [prettier] upgrade to 1.18.2
* autofix prettier violations
2019-07-03 12:36:44 -07:00
Rudolf Meijering
da09a11858
Mocks for CoreStart, CoreSetup and PluginInitializerContext ( #39351 )
...
* Mocks for CoreStart, CoreSetup and PluginInitializerContext
* Public CoreStart, CoreSetup mocks
* Update api signature/docs
* Convert embaddable_api tests to new core mocks
* CR Feedback
* Introduce ui_new_platform.test.mocks and refactor embedabble tests
* Hack to get TS warnings for Core mocks
* Core mocks types cleanup & hack to get TS warnings for Server Core mocks
* Use __mocks__ new_platform
* Remove accidently commited auto-mock
* Introduce MockedKeys type for Core mocks
* Better typing/docs for UiSettings
* Revert "Use __mocks__ new_platform"
This reverts commit 2d666facc8
.
* Add missing mock to test
* Cleanup UiSettings types
2019-06-28 13:34:41 +02:00
Greg Thompson
c59875573e
Upgrade EUI to 12.1.0 ( #39601 )
...
* eui@12.1.0
* jest regenerator-runtime babel-polyfill
* TS Toast -> EuiGlobalToastListToast
* EuiBadge
* EuiCopy
* snapshot updates
* simplify toast interface usage
* misc review cleanup
* remove eui core-js resolution
2019-06-26 11:00:27 -05:00
Tiago Costa
ed795d28ee
Migrate from tslint ( #33826 )
...
* chore(NA): remove tslint dependencies, configs and enable eslint typescript parser.
* fix(NA): apply recommend eslint typescript rule.s
* chore(NA): upgrade eslint package versions.
* chore(NA): split javascript eslint config in an override section.
* chore(NA): split all eslint configs with overrides.
* chore(NA): remove missing console.log.
* chore(NA): change eslint splits and overrides order.
* chore(NA): replace tslint disable comments with eslint ones.
* chore(NA): solve eslint typescript errors for elastic/kibana-custom/no-default-export
* chore(NA): fixed multiple eslint typescript rule failures.
* chore(NA): add tarfet folder to the eslint ignore.
* chore(NA): apply prettier rule to ts type file.
* chore(NA): remove last mentions to tslint
* chore(NA): add old defined rules
* chore(NA): missing port rules website
* chore(na): ordered rules
* chore(NA): solved eslint typescript problems.
* chore(NA): fix spaced comment problems.
* chore(NA): fix some more eslint typescript rules: import/order no-empty-interface
* chore(NA): fix last rules and comment out what are the ones still failing.
* chore(NA): comment out camelcase rule.
* chore(NA): regenerate kbn pm dist.
* chore(NA): updated snapshots.
* chore(NA): updated snapshots.
* chore(NA): disabled sort-keys rule.
* chore(NA): remove rule prefer-arrow/prefer-arrow-functions.
* chore(NA): fix for @typescript-eslint/no-var-requires rule.
* chore(NA): fixes for @typescript-eslint/camelcase rule.
* chore(NA): fix typo on eslint config kibana typescript.
Co-Authored-By: mistic <tiagoffcc@hotmail.com>
* chore(NA): remove legacy note after the intellij upgrade to 2019.1
* fix(NA): import order plugin.
* chore(NA): fix ts ignore positions after auto fix.
* fix(NA): performance issue with typescript eslint.
* refact(NA): eslint configs organization.
* chore(NA): apply resticted paths to ts files too.
* chore(NA): split comment from eslint ignore.
2019-04-05 17:45:23 +01:00
Jason Rhodes
721161f3d1
Upgrades EUI to 9.5 ( #33672 )
...
* Updates EUI to 9.5.0
* Remove duplicate type
* Updates snapshots and fixes a few type errors
* Updates x-pack snapshots
2019-03-22 10:28:37 -04:00
Mikhail Shustov
03afe53752
Add client side service mocks ( #32999 )
...
* Add client side service mocks
* remove ab obsolete test snapshot
* put back accidentally removed type definition
* define MethodKeysOf, PublicMethodsOf on project level
* export src/core/public service mocks
* export src/core/server service mocks
2019-03-18 16:11:15 +01:00
Mike Côté
0f9779e842
Convert mappings to TypeScript ( #32842 )
...
* Convert mappings to TypeScript
* Use any for FieldMapping
* Revert "Use any for FieldMapping"
This reverts commit 2042601f42
.
* Use union type for FieldMapping
* Wrap toPath inside module declaration
2019-03-13 10:41:43 -04:00
Joe Reuter
f935c14dc8
Use embeddable registry in add panel ( #31400 )
...
* Prepare control flow to use embeddable factories in add panel
* Rewrite saved object finder and add tests
* Fix usages of new saved object finder
* fix test failures
* fix some functional tests and re-introduce makeUrl
* fix tests
* remove direct hrefs in saved_object_lists
* PR review fixes
* update snapshot
* overwrite width of viz dialog
* Update src/legacy/core_plugins/kibana/public/dashboard/top_nav/add_panel.js
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/discover/embeddable/search_embeddable_factory.ts
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/discover/top_nav/open_search_panel.js
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/visualize/wizard/search_selection/search_selection.tsx
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/visualize/wizard/search_selection/search_selection.tsx
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/visualize/wizard/search_selection/search_selection.tsx
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* fix tests
* review fixes #1
* review fixes #2
* dont use classname in functional test
* remove call to action button prop
* align buttons correctly
* fix tests
* remove debugging statement
* Update src/legacy/core_plugins/kibana/public/dashboard/top_nav/add_panel.js
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* Update src/legacy/core_plugins/kibana/public/discover/top_nav/open_search_panel.js
Co-Authored-By: flash1293 <email@johannes-reuter.de>
* review fixes #3
* improve filter behavior and enable it for search wizard
* adjust functional tests for new filter behavior
* Change translation id due to string change
* Update Jest snapshot
2019-03-11 12:27:13 +01:00
Joe Reuter
c6ba32d3b4
Add typings for saved_object_finder ( #30067 )
2019-02-11 09:38:29 +01:00
Matthew Kime
b491d8790a
Management: EUI Navigation sidebar ( #25905 )
...
* partial work - sidebar works, need to address rendering issues
* rendering fixes
* refactor sidenav into its own file
* refactor sidenav into its own file
* remove unneeded changes
* remove unneeded formatting changes
* remove unneeded formatting changes
* remove unneeded formatting changes
* remove unneeded formatting changes
* remove more unneeded EuiPage
* remove more unneeded EuiPage
* snap snap
* remove unused dependencies
* functional tests
* sidebar tweaks, beats-cm
* lint
* properly sharing UI code
* fix eui export
* type fixes
* add test
* add test
* testy test
* partial progress
* attmpt to fix functional test
* from merge
* snap snap
* clean up management for side nav changes
* functional test fix
* snap, blank landing
* snap snap
* change management item order
* test fix
* disable tslint line
* ts fix
* functional test fix
* functional test fixes
* fix functional test
* minor cleanup
* simplify management registry callback
* remove comment
* react island with kibana version
* merge
* fix scss reference
* fix types
* remove mistaken commit
* remove k7 switch
* snapshot update
* fix sidebar nav headers
* landing page copy
* remove dummy text
* merge
* i18n and revert unneeded change
* Update edit_role_page.tsx
* i18n
* i18n
* snap snap
* better text
* snap snap
* mergi
* pop open nav on mobile
* add management section tests
* NOTICE
* fix subhead text, add padding to bottom of management nav
* Update sidebar_nav.tsx
* merge merge
* fix sass lint
2019-01-03 17:09:42 -06:00
Justin Kambic
2d8e7a146b
[Uptime Monitoring] Add uptime monitoring ( #27552 )
...
* Add Uptime Monitoring (#25480 )
* Initial commit.
* Add heartbeat app to Kibana.
* Add routing architecture.
* Add graphQL endpoint.
* Rename app to be 'uptime monitoring' instead of 'heartbeat'.
* Add server tests.
* Standardize interface/class/route naming.
* Clean up GraphQL type inference script.
* Update gql schema.
* Rename classes/interfaces. Add tests for ES ping adapter.
* Rename more symbols.
* Improve angular lifecycle management.
* Move angular lifecycle management code to framework adapter.
* [Uptime Monitoring] Add user auth checks (#26070 )
* Add Uptime Monitoring (#25480 )
* Add authentication checks and tests. WIP.
* Add auth adapter types. Finish work on adapter and update tests.
* Add route errors. Rename license symbols.
* [Uptime Monitoring] Add Overview and Monitor pages (#27279 )
* Add Uptime Monitoring (#25480 )
* Initial commit.
* Add heartbeat app to Kibana.
* Add routing architecture.
* Add graphQL endpoint.
* Rename app to be 'uptime monitoring' instead of 'heartbeat'.
* Add server tests.
* Standardize interface/class/route naming.
* Clean up GraphQL type inference script.
* Update gql schema.
* Rename classes/interfaces. Add tests for ES ping adapter.
* Rename more symbols.
* Improve angular lifecycle management.
* Move angular lifecycle management code to framework adapter.
* [Uptime Monitoring] Add user auth checks (#26070 )
* Add Uptime Monitoring (#25480 )
* Add authentication checks and tests. WIP.
* Add auth adapter types. Finish work on adapter and update tests.
* Add route errors. Rename license symbols.
* Add GQL query components.
* Remove reference to dedicated histogram resolver.
* Update formatting of displayed dates and columns for monitor statuses.
* Add UI import for framework adapter.
* Add Uptime Monitoring (#25480 )
* Initial commit.
* Add heartbeat app to Kibana.
* Add routing architecture.
* Add graphQL endpoint.
* Rename app to be 'uptime monitoring' instead of 'heartbeat'.
* Add server tests.
* Standardize interface/class/route naming.
* Clean up GraphQL type inference script.
* Update gql schema.
* Rename classes/interfaces. Add tests for ES ping adapter.
* Rename more symbols.
* Improve angular lifecycle management.
* Move angular lifecycle management code to framework adapter.
* [Uptime Monitoring] Add user auth checks (#26070 )
* Add Uptime Monitoring (#25480 )
* Add authentication checks and tests. WIP.
* Add auth adapter types. Finish work on adapter and update tests.
* Add route errors. Rename license symbols.
* Add React Router and some basic breadcrumbs.
* Update application flow to subscribe to use K7 if available.
* Rename a type.
* Update to work with K7.
* Update breadcrumb module to export functions per uptime page.
* Add explicit type to object.
* HTML-encode a symbol.
* Extract router basename to prop/constant.
* Add autorefresh control and state variables.
* Support passing monitor ID to route.
* Mock up some charts in the Monitor page.
* Add spacer.
* Enlarge spacer.
* Add ID to sample link.
* Replace div with fragment.
* Remove unused text.
* Add GQL components/resolvers/queries for PingList and MonitorSelect.
* Add MonitorStatusBar GQL component, update GQL schema + resolver.
* Add GQL support for Monitor charts.
* Add auto-polling for Monitor Page components.
* Fix routing bug.
* Remove outdated code.
* Add beaker icon.
* Add snapshot component to Overview page.
* Update snapshot histogram to display monitors up/down. Update types.
* Update typings for adapters/libs.
* Move monitor list to Overview page. Update formatting of snapshot component.
* Include link from monitor table to monitor page.
* Add help link to app header.
* Remove unneeded title from Overview page.
* Update the data shown in checks list.
* Put limit on check query size.
* Remove obsolete code.
* Add filtering to Overview page.
* Add Monitor List component.
* Add filtering capabilities to errors list.
* Add pagination, sorting, and status code to errors list.
* Add Uptime Monitoring (#25480 )
* Initial commit.
* Add heartbeat app to Kibana.
* Add routing architecture.
* Add graphQL endpoint.
* Rename app to be 'uptime monitoring' instead of 'heartbeat'.
* Add server tests.
* Standardize interface/class/route naming.
* Clean up GraphQL type inference script.
* Update gql schema.
* Rename classes/interfaces. Add tests for ES ping adapter.
* Rename more symbols.
* Improve angular lifecycle management.
* Move angular lifecycle management code to framework adapter.
* [Uptime Monitoring] Add user auth checks (#26070 )
* Add Uptime Monitoring (#25480 )
* Add authentication checks and tests. WIP.
* Add auth adapter types. Finish work on adapter and update tests.
* Add route errors. Rename license symbols.
* Fix broken test.
* Add more tests for pings ES adapter.
* Remove obsolete code.
* Track autorefresh state in localStorage.
* Shrink top visualizations.
* Fix typings in monitor charts component.
* Fix typings in monitor status bar.
* Fix typings in monitor select component.
* Fix typings for monitor memory adapter.
* Update error list column ordering. Fix broken API test.
* Clean up names.
* Refactor snapshot histogram into dedicated component, make histogram data nullable.
* Add API test.
* Add Uptime Monitoring (#25480 )
* Initial commit.
* Add heartbeat app to Kibana.
* Add routing architecture.
* Add graphQL endpoint.
* Rename app to be 'uptime monitoring' instead of 'heartbeat'.
* Add server tests.
* Standardize interface/class/route naming.
* Clean up GraphQL type inference script.
* Update gql schema.
* Rename classes/interfaces. Add tests for ES ping adapter.
* Rename more symbols.
* Improve angular lifecycle management.
* Move angular lifecycle management code to framework adapter.
* [Uptime Monitoring] Add user auth checks (#26070 )
* Add Uptime Monitoring (#25480 )
* Add authentication checks and tests. WIP.
* Add auth adapter types. Finish work on adapter and update tests.
* Add route errors. Rename license symbols.
* Add test for ES pings adapter.
* Add empty prompt when no index found.
* Place limits on filtering capabilities.
* Update plugin order.
* Add date picker.
* Fix bug setting date range. Update chart color.
* Downgrade apollo cache package to avoid bumping other clients.
* Extract reference to chrome API from app startup to kibana adapter.
* Update framework_adapter_types.ts
Remove unneeded comment via GitHub web UI.
* Extract data formatting function to dedicated file to improve modularity.
* Add a TODO.
* Add TODO for moving formatting code to server.
* Switch to use auto_date_histogram agg.
* Add filter schema.
* Add pagination and sorting to Monitor List component.
* Add latest timestamp to errors list.
* Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh.
* Delete console.log call from code.
2019-01-03 12:17:21 -05:00
Stacey Gammon
f3545f3b11
Typescript search embeddable ( #26863 )
...
* typescript search embeddable
* Add a comment
2018-12-12 12:56:03 -05:00
dave.snider@gmail.com
ee3b22dc85
Update to EUI 5.3.0 ( #26485 )
...
* update to EUI 5.3.0
2018-12-03 14:14:12 -08:00
Tiago Costa
95be890860
fix(NA): add normalizePath in order to fix watch optimizer when running on windows. ( #26486 )
2018-12-03 11:35:36 +00:00
Sébastien Loix
3717ff89f0
[Typescript]: Move elastic/eui typings to single file
...
* [Typescript]: Move elastic/eui typings to single file
* [Typescript]: Add typings folder to copyTask when building distributable
2018-11-23 16:36:12 +01:00