Commit graph

21723 commits

Author SHA1 Message Date
Oliver Gupte
754aa25713
[APM] Stacktrace heading styles (#26456)
* [APM] fixes #23560 by separating frame headers from code preview and only displaying code preview when stackframe has source code context

* [APM] fixes #26239 by checking for valid line number before displaying it

* [APM] Converted CodePreview and Stacktace to typescript and consolidated Stackframe types

* [APM] pull out components and util functions into own files and added tests
2018-12-04 14:42:16 -08:00
Catherine Liu
53b8b9a644
Fixed class names in page manager (#26573) 2018-12-04 14:14:09 -07:00
Catherine Liu
17bca7b04f
Adds clear function (#26397)
* Added clear function that returns null context

* Added return type to clear function
2018-12-04 13:46:26 -07:00
Spencer
0bcb85f0b0
[errors][dev tools] implement k7Breadcrumbs (#26598)
* [devTools] set k7Breadcrumbs

* [errors] add k7Breadcrumbs to error routes

* revert changes to error templates for style

* fix br tags
2018-12-04 12:37:48 -08:00
Spencer
85a1161e62
skip flaky test (#26649) 2018-12-04 12:36:39 -08:00
Stacey Gammon
8a2f8bc7d6
Plugin test readme’s (#26632)
* Plugin test readme’s

* clarify

* Update scripts/README.md

Co-Authored-By: Stacey-Gammon <gammon@elastic.co>
2018-12-04 15:23:23 -05:00
CJ Cenizal
ef77982980
Require histogram interval in Rollup Job wizard to be a whole number. (#26596) 2018-12-04 12:20:49 -08:00
Spencer
757f83690f
[graph] implement k7Breadcrumbs (#26591)
* [graph] implement k7Breadcrumbs

* [graph] implement real k7Breadcrumbs

* hide workspace title in local nav in k7design
2018-12-04 12:10:12 -08:00
Joel Griffith
53f7ed88af
Adding in browser info to the report-info drawer (#26307)
* Adding in browser info to the report-info drawer

* Conditionalizes the browser-type panel prints + constantizes jobTypes

* Fixing config feedback lost in force push
2018-12-04 12:08:24 -08:00
Aleh Zasypkin
74e21c1983
Introduce support for the server-side new platform plugins. (#25473) 2018-12-04 20:57:14 +01:00
Catherine Liu
831dfd4db0
Fixes minor visual bug when opening workpad loader (#26647)
* Added asset picker to image upload arg form

* Added button to create image element in asset manager

* Added hover style

* Extracted image upload forms into separate components

* Fixed new image element with no assets bug

* Fixed import

* Removed unused styles

* Fixed import order

* Scrolls to selected asset

* Fixed asset selector

* Extracts workpad loader from list of trays
2018-12-04 12:55:34 -07:00
Spencer
f524e9efce
[management/security] implement k7Breadcrumbs (#26603)
## Summary

This PR updates the security management routes to provide k7Breadcrumbs used by the new header navigation. See #25884 for general information about the integration with the router and #25689 for the breadcrumb taxonomy

![2018-12-03 19 05 40](https://user-images.githubusercontent.com/1329312/49416328-764b4200-f72e-11e8-9db7-aeb1294d131b.gif)

### Checklist

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
2018-12-04 11:16:09 -08:00
Spencer
3e1b98ea08
[server/config] add dist flag to config context (#26545) 2018-12-04 10:19:12 -08:00
Spencer
b4721abc82
[discover] implement k7Breadcrumbs (#26587)
* [discover] implement k7Breadcrumbs

* [docViewer] Add breadcrumb for doc viewer

* [docViewer] nest doc viewer under discover

* [discover] include index/id of doc in context/doc viewer
2018-12-04 10:18:42 -08:00
Josh Dover
a7e68755d1
Remove duplicate dep, x-pack/yarn.lock (#26642) 2018-12-04 12:04:39 -06:00
Catherine Liu
cf0da36f3a
Feat: Reuse Canvas Assets (#25764)
* Added asset picker to image upload arg form

* Added button to create image element in asset manager

* Added hover style

* Extracted image upload forms into separate components

* Fixed new image element with no assets bug

* Fixed import

* Removed unused styles

* Fixed import order

* Scrolls to selected asset

* Fixed asset selector
2018-12-04 10:59:39 -07:00
Lukas Olson
21e7ca6b85
Use proper Kibana index for KQL telemetry (#26479)
* Use proper Kibana index for KQL telemetry

* fix test
2018-12-04 10:52:29 -07:00
Lisa Cawley
98fbca6230
[DOCS] Fixes link title (#26599) 2018-12-04 08:49:37 -08:00
Tim Sullivan
97928b38be
[Reporting] clarify what phantom deprecation means (#26434) 2018-12-04 09:43:59 -07:00
Nox911
f08313297f
[i18n] Translate courier (#26514)
* Translate courier

* Fix issues

* Fix issues
2018-12-04 19:21:22 +03:00
Maryia Lapata
99514d6aba
Use single qoutes (#26627) 2018-12-04 18:55:59 +03:00
Nox911
64412efa2c
[i18n] Translate Saved_Objects (#26179)
* Translate ui -> savedObjects

* Fix snapshots

* Fix minor issue
2018-12-04 17:39:09 +03:00
Peter Pisljar
6f26171c98
fixing brush in discover (#26609) 2018-12-04 12:21:35 +01:00
tibmt
3a02de7250 translate login/logout visualization component part 2 (#26082)
* translate login/logout visualization component part 2

* Update login translation part 2 - change FormattedMessage to intl.formatMessage

* change some ids

* update Infra Ops Part 2 - directly wrap some classes by injectI18n()

* update one snapshot

* update one snapshot

* update tests

* update collapsible_panel.test.tsx

* update one snapshot

* update one test

* change some code

* update one snapshot

* update roles.html

* Fix unit tests

* Fix message
2018-12-04 13:54:38 +03:00
Mike Côté
02e23a92d4 Add rest_total_hits_as_int into kibana platform (#26432)
* Add rest_total_hits_as_int into Kibana platform

* Add missing returns statement in repository.test.js
2018-12-04 10:43:39 +01:00
Tim Roes
1852b4b786
Add rest_total_hits_as_int into Kibana App (#26404) 2018-12-04 10:42:45 +01:00
Pete Harverson
ae27e83712
[ML] Add rest_total_hit_as_int where total hits is required (#26421) 2018-12-04 09:25:24 +00:00
pavel06081991
6f81bd37db
translate logstash (#26176)
translate logstash
2018-12-04 11:36:44 +03:00
CJ Cenizal
5c506e8615
Specify Rollup Jobs breadcrumbs in header. (#26590) 2018-12-03 21:14:13 -08:00
Spencer
fe6c205836
[visualize] implement k7Breadcrumbs (#26584)
* [visualize] implement k7Breadcrumbs

* [visualize] hide the whole kbn-top-nav if we aren't showing breadcrumbs

* [visualize] hide extra vertical space when not using breadcrumbs
2018-12-03 17:39:55 -08:00
Tim Sullivan
ee3fc58c62
[Telemetry] Remove initial delay to check and send (#26575)
* [Telemetry] Remove initial delay to check and send

* do not fire immediately
2018-12-03 18:26:42 -07:00
Lisa Cawley
d8a70b5c26
[DOCS] Adds links to more limitations (#26099) 2018-12-03 17:03:08 -08:00
Oliver Gupte
7251126b9a
[APM] Show tags in span details (#26396)
* [APM] Show tags in span details

* [APM] fixed typo

* [APM] remove unused export
2018-12-03 16:21:14 -08:00
spalger
5405cfd95d make @elastic/datemath public 2018-12-03 16:17:15 -08:00
Catherine Liu
131d73d51a
Feat: Canvas Clipboard (#25890)
* Added constants for localstorage

* Added copy and paste to keymap.js

* Added handlers to copy seleced elements and paste elements in localstorage

* Fixed localstorage keys

* Added shortcut to cut elements

* Removed console.log

* Added toast notifications for copy/cut

* Extracted clipboard functions

* Added tests for clipboard

* Added OS specific keymaps
2018-12-03 17:07:41 -07:00
Spencer
0b4ae5020b
[npm] prepare @kbn/datemath for publishing (#26559)
We need to share `@kbn/datemath` with `@elastic/eui`, and rather than making them rely on Kibana for their dependencies we've decided to republish `@kbn/datemath` as `@elastic/datemath`. This isn't something we want to do often, so please check with the platform team if you'd like to do this for another module.
2018-12-03 16:01:16 -08:00
Aleh Zasypkin
168cb07cd2
Return support for i18n.defaultLocale and mark it as deprecated. (#26556) 2018-12-04 00:33:01 +01:00
Catherine Liu
abeafa1ae1
Consistent error messages between esdocs and essql (#26399)
* Added catch promise to esdocs

* Extracted query to elasticsearch into a lib function
2018-12-03 16:29:22 -07:00
Søren Louv-Jansen
04a37c4654
[APM] Move impact calculation to Elasticsearch (#26436)
* [APM] Move impact calculation to Elasticsearch

* Renamed “durationSum” to “sum” and went back to single, mutable impact
2018-12-04 00:13:13 +01:00
CJ Cenizal
88ba3b75f2
[Rollups] Support date fields in Metrics step. (#26450)
- Whitelist max, min, and value_count for date fields.
- Move metric types into flex items which will wrap on narrow screens.
2018-12-03 15:05:16 -08: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
Spencer
16e56bf787
Implement k7Breadcrumbs in Kibana mangement routes (#26503)
* [chrome/breadcrumbs] don't clear the breadcrumbs on redirect routes

* [ui/topNav/breadcrumbs] don't set k7 breadcrumbs

* [management] implement k7Breadcrumbs in kibana mangement routes

* Avoid title case

* [chrome/breadcrumbs] protect against times where route did not match anything

* [chrome] only load route is available

* move breadcrumb modules into new location

* fix i18n message id

* Update reference to renamed variable

Co-Authored-By: spalger <email@spalger.com>

* simplify redirectTo and avoid mutable var

* fix eslint issues
2018-12-03 13:55:41 -08:00
Tim Sullivan
aae7c3b4b4
opportunistic cleanup (#26494) 2018-12-03 14:39:01 -07:00
Maryia Lapata
ed9512d99d Translations for Reporting plugin (#22757)
* Translate Reporting

* Use i18n core

* Translate Reporting

* Translate Reporting

* Refactoring

* Add reporting to i18n config

* Fix tooltip translation

* Apply formatting for html

* Translate label in TS files.

* Reduce tag number

* Rename ids

* Update snapshot

* Revert changes for removing span

* Add types

* Translate statuses

* update translation of Reporting plugin

* fix variable name

* fix constants names

* update reporting translation

* fix copyright

* Fix types/angular packages incompatibility

* Update yarn.lock

* Fix duplicated import

* Fix CI

* Small adjustments
2018-12-03 14:11:35 -07:00
Tim Sullivan
7c3dd5e8bd
[Telemetry] Error handling: local stats collection/permissions bug fix (#26560)
* monitoring collection bug fix

* show error for dev
2018-12-03 13:40:47 -07:00
Chris Cowan
0acb09e2f8
Fixes AutoRefresh button on node detail page (#26426) 2018-12-03 13:04:56 -07:00
Felix Stürmer
bd3494206a
Move SavedObjectClient types alongside js source (#26448) 2018-12-03 20:38:52 +01:00
Andrew Cholakian
7079837366
Remove prompt, fix quotes from windows examples (#25341)
Remove prompt, fix quotes from windows examples

Our windows add data examples are inconsistent with our other platform examples in that they include the prompt in their example. This breaks the "copy snippet" buttons. In addition to this, since they do not quote `C:\Program files` when used as an argument these commands are broken due to the space. This PR fixes both issues.
2018-12-03 12:14:12 -06:00
Robert Monfera
2471356f19
Fix: reduce HTTP POST generation on selections and drags (#26391) 2018-12-03 18:07:49 +01:00
Larry Gregory
f70776fed8
updates GET /api/security/role to sort on role name (#26491) 2018-12-03 11:31:21 -05:00