* Reordering existing data and adding new ECS fields.
* Removed agent
The agent is moved its own object.
* Support 3rd level properties
* Add support for nested properties like `error.custom` and `transaction.custom`
* Bumped fontsize
* Decreased first column min-width
* Updated snapshot
* Update tests
* Fixed translation label
* Reordering existing data and adding new ECS fields.
* Removed agent
The agent is moved its own object.
* Support 3rd level properties
* Add support for nested properties like `error.custom` and `transaction.custom`
* Bumped fontsize
* Decreased first column min-width
* Updated snapshot
* Update tests
* Fixed translation label
* Decreased fontsize
On second thought, the fontsize was too large. Now matches Discover.
* [services/pipeline_list] wait for loadingPipelines is not displayed
* run x-pack-ciGroup2 x20 times
* Revert "run x-pack-ciGroup2 x20 times"
This reverts commit 1fb4077c2c.
* Minor change to stack monitoring tooltips
In the Linux documentation and source code, cgroups are always referred to without
capitalization and should be here as well.
* Update Jest snapshots
* Update more test fixtures
* [APM] fixes#18144 by setting the container min-height to the tab with the largest rendered height
* [APM] moved HeightRetainer into its own shared component module
Remove old Feedback link component (removed with K7)
Add a HelpCenterContent component
Add HelpCenterContent to Infrastructure
Add HelpCenterContent to Logs
The previous default was an empty string, but empty strings are not valid in the expression. The code ends up using "left" or "top" (depending on the axis), so defaulting to either isn't really a change.
This fixes the following valid expression:
```
demodata | pointseries x=@timestamp y="mean(price)" | plot yaxis={axisConfig max=120}
```
Previously this would fail because the `position` default is invalid unless you specified a value.
<img width="617" alt="screenshot 2019-03-01 12 11 47" src="https://user-images.githubusercontent.com/404731/53660475-33104a80-3c1b-11e9-9a4c-a93116598e28.png">
Now it works as expected:
<img width="536" alt="screenshot 2019-03-01 12 11 03" src="https://user-images.githubusercontent.com/404731/53660440-212ea780-3c1b-11e9-8f4f-7d83a1009fd0.png">
In an effort to remove the workpad renaming lag in https://github.com/elastic/kibana/issues/25070, I started hunting down and fixing re-renders that happened with the name change.
I was hoping this PR would fix the lag, but I've shifted to some other performance issues that have a much larger impact, so this is just a bunch of re-rendering fixes, which come with some performance gains. Here's the breakdown:
- `Workpad`, `WorkpadHeader`, and `FullscreenControl` would always re-render because the hotkey handler function was always re-created
- `Workpad` would re-render when the workpad's name changed
- We were passing the whole workpad object into the component, so it re-rendered on all sorts of changes
- Page title updating moved to middleware so the component doesn't need that value
- `AssetManager` would always re-render if the parent re-rendered because it always created a new state value in `mapStateToProps`
- make `Workpad` and `Toolbar` pure, they take no props and this helps stop some re-rendering
* [APM] Adjust responsive flyout sizing
The responsive values for the Transaction details need an update in order to contain more content, especially on larger screens, where the flyout just feels a little too slim.
* [APM] exterinalize ResponsiveFlyout styled component, then used it in Transaction and Span flyouts
* Refactor chart querying.
* Fix monitor chart query.
* Refactor several inline computations to helper functions. Improve schema naming.
* Move unit conversion to client, remove bare conversion values.
* Add API tests for monitor charts.
* Add test for conversion function.
* Add type annotations to latest schema additions.
* Fix typo.
* Refactor based on PR feedback, add comments asked for in PR feedback.
* Rename fields in schema, update tests. Extract monitor charts to functional component and add unit test.
* [Maps] embeddable
* fix embeddable registration
* get embeddable to render
* render map embeddable
* support filter pills on dashboard
* fix layerName error
* update getBoundsForFilters to not record bounds request in inspector
* set isReadOnly
* fix bug where different states are sharing same inspectorAdapters instance
* populate indexPatterns so container has index patterns for type ahead and filter bar
* pass refreshConfig from container to map store
* add functional test verifying index patterns passed to container
* remove data.json files commited by mistake
* add functional test ensuring inspector adaptors are not shared between embeddables
* add functional tests for filters getting passed to embeddable
* remove embeddable dashboard from web logs sample data saved objects
* add slash to edit path
* fix typo
* pass previous query state on reload, add functional tests to verify reload and refresh timer
* remove unnecessary check in getFilters
* review feedback from thomasneirynck
* fix resize bug
* remove animationFrame from resize callback
We have had `insert_final_newline = true` in our `.editorconfig` file since April 2015, but never validated it with eslint. I'm a little tired of extra changes showing up in PRs because some people use editors which respect the `.editorconfig` file and some don't, so I figured we might want to enable the rule in eslint so that the can be autofixed.
Votes requested please :)
* [APM] fix inconsistencies in ESC type migrations
* [APM] audit ESC schema types and removed unused fields
* [APM] removed unused line property type from IStackFrameBase
* bump typescript version to 3.3.3333
* fix tests after updating TS version
* suppress type errors until they fixed appropriately
* address comments
* add type def for UnconnectedKibanaLink
* remove fix @ts-ignore
* fix snapshot test. provide displayName
* udpate jest, jest-cli, @types/jest to v24
* fix type error in kibana-i18n package
* return serivce explicitly to fix typings
* add explicit never
* suppress typings errors
* update jest versions in x-pack
* make tests in x-pack more robust and fix incompatibility
* suppress CallCluster mock typings
Mock interface doesn't match CallCluster. Requires
additional work
* x-pack. resolve other typing conflicts
* remove unused types/jest
* fix snapshots
* restore mocks after jest.spyOn
* remove outdated definitions for jest
* cleanup x-pack package.json and update @types/jest
* fix tests merged from master
* updated yarn.lock and log errors for scripts/type_check
* This commit fixes error in TS, which failed on parsing the file.
* suppress type errors from master
* jest-cli is devDep
Closes https://github.com/elastic/kibana/issues/32161
All the elements are loaded in the router, so loading the from the component just duplicates the work.
This is actually left-over code from before we had a router. Apparently I missed this lifecycle when adding the router, so it's been an issue in Canvas for quite some time now.
### Stats
Workpad | Previous load time | PR load time
-- | -- | --
Elastic{ON} Tour Dallas: Canvas v3 | 10 seconds | 7 seconds
Kibana Canvas - Your data, your way. | 32 seconds | 18 seconds
*Time from when the Canvas loading indicator goes away and the workpad app renders to when the loading indicator stops spinning*
* fix client validation for rollup index name
* remove wrapper object in constants file
* move support for "*" illegal character to common constants file
Fixes a regression introduced in #31692. The table interval selection wasn't properly restored from `AppState` because of a mismatch in the expected object structure.
* [APM] closes#18114 by trunctating db statements in span flyout by default but allowing toggle between preview and full content.
* Made component more tolerant of changes in props/children by checking for clipping on each update
* [APM] simplify component by enforcing the prop previewHeight is a number and use it for calculation
* Fix hardcoded plugin name and license modes in common license checker
* Fix licensePreRoutingFactory scope issues
* PR feedback adjustments
* Use minimum license string instead of array of valid license
* Pass plugin name instead of ID for UX
* Return license status instead of `showLinks` and other flags
* Adjust factory closure for readability
* Fix test
* Additional PR feedback:
* Move license status constants to `/common`
* Internationalize plugin names that are passed to check license, and its error messages
* Remove `isAvailable` flag, change pre-routing logic to use `LICENSE_STATUS.VALID` instead
* Change constant `INACTIVE` to `EXPIRED`
* Convert check license test from mocha to jest
* Fix test
* fixing issues with maximum documents and maximum size being set
* removing defaults from ES policy load and removing unneeded propTypes
* fixing react warnings about controlled -> uncontrolled
* fixing tests
* more fixes for react controlled -> uncontrolled errors
* better fix for react warnings through empty default phases
* removing unused translation
* removing unnecessary async/awaits in onChange handlers
* Added a feature of rollup search on the UI side
Signed-off-by: Alexey Antonov <alexwizp@gmail.com>
* Rollup Feature - initial commit
* Revert "Added a feature of rollup search on the UI side"
This reverts commit 9568b0970b16f5102f50b748bb4d691a8612c2c2.
# Conflicts:
# src/legacy/core_plugins/metrics/public/components/index_pattern.js
* Remove the 'label' property from the search strategies
* Changed search by strategy from the last
* add single search request
* rollup_search_strategy add base implementation of isViable method
* rollup_search_strategy add base implementation of isViable method -fix
* Changed requests due to search request type
* refactoring of import Base classes / remove '../../../../../../
* remove extra await
* rollup_search_strategy. Refactoring of isRollupJobExists method
* remove question
* Add support of annotations and table data
* skeleton for adding Search Strategy restrictions
* Add rollup search capabilities
* apply search strategy for annotations request
* set fields capabilities for rollup strategy
* add timezone, interval into SearchCapabilities
* Add fields from capabilities
* add timezone, interval into SearchCapabilities
* fix default timezone
* Merging of two Rollup Jobs was removed
* move getFieldsForWildcard to searchStrategy
* Fix TSVB search requests should have a timeout
# Conflicts:
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_annotations.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/get_request_params.js
* Add unit test
* apply getEsShardTimeout for annorations/get_request_params, series/get_request_params
* rename metrics -> tsvb
* search_strategies_register refactoring: move 'add' method from class
* Add merge rollup capabilities with fields
* Add merge rollup capabilities with fields - small fixes
* Add support of 'Everything' aggregation for Rollup Search
* Return back metrics plugin
* remove 'metrics' from the X-pack\rollup require
* Fix test cases
* fix broken test: fail: "apis InfraOps GraphQL Endpoints metrics should basically work"
* rollup search - split by terms is not working
* Add count metric
* /get_bucket_size.js. Add support of 'auto' interval, Add support of gte intervals e.g.: >=1m
* fix build_request_body test
* [Rollup] [Phase 1] Error handling - rollup search errors should be more user friendly
* [Rollup] [Phase 1] Table View - research the query to ES - sorting is not wokring
* Merge #26006 into rollup
# Conflicts:
# src/legacy/core_plugins/metrics/server/lib/vis_data/annorations/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_annotations.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_series_data.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/get_table_data.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/request_processors/annotations/query.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/__tests__/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/build_request_body.js
# src/legacy/core_plugins/metrics/server/lib/vis_data/series/get_request_params.js
* Add table view support
* fix broken build
* fix broken build
* [Rollup] [Phase 1] - write new tests (rollup_search_request, rollup_search_strategy)
* [Rollup] [Phase 1] - write tests for rollup_search_capabilities
* Add test on default_search_capabilities, abstract_search_strategy, search_strategies_register
* Add test cases for search_requests folder
* [Rollup] [Phase 1] - write tests for rollup_search_strategy
* FIx broken build
* remove todo
* fix calculation of interval value for rollup search
* add unit tests
* Remove default exports
* fix PR comments
* fix calendar intervals
* Added check to reset filters in 'setExpression'
* Removed filter reset from filter renderers' onDestroy handler
* Cleaned up setExpression
* Added TODO