message: frontend: Fix for sidebar applying active highlight to multiple links
  Specifically, the "Events" could be highlighted in addition to the
  "Pods", "Replication Controllers" or "Nodes" links when viewing the
  events pages of those resource types.
diff: @@ -2,18 +2,17 @@ import React from 'react';
  import { Link } from 'react-router';
  import classNames from 'classnames';
  -import { connect } from './utils';
  +import { connect, history } from './utils';
  import { FLAGS, stateToProps as featuresStateToProps } from '../features';
  import { formatNamespaceRoute } from '../ui/ui-actions';
  import { authSvc } from '../module/auth';
  const stripNS = href => href.replace(/^\/?(all-namespaces|ns\/[^\/]*)/, '');
  -const isActive = href => stripNS(location.pathname).indexOf(stripNS(href)) >= 0;
  +const isActive = href => stripNS(history.getCurrentLocation().pathname).indexOf(stripNS(href)) === 0;
  const stateToProps = state => {
  const props = featuresStateToProps(Object.keys(FLAGS), state);
  props.activeNamespace = state.UI.get('activeNamespace');
  - props.location = state.UI.location;
  return props;
  };
  @@ -72,13 +71,13 @@ export const Nav = () => <div id="sidebar" className="co-img-bg-cells">
  <i className="fa fa-cog navigation-container__section__title__icon"></i>Administration
  </div>
  <ul className="navigation-container__list no-margin collapse in" id="admin-tab">
  - <NavLink href="/namespaces" name="Namespaces" />
  - <NavLink href="/nodes" name="Nodes" />
  - <NavLink href="/settings/cluster" name="Cluster Settings" />
  + <NavLink href="namespaces" name="Namespaces" />
  + <NavLink href="nodes" name="Nodes" />
  + <NavLink href="settings/cluster" name="Cluster Settings" />
  <NavLink resource="roles" required="RBAC" name="Roles" />
  <NavLink resource="rolebindings" required="RBAC" name="Role Bindings" />
  - <NavLink href="/clusterroles" required="RBAC" name="Cluster Roles" />
  - <NavLink href="/clusterrolebindings" required="RBAC" name="Cluster Role Bindings" />
  + <NavLink href="clusterroles" required="RBAC" name="Cluster Roles" />
  + <NavLink href="clusterrolebindings" required="RBAC" name="Cluster Role Bindings" />
  </ul>
  </div>
  @@ -89,7 +88,7 @@ export const Nav = () => <div id="sidebar" className="co-img-bg-cells">
  { authSvc.name() }
  </div>
  <ul id="account-nav" className="navigation-container__list">
  - <NavLink href="/settings/profile" name="My Account" />
  + <NavLink href="settings/profile" name="My Account" />
  <NavLink href="#" name="Log Out" required="AUTH_ENABLED" onClick={logout} />
  </ul>
  </div>
  