-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Conversation
@@ -49,3 +50,11 @@ chrome | |||
}); | |||
|
|||
modules.get('kibana').run(Notifier.pullMessageFromUrl); | |||
|
|||
modules.get('kibana').run(function (Private) { |
There was a problem hiding this comment.
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?
d12cdf0
to
a59eb7f
Compare
a59eb7f
to
7828524
Compare
LGTM In the absence of a proper integration test for this, can you make sure to add a manual QA test plan for this? |
Added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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
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
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
Closes #9165