Commit graph

3749 commits

Author SHA1 Message Date
Liza Katz 2ac205824a
DevTools - partially de-angularize and move custom views out of top_nav (#39341)
* Sense settings modal

* Deleted comments

* DevTools help flyout

* Settings UI improvements

* Improve file naming

* Rename helpShowPanel

* Added TS to help

* React welcome flyout + removed it from top nav

* Move history tool outside of top nav
Improve it's behavior - now it will update when open, when a query is run.

* ts fix

* Code review fixes

* Code review fixes

* Fixed translations

* Code review changes - autoclose panels

* deleted unused useEffect

* fix z-order of components

* type check fixes

* Final code review fixes
2019-06-26 19:39:55 +03:00
James Gowdy 4f28b25daf
[ML] Moving privileges checks to server (#39585)
* [ML] Moving privileges checks to server

* removing unused include

* adding tests

* adding general kibana type

* adding coments and extra test

* fixing type issue
2019-06-26 17:33:51 +01:00
Aaron Caldwell 3e48e62a47
Use jsts version 1.6.x for IE 11 Compat (#39633)
* Use jsts es5 compat output package for ie compat

* yarn.lock file updates
2019-06-26 10:21:42 -06:00
Ahmad Bamieh db1e51588d
[core] Update .kibana-plugin-helpers.json (#39677) 2019-06-26 19:19:20 +03: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
Nathan Reese 51ae0f45af
[Maps] add Where clause to terms joins (#39593)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 09:56:23 -06:00
Walter Rafelsberger cbe91c29fe
[ML] Data frames: Advanced editor (#39659)
Adds an advanced editor to the data frame transform pivot wizard to allow adding custom group_by and aggregation configurations not supported natively by the UI.
The regular UI and the advanced editor stay in sync. Aggregations not editable by the UI display the configuration instead of an editable form. The aggregation name can still be edited.
2019-06-26 17:18:05 +02:00
Mike Côté e522e757ba
Create REST API to fire actions (#39463)
* Create REST API to fire actions

* Add more tests to the fire API

* Remove dead file reference

* Fix broken tests

* Fix broken test

* Update docs

* Apply PR feedback
2019-06-26 11:13:50 -04:00
Yulong 8d1ef15802
[Code] adjust oom score for spawned language server process (#39499) 2019-06-26 18:36:00 +08:00
Dario Gieselaar 1483a6eeef
[APM] Sanitize duration display issues w/ hidden root traces (#39207)
* [APM] Sanitize duration display issues w/ hidden root traces

Closes #35152.

This change make sure that if the parent transaction is not visible, and the top most visible transaction is async and longer than its parent:

- duration of trace is displayed as > 100% with a tooltip explaining _why_ this happens
- the x-axis highlight will use the duration of the topmost visible transaction rather than the parent

* Give trace label explanation a unique id

* Update tooltip label according to feedback

* Update x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx

Co-Authored-By: Casper Hübertz <casper@formgeist.com>
2019-06-26 12:33:19 +02:00
Ahmad Bamieh 8c8ef33d36
[i18n] move translations into NP plugin (#39177)
* new platform xpack plugin

* update env snapshot

* update all snapshots

* plugin service tests

* fix scripts/check_ts_projects.js

* update i18nrc

* run i18n_check
2019-06-26 11:29:11 +03:00
David Roberts a63c35bde1
[ML] Don't quote numbers when importing CSV in file data viz (#39579)
Invokes Papa Parse's dynamic type functionality for CSV columns
where the ES mapping determined by ES's find_file_structure
endpoint was boolean or numeric. This results in JSON documents
that don't unncessarily quote true/false and numbers.

Fixes #39242
2019-06-26 09:07:39 +01:00
Fuyao Zhao a555e676eb
[Code]: re-enable all certificate checks (#39634) 2019-06-25 23:00:38 -07:00
Spencer bb54c6fc95
[esArchiver/load] check for kibana plugins early (#39481)
* [esArchiver] fetch kibana plugin ids before mucking with .kibana

* only clean when x-pack in use

* continue to limit clean to once per archive

* actually delete kibana index if using a pre-7 mapping

* when loading into a cleaned index, reroute docs to .kibana

* continue adding default space when building index from scratch

* only delete kibana indices when using pre K7 mappings

* cleaning kibana index on load doesn't work unless we force all archives to use current mapping

* move once- helper out of index handler

* continue casting to a boolean

* only create default space after migrations are complete
2019-06-25 21:35:46 -07:00
Yulong 00fc13e583
[Code] use a lang header for file lang type instead of content-type (#39556) 2019-06-26 09:15:37 +08:00
WangQianliang 26d7e9b9be
fix(code/frontend): reference panel breaks layout (#39516) 2019-06-26 09:06:23 +08:00
igoristic 90a3ba41cd
Issue 5429: Added a shortcut to ML jobs (#39147)
* Added a shortcut to ML jobs

* Changed the link to monitoring ML jobs

* Removed whitespace
2019-06-25 19:40:31 -04:00
Patrick Mueller 9ac21391f3
Adds a slack action to the x-pack actions plugin (#39221) 2019-06-25 17:10:28 -04:00
Justin Kambic 4afed1af4b
[Uptime] [Bug] Add error callout for uptime filter bar (#38140)
* Add error callout for uptime filter bar.

* Update KQL query persistence logic.

* Update test snapshot and add new test.

* Rename test, update snapshot.

* Replace bare i18n translation with FormattedMessage component.

* Remove obsolete try...catch block.

* Remove empty whitespace query processing.

* Update out-of-date test snapshot.
2019-06-25 17:03:14 -04:00
Catherine Liu 57869c64df
[Canvas] Feat: Zoom In/Out (#38832)
* Added zoomScale to transient state

* Added scaling to workpad

* Fixed transform origin

* Fixed mouse coordinate calculation

* Unscaled BorderResizeHandle and RotationHandle

* Added keyboard shortcuts

* Fixed keyboard shortcuts reference

* Updated tests for getPrettyShortcut

* Added tooltip shortcuts

* Added preventDefault to workpad shortcuts

* define interface sections

* Refactor key handler

* Added zoom context menu

* Updated zoom levels

* Fixed ts errors and tests

* Simplified mouse coordinate calculation

* Moved new files to x-pack/legacy/plugins/canvas

* Added TODOs to change icons
2019-06-25 13:14:59 -07:00
Nathan Reese a323753b5c
[Maps] documents source - top hits - support script fields (#39371) 2019-06-25 13:48:02 -06:00
igoristic 4135823498
Removed dead code (#39545)
* Removed dead code

* Added missing translation
2019-06-25 15:18:38 -04:00
Thomas Neirynck b57f808cdb
[Maps] make EMS tooltips configurable (#34325)
- users can now select which fields to use in EMS tooltips
- extracts tooltip-selection to its own component
- use human readable names for field names of EMS fields instead of the id when they are displayed in combo-box and tooltip
2019-06-25 14:53:54 -04:00
Robert Oskamp 82d83ee5f5
[ML] Add basic navigation tests for ML pages to functional UI tests (#39525)
This PR adds functional UI tests to navigate through the machine learning pages
with some basic verification for existing elements.
2019-06-25 20:06:05 +02:00
Clint Andrew Hall 1d09f5a067
Fix PDF generation in Canvas (#39418) 2019-06-25 12:34:42 -05:00
Chris Cowan 16ae71d63b [Infra UI] Fix Metrics Explorer UI and Server Exceptions introduced from PR's (#39368)
* Fixing exceptions thrown by missing data and missing basePath

* Moving dateFormatter to use useMemo instead of useCallback

* Improve no-data handling

* Adding tests for no-data scenerio

* Return empty series when TSVB returns an empty response; update tests

* Removes unnecessary early return

* Fixes spaces regression by removing custom space detection
2019-06-25 13:02:44 -04:00
Catherine Liu fd32269c9a
[Canvas] Feat: Keyboard shortcuts for nudging elements (#39208)
* Added nudge shortcuts

* Cleaned up props

* Updated storyshot

* Changed offset back to 10

* Updated keyboard shortcuts storyshot
2019-06-25 09:28:54 -07:00
spalger 880ae53181 Revert "disable flaky test (#36478) (#39574)"
This reverts commit da6662c64b.
2019-06-25 09:24:08 -07:00
spalger da6662c64b disable flaky tests (#36478) (#39574) 2019-06-25 09:07:09 -07:00
Jen Huang 0b7f0c5336
Adjust endpoints for ES 8.0 API changes (#39533) 2019-06-25 08:02:41 -07:00
Dario Gieselaar eae04f63df
[APM] Context-aware query examples for the query bar (#38915)
* [APM] Context-aware query examples for the query bar

We now adjust the query example based on whether the user is viewing transactions, errors or metrics.

* Change query example for transactions

* Address review feedback

* Fix ts issues in unit tests

* Use enum for route names, clarify queryExample w/ comment
2019-06-25 13:20:13 +02:00
Dario Gieselaar 650550c2ba
[APM] Change labels of user agent (#39337)
* [APM] Change labels of user agent

* Make everything but .name optional in TransactionRaw

* Fall back to os.name if os.full is undefined
2019-06-25 12:38:35 +02:00
Peter Pisljar 01610b1a46
moving font function to OSS (#37619) 2019-06-25 09:48:48 +02:00
Tim Roes 850e7fb163
Add dateHistogramInterval utility (#39091)
* Add dateHistogramInterval utility

* Fix editor bug

* Fix tests

* FIx imports to temporary solution

* Remove wrongly merged translations

* Remove old static.ts file
2019-06-25 09:32:43 +02:00
David Roberts a139020c56
[ML] When importing CSV through file data viz, omit empty values (#39524)
CSV cannot distinguish between null and empty string.
Empty CSV values in numeric and date fields are better
considered as null rather than empty string, as empty
strings are rejected by Elasticsearch for these mapping
types. For consistency this change omits all empty
values from CSV records from the derived JSON document.

Fixes #39240
2019-06-25 06:36:15 +01:00
Yulong fbcd355f6c
[Code] api for lsp initialize state (#39425)
* [Code] added a api for lsp initialize state

* [Code] fix hang if lang-server exited during indexing
2019-06-25 09:50:13 +08:00
Nathan Reese e779ae71be
[Maps] do not allow save when map has unsaved layer changes (#39529)
* [Maps] do not allow save when map has unsaved layer changes

* fix jest test

* refactor add layer panel functional tests
2019-06-24 19:39:03 -06:00
Nathan Reese 7c7599ab84
[Maps] move symbol style property to top of UI (#39534)
* [Maps] move symbol style property to top of UI

* fix jest tests
2019-06-24 18:35:48 -06:00
Mengwei Ding 86ec72d443
[Code] always enforce HEAD revision for indexing even when repo get updated during index (#39528) 2019-06-24 15:09:10 -07:00
Mengwei Ding bf043e7513
[Code] Escape highlight extracting regex and use term ES query for document search (#39473) 2019-06-24 10:06:22 -07:00
Mengwei Ding 688e39051c
[Code] Prevent send all repository status requests in source view page (#39407) 2019-06-24 08:38:20 -07:00
Daniil Suleiman 3184be10e0
[Vis: Default editor] EUIficate date_ranges param editor (#38647)
* EUIficate date_ranges param editor

* Add unit tests

* Move link before the list

* Add validation

* Fix comments
2019-06-24 12:13:35 +03:00
Yulong 2278765544
[Code] add enabled option for language server (#39421) 2019-06-24 13:59:20 +08:00
Yulong f4ac0fd1d8
[Code] trim remote branch names (#39427) 2019-06-22 17:11:15 +08:00
Yulong df9a5dc6f8
[Code] fix hang if lang-server exited during indexing (#39334) 2019-06-22 17:10:49 +08:00
spalger 09db01afcd Disable flaky test (#39486) 2019-06-21 22:29:07 -07:00
Lee Drengenberg 0f3feaedc2
convert timestamp in UTC to fix "InfraOps app Home page with metrics present renders the waffle map for dates with data" (#39124)
* convert timestamp in UTC

* use moment-timezone

* switch from long unix time to strings
2019-06-21 20:39:31 -05:00
Fuyao Zhao d7f1934931
[Code]: Fix script location (#39460) 2019-06-21 18:02:22 -07:00
Nathan Reese 4048c10a16
[Maps] Provide IntlProvider to map listing page (#39459) 2019-06-21 18:52:47 -06:00
chongzhe e2f2eef9c5
[Code] fix link to feature control and update toast text (#39457) 2019-06-21 15:04:09 -07:00