Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core/public/chrome] migrate controls, theme, and visibility apis #22987

Merged
merged 10 commits into from
Oct 19, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 13, 2018

Another part of #19992, moved over the ui/chrome apis that control the theme (dark mode, custom home logo), visibility (embed mode), and controls (collapsed state) to a core.chrome service. All of the original APIs are unchanged. This primary things to test are the collapse/expand button in the navigation, full screen mode in dashboard, the format of PDFs, and dashboard light/dark mode switching.

@spalger spalger added the WIP Work in progress label Sep 13, 2018
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch 2 times, most recently from 03e2601 to 7c3a2d7 Compare September 13, 2018 18:14
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from 8d2299b to 3486219 Compare September 13, 2018 20:34
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from 3486219 to 1e41a93 Compare September 13, 2018 22:53
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from 1e41a93 to 5e0cf9f Compare September 14, 2018 20:37
@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch 2 times, most recently from cb78009 to ed3a9a1 Compare September 15, 2018 07:22
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch 3 times, most recently from dcf21aa to b143fbb Compare September 15, 2018 22:16
@spalger spalger changed the title [core/public/chrome] migrate theme and controls apis [core/public/chrome] migrate controls, theme, and visibility apis Sep 15, 2018
@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch 2 times, most recently from 3b6912a to 730ecdb Compare September 15, 2018 23:20
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from 730ecdb to 6349a9a Compare September 16, 2018 00:56
@elasticmachine

This comment has been minimized.

@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from 6349a9a to d6ecd65 Compare September 16, 2018 08:49
@elasticmachine

This comment has been minimized.

@spalger spalger removed the WIP Work in progress label Sep 17, 2018
@spalger spalger force-pushed the migrate-new-platform/chrome-apis branch from d6ecd65 to dd151d6 Compare September 17, 2018 14:55
@elasticmachine

This comment has been minimized.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@azasypkin
Copy link
Member

ack: will get to this PR tomorrow morning.

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, thanks for adding tests! Testing locally at the moment.

src/core/public/core_system.ts Show resolved Hide resolved
src/core/public/chrome/chrome_service.ts Outdated Show resolved Hide resolved
src/core/public/chrome/chrome_service.ts Outdated Show resolved Hide resolved
/**
* Get an observable of the current visiblity state of the chrome.
*/
getIsVisible$: () =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: mostly to widen my RxJS horizons :) What issues we'd have if we use something like this instead?

FORCE_HIDDEN ? of(false) : isVisible$.pipe(takeUntil(this.stop$))

With the current implementation if FORCE_HIDDEN === true then next on getIsVisible$ will always be called with false whenever setIsVisible is called and hence any external code that relies on this observable will be called as well .

Kind of related question, should we next in setIsVisible and setIsCollapsed if value hasn't changed or it should be responsibility of the consumer to use or not distinct*?

Not a big deal, just curious what you think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think something like FORCE_HIDDEN ? of(false) : ... would be fine, but I'm kind of concerned about the difference in lifecycle between the two return values, it probably wouldn't be a big deal, and since it really can't change it is "complete", but I'd have to think through how that might impact consumers. As for deduping here rather than in consumers, I originally had more dedupe logic in here, but felt like it didn't really add anything to do the extra work of deduping notifications. It might turn out that it's a lot nicer to consume an API that properly dedupes notifications, but I'm not sure about that... So I left it out for now.

src/ui/public/chrome/api/controls.ts Outdated Show resolved Hide resolved
src/ui/public/chrome/api/controls.ts Outdated Show resolved Hide resolved
src/ui/public/chrome/api/theme.test.ts Outdated Show resolved Hide resolved
src/ui/public/chrome/api/theme.test.ts Show resolved Hide resolved
src/core/public/chrome/chrome_service.test.ts Show resolved Hide resolved
Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested Kibana in embedded and full screen modes, generated PDF, etc. - everything looked good!

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

@elasticmachine

This comment has been minimized.

});
service.stop();

await expect(promise).resolves.toMatchInlineSnapshot(`
Copy link
Contributor

@cjcenizal cjcenizal Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an advantage to using toMatchInlineSnapshot over toEqual? Personally I would find the latter more readable:

      await expect(promise).resolves.toEqual([
        {},
        {
          logo: "big logo",
          smallLogo: "not so big logo",
        },
        {
          logo: "big logo without small logo",
          smallLogo: undefined,
        },
      ]);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly maintenance, being able to update the snapshots with -u and automatically update them with --watch are pretty huge benefits to me

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger spalger merged commit 208bd51 into elastic:master Oct 19, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Oct 19, 2018
…astic#22987)

* [core/public/chrome] migrate controls, theme, and visibility apis

* [core/public] stop uiSettings service

* [core/public/chrome] test that observables stop immedaiately after stop()

* fix typos

* [core/public/legacyPlatform] test globalNavState init

* [ui/chrome] don't pass extra params

* [core/public/chrome] test for dedupe-handling

* [ui/chrome/theme] test with different values for logo and smallLogo
spalger pushed a commit that referenced this pull request Oct 20, 2018
…2987) (#24308)

* [core/public/chrome] migrate controls, theme, and visibility apis

* [core/public] stop uiSettings service

* [core/public/chrome] test that observables stop immedaiately after stop()

* fix typos

* [core/public/legacyPlatform] test globalNavState init

* [ui/chrome] don't pass extra params

* [core/public/chrome] test for dedupe-handling

* [ui/chrome/theme] test with different values for logo and smallLogo
@spalger
Copy link
Contributor Author

spalger commented Oct 20, 2018

6.5/6.x: e33cba3

@spalger spalger deleted the migrate-new-platform/chrome-apis branch October 20, 2018 03:30
skh added a commit to skh/kibana that referenced this pull request Oct 22, 2018
commit 7739410
Author: markharwood <markharwood@gmail.com>
Date:   Mon Oct 22 09:30:16 2018 +0100

    Graph fix: Remove “step” property which makes values other than 1, 1001, 2001 etc illegal (elastic#23610)

    Closes elastic#22054

commit 3ca2231
Author: markharwood <markharwood@gmail.com>
Date:   Mon Oct 22 09:27:17 2018 +0100

    Remove “step” property which makes values other than 1, 1001, 2001 etc illegal (elastic#23610)

    Closes elastic#22054

commit 98f7667
Author: Andrew Wilkins <axwalk@gmail.com>
Date:   Mon Oct 22 08:54:46 2018 +0800

    [APM] Update Go agent instructions (elastic#24111)

    - Update the Go agent instructions to refer to the new import path.
    - Change some of the wording to align with other agents.
    - Drop "beta" warning.

commit f6ba696
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Sun Oct 21 15:39:15 2018 +0300

    Fix broken link on Watcher (elastic#24317)

commit 3fc8b35
Author: Josh Dover <me@joshdover.com>
Date:   Sat Oct 20 10:45:14 2018 -0500

    Add server OS information to telemetry stats (elastic#23793)

    * Add server OS data to monitoring collector and telemetry

    * Fixup naming

    * Fix functional tests

commit 9904bd9
Author: Spencer <email@spalger.com>
Date:   Fri Oct 19 20:29:38 2018 -0700

    [uiSettings] upgrade old config on read (elastic#24108)

    * doing config migration during config get if necessary

    * fixing issue with writing new config when user does not have write privilege

    * [uiSettings] only log about config upgrade on success

    * [uiSettings/createOrUpgradeSavedConfig] add onWriteError option

    * [uiSettings] return the upgradeAttributes if reader is unable to write upgrade

    * [uiSettings] update route tests to cover upgrade on get

    * [spaces/integration-tests] add config doc to expected objects

    * [uiSettings] avoid shadowed variable name

commit ab29946
Author: dave.snider@gmail.com <dave.snider@gmail.com>
Date:   Fri Oct 19 18:30:06 2018 -0700

    update eui to 4.5.1 (elastic#24218)

    * update eui to 4.5.1

    * icons declared for logging / infra

    * remove eui types that are now in EUI directly

    * clean up duplicated EUI typescript definitions

    * Fix EuiSelect usage in beats enrollment

commit 6b4b0fe
Author: Tyler Smalley <tylersmalley@me.com>
Date:   Fri Oct 19 17:15:29 2018 -0700

    Updates build file unit tests to be Windows Compatible (elastic#24296)

    POSTIX permissions are not available on windows and libuv reports only
    666 and 444 for if it's read or writeable.

    Additionally, on Windows and being reported on OSX, modifying directory
    timestamps in the same stream often does not work.

    Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

commit 8ee620d
Author: Tim Sullivan <tsullivan@users.noreply.github.com>
Date:   Fri Oct 19 15:44:23 2018 -0700

    Add note about automatic inclusion of all stats (elastic#24309)

commit 208bd51
Author: Spencer <email@spalger.com>
Date:   Fri Oct 19 15:28:12 2018 -0700

    [core/public/chrome] migrate controls, theme, and visibility apis (elastic#22987)

    * [core/public/chrome] migrate controls, theme, and visibility apis

    * [core/public] stop uiSettings service

    * [core/public/chrome] test that observables stop immedaiately after stop()

    * fix typos

    * [core/public/legacyPlatform] test globalNavState init

    * [ui/chrome] don't pass extra params

    * [core/public/chrome] test for dedupe-handling

    * [ui/chrome/theme] test with different values for logo and smallLogo

commit 2fa5ee5
Author: Josh Dover <me@joshdover.com>
Date:   Fri Oct 19 17:22:54 2018 -0500

    Add euiIconType for InfraOps and Logs links (elastic#24289)

commit 938d130
Author: Tyler Smalley <tylersmalley@me.com>
Date:   Fri Oct 19 15:10:27 2018 -0700

    Updates file unit tests to be Windows compatible (elastic#24281)

    Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

commit bd3f840
Author: Tim Sullivan <tsullivan@users.noreply.github.com>
Date:   Fri Oct 19 15:00:38 2018 -0700

    [docs/reporting] note about data table pdf (elastic#23921)

commit 9189c06
Author: Chris Cowan <chris@chriscowan.us>
Date:   Fri Oct 19 13:54:58 2018 -0700

    [Infra UI] Test for waffle map GraphQL endpoint (elastic#24184)

    * [Infra UI] Test for metrics GraphQL endpoint

    * Moving apollo-boost to devDeps

    * Converting tests to typescript

    * Renaming infraops to infra

    * Converting to typescript

    * renaming from infraops to infra

    * Adding waffle tests back in

commit 73d8bb9
Author: Peter Pisljar <peter.pisljar@gmail.com>
Date:   Fri Oct 19 20:40:05 2018 +0200

    always start with closed context menu (elastic#24252)

commit d8d2a18
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 21:02:58 2018 +0300

    Translations for Management -> Objects (elastic#23905)

    * fix tests and update snapshots

    * fix id names

    * fix test and update snapshots

    * Update unit test snapshots

    * fix issues

    * Update snapshots

    * Fix issues

commit 371eca2
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:56:50 2018 +0300

    Translations for Advanced Settings (elastic#23881)

    * translate kbn.management.advanced_settings

    * fix tests and update snapshots

    * fix tests

    * fix  issues

    * fix id in get_category-name.js

    * Update unit test snapshot

    * update snapshot

    * Fix issues

commit a5c28d5
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:49:37 2018 +0300

    Feature/translate watcher(part_3) (elastic#24066)

    * translate watcher(part_3)

    * fix default message in monitoring_watch.js

    * fix issues

    * fix issues

    * fix issues

    * fix issues

commit fa95143
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:48:31 2018 +0300

    Feature/translate watcher(part_2) (elastic#24017)

    * translate watcher(pad_2)

    * fix issues

    * fix issues

commit 6247189
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:47:05 2018 +0300

    Feature/translate watcher(part_1) (elastic#23989)

    * translate watcher(pad_1)

    * fix test

    * fix issues

    * fix the same id name

    * fix default message

    * fix issues

commit 3c15067
Author: Chris Cowan <chris@chriscowan.us>
Date:   Fri Oct 19 10:39:21 2018 -0700

    [Infra UI] Test for metrics GraphQL endpoint (elastic#24179)

    * [Infra UI] Test for metrics GraphQL endpoint

    * Moving apollo-boost to devDeps

    * Converting tests to typescript

    * Renaming infraops to infra

commit c5e61c3
Author: Stacey Gammon <gammon@elastic.co>
Date:   Fri Oct 19 13:21:12 2018 -0400

    EAH - Typescript state_monitor_factory (elastic#23945)

    * Typescript state_monitor_factory

    * Fix linter error with possibly undefined

    * Expand typings to include hash stuff and expand the State type definition more.

    * Mark readonly

commit cc75547
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Fri Oct 19 18:25:55 2018 +0300

    Translate Gauge and Goal (elastic#23882)

    * Translate Gauge and Goal

    * fix some names, rewrite some code and add 'kbnVislibVisTypes' to '.i18nrc.json'

    * add 'Required' translation

    * fix 'requiredText' bug

    * use \' instead of &quot;

    * update heatmap component

    * Update gauge.js

    * Update gauge.js

    * Update gauge.js

commit 4b9e13c
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Fri Oct 19 17:59:07 2018 +0300

    Init I18n before Notifications start (elastic#23902)

    * Init I18n before Notifications start

    * Remove i18n initialization in AngularJS since it will be already initialized in CoreSystem

    * Remove unused translationsApi

    * Remove redundant i18n.init invocation

    * Remove i18n tests since  i18n.init was removed and input params for AppBootstrap were changed

    * Move i18n initialization to the entry file.

commit 03d14a7
Author: Bill McConaghy <bill.mcconaghy@elastic.co>
Date:   Fri Oct 19 10:48:41 2018 -0400

    fixing mangling of floating point numbers by console (elastic#23685)

    * fixing mangling of floating point numbers by console

    * fixing tests

    * fixing issue with large requests

    * restoring old code for server side as it handles large responses better

commit a23124e
Author: Matt Apperson <me@mattapperson.com>
Date:   Fri Oct 19 10:17:45 2018 -0400

    [BeatsCM] Fixes and issue where if security is disabled, BeatsCM breaks Kibana (elastic#24249)

    * fix spelling

    * fix license and security checks

    * removed unused vars

    * cleanup

    * remove security check from route def as it is already managed in-route

commit da26fcb
Author: Melissa Alvarez <melissa.alvarez@elastic.co>
Date:   Fri Oct 19 09:42:21 2018 +0100

    [ML] Ensure applying/removing groups menu is keyboard accessible (elastic#24212)

    * add group list arrow nav

    * up/down moved into own functions

    * always prevent default on arrow key press

commit db905c0
Author: dave.snider@gmail.com <dave.snider@gmail.com>
Date:   Thu Oct 18 18:12:39 2018 -0700

    remove eui css import from beats/infra (elastic#24245)

commit 314d1c4
Author: Lukas Olson <olson.lukas@gmail.com>
Date:   Thu Oct 18 13:37:44 2018 -0700

    Canvas function/argument/value autocomplete (elastic#23200)

    * feat: canvas autocomplete

    * fix: remove unused files

    * autocomplete ui cleanup

    * fix: handle stuff inside quotes

    * fix: canvas suggestion comparator

    * fix: spaces at the beginning of expressions

    * fix: move header out of autocomplete component itself

    * fix: add tests

    * fix: failing test

    * fix: pointed to wrong module

commit db77feb
Author: Stacey Gammon <gammon@elastic.co>
Date:   Thu Oct 18 14:20:09 2018 -0400

    Extend the timeout used to check if something exists. (elastic#24140)

commit a2172b9
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Thu Oct 18 20:41:23 2018 +0300

    Fix structure of plural message (elastic#24208)

commit 4cc0103
Author: Catherine Liu <catherineqliu@outlook.com>
Date:   Thu Oct 18 13:03:57 2018 -0400

    Adds Canvas to Kibana Home (elastic#24038)

    * Adds Canvas to the feature registry

    * Removes timelion from the home page

commit 2b6cd21
Author: Justin Kambic <justin.kambic@elastic.co>
Date:   Thu Oct 18 12:43:52 2018 -0400

    [Logstash] [Pipeline Viewer] Improve LS monitoring accessibility (elastic#24169)

    * Update test data shape to conform to component proptypes.

    * Add aria-labels for pipeline viewer buttons.

commit 9f4ec18
Author: Brandon Kobel <brandon.kobel@gmail.com>
Date:   Thu Oct 18 09:30:42 2018 -0700

    Reporting cookies (elastic#24177)

    * Switching Reporting to use session cookies explicitly

    * Fixing bug when security is explicitly disabled

    * Responding to feedback

    * Fixing yarn.lock

commit 49168a9
Author: Brandon Kobel <brandon.kobel@gmail.com>
Date:   Thu Oct 18 09:28:18 2018 -0700

    Using ES list privileges API to determine the authorization mode  (elastic#24211)

    * Making it easier and more terse to specify the user for a test

    * Using ES list privileges API to determine the authorization mode

    This let's us correct use RBAC authorization for the proper users when
    security is enabled, and spaces is disabled to detect whether they have
    privileges of any kind and if so use RBAC.

    * Fixing authorization service test

    * Fixing tests referencing wrong expects

    * Putting create test back

    * Update x-pack/plugins/security/server/lib/authorization/mode.js

    * Update x-pack/plugins/security/server/lib/authorization/mode.js

commit 612bd74
Author: Matt Apperson <me@mattapperson.com>
Date:   Thu Oct 18 12:16:31 2018 -0400

    [BeatsCM] check for security after license, add support for standard license (elastic#24210)

commit 46d1a81
Author: Matt Apperson <me@mattapperson.com>
Date:   Thu Oct 18 12:16:01 2018 -0400

    merge RPM and DEB as they are the same command (elastic#24209)

commit 7d0eaed
Author: Gil Raphaelli <g@raphaelli.com>
Date:   Thu Oct 18 11:47:51 2018 -0400

    update apm-server start instructions for deb/rpm/windows (elastic#24104)

    * update apm-server start instructions for deb/rpm

    * update apm-server start instructions for windows

commit 2be837e
Author: Jake Landis <jake.landis@elastic.co>
Date:   Thu Oct 18 10:28:42 2018 -0500

    console: ingest node updates for auto-complete (elastic#24100)

    * add bytes processor
    * add dissect processor
    * add pipeline processor
    * add drop processor
    * add if conditional to each processor
    * add on_failure to each processor

commit 5441d74
Author: Felix Stürmer <weltenwort@users.noreply.github.com>
Date:   Thu Oct 18 17:00:08 2018 +0200

    Move mustache typings to devDependencies (elastic#24165)

    This moves the `@types/mustache` package from `dependencies` to `devDependencies` to avoid unnecessary inclusion in the build artifacts.

commit b4cbac6
Author: Tim Roes <mail@timroes.de>
Date:   Thu Oct 18 15:49:48 2018 +0200

    Fix memory leak in vislib on auto refresh (elastic#24134)

commit f382ee2
Author: Chris Roberson <chrisronline@gmail.com>
Date:   Thu Oct 18 09:05:27 2018 -0400

    Fixes from the demo (elastic#23922)

commit 8fc52b4
Author: Pete Harverson <peteharverson@users.noreply.github.com>
Date:   Thu Oct 18 13:34:44 2018 +0100

    [ML] Focus View Results link on Job wizards when job finishes (elastic#24190)

    * [ML] Focus View Results link on Job wizards when job finishes

    * [ML] Move function to set View Results link focus to new_job_utils

commit 9a3414c
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Thu Oct 18 14:17:06 2018 +0300

    Translate heatmap and heatmap_options (elastic#23812)

    Translation of Heatmap visualization component

commit 58ba301
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Thu Oct 18 13:58:57 2018 +0300

    Translate Area, Line, Horizontal and Vertical Bar (elastic#23823)

    Translation of Line, Area, Vertical and Horizontal Bar visualization components

commit c5d9583
Author: Pete Harverson <peteharverson@users.noreply.github.com>
Date:   Thu Oct 18 11:14:14 2018 +0100

    [ML] Lowers multi-bucket impact thresholds used for anomaly display (elastic#24136)

    * [ML] Lowers multi-bucket impact thresholds used for anomaly display

    * [ML] Adjust thresholds used in multi bucket impact unit tests
skh added a commit to skh/kibana that referenced this pull request Oct 22, 2018
Squashed commit of the following:

commit 7739410
Author: markharwood <markharwood@gmail.com>
Date:   Mon Oct 22 09:30:16 2018 +0100

    Graph fix: Remove “step” property which makes values other than 1, 1001, 2001 etc illegal (elastic#23610)

    Closes elastic#22054

commit 3ca2231
Author: markharwood <markharwood@gmail.com>
Date:   Mon Oct 22 09:27:17 2018 +0100

    Remove “step” property which makes values other than 1, 1001, 2001 etc illegal (elastic#23610)

    Closes elastic#22054

commit 98f7667
Author: Andrew Wilkins <axwalk@gmail.com>
Date:   Mon Oct 22 08:54:46 2018 +0800

    [APM] Update Go agent instructions (elastic#24111)

    - Update the Go agent instructions to refer to the new import path.
    - Change some of the wording to align with other agents.
    - Drop "beta" warning.

commit f6ba696
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Sun Oct 21 15:39:15 2018 +0300

    Fix broken link on Watcher (elastic#24317)

commit 3fc8b35
Author: Josh Dover <me@joshdover.com>
Date:   Sat Oct 20 10:45:14 2018 -0500

    Add server OS information to telemetry stats (elastic#23793)

    * Add server OS data to monitoring collector and telemetry

    * Fixup naming

    * Fix functional tests

commit 9904bd9
Author: Spencer <email@spalger.com>
Date:   Fri Oct 19 20:29:38 2018 -0700

    [uiSettings] upgrade old config on read (elastic#24108)

    * doing config migration during config get if necessary

    * fixing issue with writing new config when user does not have write privilege

    * [uiSettings] only log about config upgrade on success

    * [uiSettings/createOrUpgradeSavedConfig] add onWriteError option

    * [uiSettings] return the upgradeAttributes if reader is unable to write upgrade

    * [uiSettings] update route tests to cover upgrade on get

    * [spaces/integration-tests] add config doc to expected objects

    * [uiSettings] avoid shadowed variable name

commit ab29946
Author: dave.snider@gmail.com <dave.snider@gmail.com>
Date:   Fri Oct 19 18:30:06 2018 -0700

    update eui to 4.5.1 (elastic#24218)

    * update eui to 4.5.1

    * icons declared for logging / infra

    * remove eui types that are now in EUI directly

    * clean up duplicated EUI typescript definitions

    * Fix EuiSelect usage in beats enrollment

commit 6b4b0fe
Author: Tyler Smalley <tylersmalley@me.com>
Date:   Fri Oct 19 17:15:29 2018 -0700

    Updates build file unit tests to be Windows Compatible (elastic#24296)

    POSTIX permissions are not available on windows and libuv reports only
    666 and 444 for if it's read or writeable.

    Additionally, on Windows and being reported on OSX, modifying directory
    timestamps in the same stream often does not work.

    Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

commit 8ee620d
Author: Tim Sullivan <tsullivan@users.noreply.github.com>
Date:   Fri Oct 19 15:44:23 2018 -0700

    Add note about automatic inclusion of all stats (elastic#24309)

commit 208bd51
Author: Spencer <email@spalger.com>
Date:   Fri Oct 19 15:28:12 2018 -0700

    [core/public/chrome] migrate controls, theme, and visibility apis (elastic#22987)

    * [core/public/chrome] migrate controls, theme, and visibility apis

    * [core/public] stop uiSettings service

    * [core/public/chrome] test that observables stop immedaiately after stop()

    * fix typos

    * [core/public/legacyPlatform] test globalNavState init

    * [ui/chrome] don't pass extra params

    * [core/public/chrome] test for dedupe-handling

    * [ui/chrome/theme] test with different values for logo and smallLogo

commit 2fa5ee5
Author: Josh Dover <me@joshdover.com>
Date:   Fri Oct 19 17:22:54 2018 -0500

    Add euiIconType for InfraOps and Logs links (elastic#24289)

commit 938d130
Author: Tyler Smalley <tylersmalley@me.com>
Date:   Fri Oct 19 15:10:27 2018 -0700

    Updates file unit tests to be Windows compatible (elastic#24281)

    Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

commit bd3f840
Author: Tim Sullivan <tsullivan@users.noreply.github.com>
Date:   Fri Oct 19 15:00:38 2018 -0700

    [docs/reporting] note about data table pdf (elastic#23921)

commit 9189c06
Author: Chris Cowan <chris@chriscowan.us>
Date:   Fri Oct 19 13:54:58 2018 -0700

    [Infra UI] Test for waffle map GraphQL endpoint (elastic#24184)

    * [Infra UI] Test for metrics GraphQL endpoint

    * Moving apollo-boost to devDeps

    * Converting tests to typescript

    * Renaming infraops to infra

    * Converting to typescript

    * renaming from infraops to infra

    * Adding waffle tests back in

commit 73d8bb9
Author: Peter Pisljar <peter.pisljar@gmail.com>
Date:   Fri Oct 19 20:40:05 2018 +0200

    always start with closed context menu (elastic#24252)

commit d8d2a18
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 21:02:58 2018 +0300

    Translations for Management -> Objects (elastic#23905)

    * fix tests and update snapshots

    * fix id names

    * fix test and update snapshots

    * Update unit test snapshots

    * fix issues

    * Update snapshots

    * Fix issues

commit 371eca2
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:56:50 2018 +0300

    Translations for Advanced Settings (elastic#23881)

    * translate kbn.management.advanced_settings

    * fix tests and update snapshots

    * fix tests

    * fix  issues

    * fix id in get_category-name.js

    * Update unit test snapshot

    * update snapshot

    * Fix issues

commit a5c28d5
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:49:37 2018 +0300

    Feature/translate watcher(part_3) (elastic#24066)

    * translate watcher(part_3)

    * fix default message in monitoring_watch.js

    * fix issues

    * fix issues

    * fix issues

    * fix issues

commit fa95143
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:48:31 2018 +0300

    Feature/translate watcher(part_2) (elastic#24017)

    * translate watcher(pad_2)

    * fix issues

    * fix issues

commit 6247189
Author: Nox911 <nox.911@gmail.com>
Date:   Fri Oct 19 20:47:05 2018 +0300

    Feature/translate watcher(part_1) (elastic#23989)

    * translate watcher(pad_1)

    * fix test

    * fix issues

    * fix the same id name

    * fix default message

    * fix issues

commit 3c15067
Author: Chris Cowan <chris@chriscowan.us>
Date:   Fri Oct 19 10:39:21 2018 -0700

    [Infra UI] Test for metrics GraphQL endpoint (elastic#24179)

    * [Infra UI] Test for metrics GraphQL endpoint

    * Moving apollo-boost to devDeps

    * Converting tests to typescript

    * Renaming infraops to infra

commit c5e61c3
Author: Stacey Gammon <gammon@elastic.co>
Date:   Fri Oct 19 13:21:12 2018 -0400

    EAH - Typescript state_monitor_factory (elastic#23945)

    * Typescript state_monitor_factory

    * Fix linter error with possibly undefined

    * Expand typings to include hash stuff and expand the State type definition more.

    * Mark readonly

commit cc75547
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Fri Oct 19 18:25:55 2018 +0300

    Translate Gauge and Goal (elastic#23882)

    * Translate Gauge and Goal

    * fix some names, rewrite some code and add 'kbnVislibVisTypes' to '.i18nrc.json'

    * add 'Required' translation

    * fix 'requiredText' bug

    * use \' instead of &quot;

    * update heatmap component

    * Update gauge.js

    * Update gauge.js

    * Update gauge.js

commit 4b9e13c
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Fri Oct 19 17:59:07 2018 +0300

    Init I18n before Notifications start (elastic#23902)

    * Init I18n before Notifications start

    * Remove i18n initialization in AngularJS since it will be already initialized in CoreSystem

    * Remove unused translationsApi

    * Remove redundant i18n.init invocation

    * Remove i18n tests since  i18n.init was removed and input params for AppBootstrap were changed

    * Move i18n initialization to the entry file.

commit 03d14a7
Author: Bill McConaghy <bill.mcconaghy@elastic.co>
Date:   Fri Oct 19 10:48:41 2018 -0400

    fixing mangling of floating point numbers by console (elastic#23685)

    * fixing mangling of floating point numbers by console

    * fixing tests

    * fixing issue with large requests

    * restoring old code for server side as it handles large responses better

commit a23124e
Author: Matt Apperson <me@mattapperson.com>
Date:   Fri Oct 19 10:17:45 2018 -0400

    [BeatsCM] Fixes and issue where if security is disabled, BeatsCM breaks Kibana (elastic#24249)

    * fix spelling

    * fix license and security checks

    * removed unused vars

    * cleanup

    * remove security check from route def as it is already managed in-route

commit da26fcb
Author: Melissa Alvarez <melissa.alvarez@elastic.co>
Date:   Fri Oct 19 09:42:21 2018 +0100

    [ML] Ensure applying/removing groups menu is keyboard accessible (elastic#24212)

    * add group list arrow nav

    * up/down moved into own functions

    * always prevent default on arrow key press

commit db905c0
Author: dave.snider@gmail.com <dave.snider@gmail.com>
Date:   Thu Oct 18 18:12:39 2018 -0700

    remove eui css import from beats/infra (elastic#24245)

commit 314d1c4
Author: Lukas Olson <olson.lukas@gmail.com>
Date:   Thu Oct 18 13:37:44 2018 -0700

    Canvas function/argument/value autocomplete (elastic#23200)

    * feat: canvas autocomplete

    * fix: remove unused files

    * autocomplete ui cleanup

    * fix: handle stuff inside quotes

    * fix: canvas suggestion comparator

    * fix: spaces at the beginning of expressions

    * fix: move header out of autocomplete component itself

    * fix: add tests

    * fix: failing test

    * fix: pointed to wrong module

commit db77feb
Author: Stacey Gammon <gammon@elastic.co>
Date:   Thu Oct 18 14:20:09 2018 -0400

    Extend the timeout used to check if something exists. (elastic#24140)

commit a2172b9
Author: Maryia Lapata <mary.lopato@gmail.com>
Date:   Thu Oct 18 20:41:23 2018 +0300

    Fix structure of plural message (elastic#24208)

commit 4cc0103
Author: Catherine Liu <catherineqliu@outlook.com>
Date:   Thu Oct 18 13:03:57 2018 -0400

    Adds Canvas to Kibana Home (elastic#24038)

    * Adds Canvas to the feature registry

    * Removes timelion from the home page

commit 2b6cd21
Author: Justin Kambic <justin.kambic@elastic.co>
Date:   Thu Oct 18 12:43:52 2018 -0400

    [Logstash] [Pipeline Viewer] Improve LS monitoring accessibility (elastic#24169)

    * Update test data shape to conform to component proptypes.

    * Add aria-labels for pipeline viewer buttons.

commit 9f4ec18
Author: Brandon Kobel <brandon.kobel@gmail.com>
Date:   Thu Oct 18 09:30:42 2018 -0700

    Reporting cookies (elastic#24177)

    * Switching Reporting to use session cookies explicitly

    * Fixing bug when security is explicitly disabled

    * Responding to feedback

    * Fixing yarn.lock

commit 49168a9
Author: Brandon Kobel <brandon.kobel@gmail.com>
Date:   Thu Oct 18 09:28:18 2018 -0700

    Using ES list privileges API to determine the authorization mode  (elastic#24211)

    * Making it easier and more terse to specify the user for a test

    * Using ES list privileges API to determine the authorization mode

    This let's us correct use RBAC authorization for the proper users when
    security is enabled, and spaces is disabled to detect whether they have
    privileges of any kind and if so use RBAC.

    * Fixing authorization service test

    * Fixing tests referencing wrong expects

    * Putting create test back

    * Update x-pack/plugins/security/server/lib/authorization/mode.js

    * Update x-pack/plugins/security/server/lib/authorization/mode.js

commit 612bd74
Author: Matt Apperson <me@mattapperson.com>
Date:   Thu Oct 18 12:16:31 2018 -0400

    [BeatsCM] check for security after license, add support for standard license (elastic#24210)

commit 46d1a81
Author: Matt Apperson <me@mattapperson.com>
Date:   Thu Oct 18 12:16:01 2018 -0400

    merge RPM and DEB as they are the same command (elastic#24209)

commit 7d0eaed
Author: Gil Raphaelli <g@raphaelli.com>
Date:   Thu Oct 18 11:47:51 2018 -0400

    update apm-server start instructions for deb/rpm/windows (elastic#24104)

    * update apm-server start instructions for deb/rpm

    * update apm-server start instructions for windows

commit 2be837e
Author: Jake Landis <jake.landis@elastic.co>
Date:   Thu Oct 18 10:28:42 2018 -0500

    console: ingest node updates for auto-complete (elastic#24100)

    * add bytes processor
    * add dissect processor
    * add pipeline processor
    * add drop processor
    * add if conditional to each processor
    * add on_failure to each processor

commit 5441d74
Author: Felix Stürmer <weltenwort@users.noreply.github.com>
Date:   Thu Oct 18 17:00:08 2018 +0200

    Move mustache typings to devDependencies (elastic#24165)

    This moves the `@types/mustache` package from `dependencies` to `devDependencies` to avoid unnecessary inclusion in the build artifacts.

commit b4cbac6
Author: Tim Roes <mail@timroes.de>
Date:   Thu Oct 18 15:49:48 2018 +0200

    Fix memory leak in vislib on auto refresh (elastic#24134)

commit f382ee2
Author: Chris Roberson <chrisronline@gmail.com>
Date:   Thu Oct 18 09:05:27 2018 -0400

    Fixes from the demo (elastic#23922)

commit 8fc52b4
Author: Pete Harverson <peteharverson@users.noreply.github.com>
Date:   Thu Oct 18 13:34:44 2018 +0100

    [ML] Focus View Results link on Job wizards when job finishes (elastic#24190)

    * [ML] Focus View Results link on Job wizards when job finishes

    * [ML] Move function to set View Results link focus to new_job_utils

commit 9a3414c
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Thu Oct 18 14:17:06 2018 +0300

    Translate heatmap and heatmap_options (elastic#23812)

    Translation of Heatmap visualization component

commit 58ba301
Author: tibmt <pavelyukhnevich@yandex.ru>
Date:   Thu Oct 18 13:58:57 2018 +0300

    Translate Area, Line, Horizontal and Vertical Bar (elastic#23823)

    Translation of Line, Area, Vertical and Horizontal Bar visualization components

commit c5d9583
Author: Pete Harverson <peteharverson@users.noreply.github.com>
Date:   Thu Oct 18 11:14:14 2018 +0100

    [ML] Lowers multi-bucket impact thresholds used for anomaly display (elastic#24136)

    * [ML] Lowers multi-bucket impact thresholds used for anomaly display

    * [ML] Adjust thresholds used in multi bucket impact unit tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.5.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants