Commit graph

2065 commits

Author SHA1 Message Date
Justin Kambic
476a88e309
[Uptime] Add crosshair sync for monitor page charts (#28631)
* Add crosshair sync for monitor page charts.

* Fix errant prop in chart component.

* Fix checks domain.
2019-01-23 14:00:38 -05:00
Jason Rhodes
a11e471420
Updates React et al to 16.6 (#24707)
* Updates react to 16.6 (latest)

* Updated fragment-based snapshots for Kibana root unit tests

* Updated fragment-based snapshots for x-pack unit tests

* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch

* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)

* Updated last round of React 16.6 snapshots

* Fixes query bar issue with 16.4 gDSFP lifecycle

* Updated yarn lock (arraybuffer.slice updated)

* Updates snapshots where executeQueryOptions prop appears
2019-01-23 13:46:09 -05:00
Nathan Reese
09f890483f
[Maps] Move alpha from style descriptor to layer descriptor (#29059)
* default alpha

* update heatmap descriptor to use constant

* clean-up

* use ValidatedRange to ensure alphaValue can not be set to invalid value

* fix jest test expect

* move alpha to layer property

* ensure defaults are set when Layer object is instantiated
2019-01-23 10:21:41 -07:00
Paul Sanwald
e7069089db
Small improvements to add cluster page (#29142)
Improve text around what port should be entered, and add a tooltip that explains the "Not Connected" error message.
2019-01-23 11:56:30 -05:00
Justin Kambic
8f54a6fc43
[Uptime] Disable update button for SDP (#29150)
* Disable update button for SDP.

* Update SDP style.
2019-01-23 10:36:03 -05:00
Andrew Cholakian
80a193341e
[Uptime] Remove broken stacked chart in monitor detail page. (#29019)
This chart had no legend and the sum of it was incorrect. We can bring this back later in a form that actually functions.
2019-01-23 07:16:57 -08:00
Nox911
f56ed2c999
Fix template (#28922) 2019-01-23 17:54:57 +03:00
Peter Pisljar
cb1e1b829c
moving renderers registry to OSS (#28986) 2019-01-23 04:16:00 -08:00
pavel06081991
c25fbd323f
[INFRA] translate missed labels (#28812)
[INFRA] translate missed labels
2019-01-23 14:32:58 +03:00
Søren Louv-Jansen
aac425fe1b
[APM] Remove shared metricsFetcher and minor renames (#29071) 2019-01-23 11:57:20 +01:00
Maryia Lapata
37977e3412
Translations for email template (#28663) 2019-01-23 13:31:48 +03:00
Nox911
f131dbbb99
[i18n] Translate dashboard mode (#28921)
* Translate dashboard viewer

* Add dashboardMode path to i18nrc
2019-01-23 13:25:39 +03:00
James Gowdy
32f0704f54
[ML] Better error reporting when parsing JSON in file dataviz (#29123)
* [ML] Better error reporting when parsing JSON in file dataviz

* first step depends on json parsing
2019-01-23 09:57:55 +00:00
Sonja Krause-Harder
83a3fa8c08
Gracefully remove information from squares. (#29083) 2019-01-23 10:42:18 +01:00
Dmitry Lemeshko
5b67941b5f
page_objects updates prior webDriver migration (#28941)
* page_objects updates prior webDriver migration

* [services/test_subjects] set default find timeout to timeouts.find

* remove redundant waitUntilLoadingHasFinished
2019-01-23 09:40:57 +01:00
Justin Kambic
09afa5489a
[Uptime] Convert monitor sparklines to histogram (#28502)
* Change sparkline to use histogram ala snapshot histogram.

* Put imports in order.
2019-01-22 22:16:22 -05:00
Andrew Cholakian
5098668cb6 [Uptime] Fix 7.x references to tcp.port (#29132)
This field has been renamed to url.port in heartbeat 7+, update all fields accordingly.
2019-01-22 20:54:45 -05:00
Brandon Kobel
0e00c3ffef
Remove legacy fallback (#29107)
* Remove mode.initialize and change useRbacForRequest to useRbac

* Updating saved object api tests

* Fixing spaces api integration tests

* Removing unused "expect legacy forbidden" declarations and imports

* Updating docs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Updating comment that mentions the scenario when we aren't using RBAC

* Adding back the authorization section of the config

When a config setting is marked as unused using the deprecations, it's
still required to show up in the config declarations so an error isn't
thrown on startup.

* Adding note about watcher jobs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-22 12:08:45 -08:00
Chris Roberson
c37cf1eab2
[Monitoring] Get ready for hits total format change (#26442)
* Update the specific places we care about hits.total

* PR feedback

* Fix test
2019-01-22 12:35:26 -05:00
James Gowdy
c91ec0d1ef
[ML] Adding privilege checks to File Data Visualizer (#29109)
* [ML] Adding privilege checks to File Data Visualizer

* fixing typo in comment
2019-01-22 17:07:53 +00:00
Nathan Reese
b0e08dce8e
[Maps] handle extents that wrap globe (#29033)
* [Maps] handle extents that wrap globe

* simplify logic
2019-01-22 08:32:55 -07:00
Thomas Neirynck
87f7f8e64b
[Maps] Use geohash precision, not zoom-level, to rerequest data (#28537)
Use a change in geohash precision to determine if data needs to be rerequested, instead of a change in zoom. Also add tests for generic zoom-level change behavior for es_geohash_grids.
2019-01-22 09:28:05 -05:00
Bill McConaghy
57849623fa
Adding frozen indices support index management (#28855)
* adding frozen badge and refactoring list and reload server routes

* adding freeze and unfreeze actions to index management

* adding badge to detail panel and factoring rendering of badges into lib function

* fixing issue with sorted name field and ellipsis

* modifying button label for freeze confirmation

* copy edit

* correcting i18n label

* fixing duplicate i18n id issue

* fixing another duplicate i18n id

* updating jest snapshots

* adding color to badge specification

* removing icons from index management context menu
2019-01-22 08:57:40 -05:00
Nox911
8e664fa5e5
[i18n] Translate xpack_main (#28896)
* Translate x-pack main

* Update snapshot

* Update snapshot

* Resolve review comments

* Update snapshot
2019-01-22 16:38:36 +03:00
Walter Rafelsberger
ef85d1ee16
[ML] Fixes tooltip x position. (#29048)
Fixes a regression where the chart tooltip's x position would fail to be calculated because of a removed global class for the K7 design. This fixes it by falling back to 0 instead of NaN if the element is not present.
2019-01-22 14:34:16 +01:00
James Gowdy
fcb5e3d89a
[ML] Fix for create ingest pipline label issue (#29070) 2019-01-22 10:47:38 +00:00
Jason Rhodes
f469861c78 Requires fields necessary for percent calculation (#29021)
* Requires fields necessary for percent calculation

* Fix snapshot

* Add guard to asPercent formatter
2019-01-21 18:27:24 +01:00
Tiago Costa
78107bb7b4
fix(NA): accessibility problems with upgrade assistant. (#29013) 2019-01-21 11:02:59 +00:00
Nox911
255d8a8366
[i18n] Graph translate missing labels (#28819)
* Add missing translations

* Resolve review comment
2019-01-21 12:17:35 +03:00
Nox911
aef9562807
[i18n] Index Management translate missing labels (#28816)
* Translate missing translations in index management

* Resolve review comments

* Refactor translations

* Resolve review comments
2019-01-21 11:11:23 +03:00
Nathan Reese
ea6651a8f6
[Maps] convert join display from SQL syntax to plain sentence (#28533)
* [Maps] convert join display from SQL syntax to plain sentence

* text clean up

* allow singular and plural text

* review feed back
2019-01-18 16:57:22 -07:00
Thomas Neirynck
10f1ad6702
[Maps] Add maps to data category (#29024) 2019-01-18 17:52:59 -05:00
Nathan Reese
5d296c5d80
[Maps] clean-up vector style defaults (#28998)
* rename StaticDynamicStyleSelector to StaticDynamicStyleRow

* clean up color styling

* refactor size editing

* more clean up

* remove console statements

* ensure default styles exist when loading saved objects

* do not call callback when range is invalid because bad input in text field
2019-01-18 15:41:14 -07:00
Andrew Cholakian
8d62167e1c
[Uptime] Use current instead of 6.5 docs for empty state (#28035)
The empty state screen links to the 6.5 docs specifically. This uses the `current` alias instead.
2019-01-18 13:32:13 -08:00
Spencer
61ca36f15d
Switch to K7 design by default (#29009)
* [visualize] update breadcrumbs when updating visualization

* [ftr] auto-scroll elements passed the fixed header if necessary

* [uiSettings] enable the k7design by default

* [ftr/services/flyout] add ensureClosed() and ensureAllClosed()

* [ftr/services/globalNav] implement globalNav service

* [ftr/services/appsMenu] implement service for using app menu

* [ftr/services/userMenu] add service for using user menu

* [ftr/discover+visualize] update assertions that are based on the app width

* [ftr/monitoring] pass test subjects to new breadcrumbs

* [headerGlobalNav] don't offset the app container in embed mode

* update heights for slightly smaller header
2019-01-18 12:39:01 -08:00
Justin Kambic
0cb9932a28
[Uptime] Implement EuiSuperDatePicker (#28217)
* Implement EuiSuperDatePicker, update components to use new state props.

* Update backend to accept values from EuiSuperDatePicker.

* Fix issues with implementation of super date picker.

* Fix bug in autorefresh enablement.

* Delete obsolete code.

* Fix broken types.

* Add comment to remind to delete code once it's obsolete.

* Fix types.

* Remove unused import.

* Add polling for ErrorList component.

* Update broken unit tests.

* Change default autorefresh interval.

* Add comments based on PR feedback.

* Add comment based on PR feedback.
2019-01-18 13:44:58 -05:00
Andrew Cholakian
3d24d1943d
7.x field changes (#28543)
In Heartbeat 7.0 there are a number of field changes that have been made to support ECS and refine the schema in other ways. This PR seeks to accomodate those changes, the most significant of which is the switch to extensive use of the ECS `url` namespace.

One part of that is removing the Host dropdown filter rather than updating it. This control has always been effectively broken due to its inability to scale to a large number of hosts. Updating it makes no sense when it should be removed.
2019-01-18 08:07:03 -08:00
Pete Harverson
ed9a599b0d
[ML] Removes use of types from ES index and search calls (#28987) 2019-01-18 12:32:31 +00:00
Larry Gregory
082e9bc6e1
[a11y] - Announce space selector screen (#28865)
* fix double-announce of space name in other screen readers

* announce 'Select your space' when loading the space selector screen

* snapshot updates
2019-01-18 07:16:38 -05:00
Maryia Lapata
8c9363a992
[i18n] APM translations for TransactionDetails (#28659)
* Translations forTransactionDetails

* Update message ids

* Refactoring

* Put "not available" label into constants

* Remove typing for i18n values
2019-01-18 08:46:02 +03:00
dave.snider@gmail.com
fc6dece4c6
eui 6.5.1 (#28970) 2019-01-17 17:46:20 -08:00
Matt Apperson
b8a8b77f7e
[BeatsCM] To prevent risk of startup errors, put template index before any ES write operation (#28955)
* To prevent risk of startup errors, put template index before any write operation

* await the put template

* remove no-longer-needed promises

* remove CRUFT test
2019-01-17 18:22:23 -05:00
Spencer
4911fb1ce8
[ftr/pageObjects/security] try simplified logout check to avoid flakiness (#28893)
* [ftr/pageObjects/security] try simplified logout check to avoid flakiness

* [pageObjects/security] wait for longer than normal
2019-01-17 15:19:42 -08:00
Oliver Gupte
93930326de
[APM] fix object path for request url in sample transaction (#28901)
* fixes #28899 by using the correct object path to the url `transaction.context.request.url.full`

* [APM] fixed IStickeyProperty.val to be stricter to prevent this bug from happening again
2019-01-17 14:25:59 -08:00
Oliver Gupte
4ed3e37690
[APM] fixes the margin spaces in Span flyout (#28639)
* fixes #28071 by updating the margin spaces in the Span flyout

* [APM] improved code readability and removed redundancies
2019-01-17 14:25:33 -08:00
Caroline Horn
2bea9afbfe [Maps] Design/SASS cleanup (#28716)
* Separating out GIS styles from _main

to their respective components

* Clean up some styles and try to use more EUI where possible

* Change “landing page” to url

* Change dynamic switch into toggle button

# Conflicts:
#	x-pack/plugins/gis/public/shared/layers/styles/components/vector/size/size_range_selector.js

* Copy clean up

* Add comment

* remove dynmaic style description from heatmap style

* Some fixes to new data source selector and copy changes

* A couple more copy edits

* update oridinal fields when layer changes

* A couple of fixes

* rector static_dynamic_styling_option.js so it makes sense

* fix range selector not showing style

* Specific browser fixes
2019-01-17 14:21:40 -07:00
Justin Kambic
a38c888351
Add README.md. (#28948) 2019-01-17 16:10:59 -05:00
Nathan Reese
b72ce1c3e7
[Maps] Handle extent filters that cross dateline (#28775)
* [Maps] handle extent filtering when extent crosses dateline

* ensure lat within range

* use geo_bounding_box instead of geo_polygon since it supports dateline

* add geo_shape functional test

* get functional tests running

* update convertMapExtentToPolygon so its not recursive

* clean up comment
2019-01-17 13:38:45 -07:00
Justin Kambic
00ecd9efc3
[Uptime] Fix index count issue (#28799)
* Prefer count over search for counting docs in HB index.

* Write test for updated adapter function.

* Remove unused body from request to avoid breaking ES change.
2019-01-17 15:34:04 -05:00
Maryia Lapata
781957c3d7
[i18n] APM translate missing labels (#28677)
* Translate missing labels

* Put "not available" label into constants
2019-01-17 23:16:34 +03:00