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

[dev tools] Hide app link when there are no tools #9489

Merged
merged 2 commits into from
Dec 16, 2016

Conversation

jbudz
Copy link
Member

@jbudz jbudz commented Dec 14, 2016

Closes #9165

@@ -49,3 +50,11 @@ chrome
});

modules.get('kibana').run(Notifier.pullMessageFromUrl);

modules.get('kibana').run(function (Private) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you pull this logic out into a standalone export and unit test it?

@jbudz jbudz added tests_needed and removed review labels Dec 15, 2016
@jbudz jbudz force-pushed the hide-empty-devtools branch from d12cdf0 to a59eb7f Compare December 15, 2016 21:10
@jbudz jbudz force-pushed the hide-empty-devtools branch from a59eb7f to 7828524 Compare December 15, 2016 21:11
@jbudz jbudz added review and removed tests_needed labels Dec 15, 2016
@epixa
Copy link
Contributor

epixa commented Dec 15, 2016

LGTM

In the absence of a proper integration test for this, can you make sure to add a manual QA test plan for this?

@jbudz
Copy link
Member Author

jbudz commented Dec 15, 2016

Added

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

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

LGTM

@jbudz jbudz merged commit 3144994 into elastic:master Dec 16, 2016
elastic-jasper added a commit that referenced this pull request Dec 16, 2016
Backports PR #9489

**Commit 1:**
[dev tools] Hide app link when there are no tools

* Original sha: ace40c4
* Authored by Jonathan Budzenski <[email protected]> on 2016-12-01T18:10:07Z

**Commit 2:**
[dev tools] Add tests for setting app as hidden

* Original sha: 7828524
* Authored by Jonathan Budzenski <[email protected]> on 2016-12-15T21:08:20Z
jbudz pushed a commit that referenced this pull request Dec 16, 2016
Backports PR #9489

**Commit 1:**
[dev tools] Hide app link when there are no tools

* Original sha: ace40c4
* Authored by Jonathan Budzenski <[email protected]> on 2016-12-01T18:10:07Z

**Commit 2:**
[dev tools] Add tests for setting app as hidden

* Original sha: 7828524
* Authored by Jonathan Budzenski <[email protected]> on 2016-12-15T21:08:20Z
stacey-gammon added a commit to stacey-gammon/kibana that referenced this pull request Jan 19, 2017
clean up

show spy panel in embed mode

[webpack] fix loader query string usage (elastic#9497)

* [webpack] pin to fork with fixed loader aliases

* [optimizer] upgrade to postcss+autoprefixer

* [timelion] convert uiExports.modules -> webpackShims

* [uiExports] remove implementation-leaking and unused uiExport types

* [optimizer] remove unused imports

* [uiBundlerEnv] add a method for exporting global import aliases for special cases

[dev tools] Hide app link when there are no tools (elastic#9489)

* [dev tools] Hide app link when there are no tools

* [dev tools] Add tests for setting app as hidden

pie chart unhandled error fix (elastic#9422)

Add NoResults and Panel components. (elastic#9516)

* Add NoResults and Panel components.

* Lighten noResults text.

Update ToolBarFooter component to support content on the left side. (elastic#9514)

Fix bug with Button component appearance inside of a ToolBar. (elastic#9526)

Make basic Button hover state the same both in and out of ToolBar. (elastic#9528)

[grunt/eslint] fix precommit linting (elastic#9510)

* [grunt/eslint] fix precommit linting

 - remove use of `minimatch.makeRe()` because it does not support the entire glob syntax
 - log a warning whenever a js file is excluded by the `lintStagedFiles` task
 - eslint globs are relative to the project root, ensure that we check against relative version

* [grunt/eslint] only log warning wtr grunt paths

Add Tabs component. (elastic#9536)

- Fix bugs with Button and CheckBox focused states.
- Fix appearance of cell content in Table.

Disable linting for Tabs component example JS. (elastic#9538)

Set Button component to display: inline-block, to ensure it has the same height when applied to both button elements and anchor tags. (elastic#9541)

fixing metric vis to correctly show scrollbars when overflown (elastic#9481)

Adding Safari 7 support to autoprefixer (elastic#9534)

PhantomJS is using a rather outdated version of WebKit, which requires
various css-prefixes to render correctly. PhantomJS doesn't have a specific
user-agent, and Safari 7 is the closet version of WebKit.

use Stop Editing instead of Preview

Warn the user if they Stop Editing with unsaved changes

- Refresh the dashboard after stop editing so unsaved changes are lost
and no temporary edits will be shown in non-edit mode.

Don't watch the variable on scope, but the config attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants