diff --git a/client/.eslintrc b/client/.eslintrc
index d7e58c470..456aca91d 100644
--- a/client/.eslintrc
+++ b/client/.eslintrc
@@ -6,6 +6,7 @@
"node": true
},
"rules": {
+ "no-debugger" : 1,
"comma-dangle": 0,
"global-require": 0,
"import/no-extraneous-dependencies": [
diff --git a/client/app/scripts/actions/app-actions.js b/client/app/scripts/actions/app-actions.js
index 4f46dc071..9f9f5f35e 100644
--- a/client/app/scripts/actions/app-actions.js
+++ b/client/app/scripts/actions/app-actions.js
@@ -671,5 +671,13 @@ export function resetLocalViewState() {
return (dispatch) => {
dispatch({type: ActionTypes.RESET_LOCAL_VIEW_STATE});
storageSet('scopeViewState', '');
+ window.location.href = window.location.href.split('#')[0];
+ };
+}
+
+export function toggleTroubleshootingMenu(ev) {
+ if (ev) { ev.preventDefault(); ev.stopPropagation(); }
+ return {
+ type: ActionTypes.TOGGLE_TROUBLESHOOTING_MENU
};
}
diff --git a/client/app/scripts/components/app.js b/client/app/scripts/components/app.js
index 696508212..3361c7285 100644
--- a/client/app/scripts/components/app.js
+++ b/client/app/scripts/components/app.js
@@ -6,6 +6,7 @@ import Logo from './logo';
import Footer from './footer';
import Sidebar from './sidebar';
import HelpPanel from './help-panel';
+import TroubleshootingMenu from './troubleshooting-menu';
import Search from './search';
import Status from './status';
import Topologies from './topologies';
@@ -99,7 +100,7 @@ class App extends React.Component {
render() {
const { gridMode, showingDetails, showingHelp, showingMetricsSelector,
- showingNetworkSelector } = this.props;
+ showingNetworkSelector, showingTroubleshootingMenu } = this.props;
const isIframe = window !== window.top;
return (
@@ -108,6 +109,8 @@ class App extends React.Component {
{showingHelp &&