From 697db407ff777fa509d792d79fa00376ed0b61b9 Mon Sep 17 00:00:00 2001 From: Stephen Salinas Date: Thu, 9 Aug 2018 13:10:47 -0400 Subject: [PATCH 1/2] Nix the old dashboard and default to requests page --- .../app/components/common/Navigation.jsx | 3 - .../components/dashboard/DashboardPage.jsx | 228 ------------------ .../dashboard/RequestSummaryBox.jsx | 182 -------------- .../components/requests/RequestFilters.jsx | 6 + SingularityUI/app/router.jsx | 5 +- 5 files changed, 8 insertions(+), 416 deletions(-) delete mode 100644 SingularityUI/app/components/dashboard/DashboardPage.jsx delete mode 100644 SingularityUI/app/components/dashboard/RequestSummaryBox.jsx diff --git a/SingularityUI/app/components/common/Navigation.jsx b/SingularityUI/app/components/common/Navigation.jsx index 8680ff0972..a16a93fdf8 100644 --- a/SingularityUI/app/components/common/Navigation.jsx +++ b/SingularityUI/app/components/common/Navigation.jsx @@ -84,9 +84,6 @@ const Navigation = (props) => { diff --git a/SingularityUI/app/router.jsx b/SingularityUI/app/router.jsx index 74c6aa738c..0edc29da33 100644 --- a/SingularityUI/app/router.jsx +++ b/SingularityUI/app/router.jsx @@ -1,11 +1,10 @@ import React from 'react'; import { Provider } from 'react-redux'; -import { Router, Route, IndexRoute } from 'react-router'; +import { Router, Route, IndexRedirect, IndexRoute } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import Application from './components/common/Application'; import NotFound from './components/common/NotFound'; -import DashboardPage from './components/dashboard/DashboardPage'; import StatusPage from './components/status/StatusPage'; import RequestsPage from './components/requests/RequestsPage'; import TasksPage from './components/tasks/TasksPage'; @@ -32,7 +31,7 @@ const getFilenameFromSplat = (splat) => _.last(splat.split('/')); const routes = ( - + From e22c613c05cfc023e064b38a1e222d474e80b450 Mon Sep 17 00:00:00 2001 From: Stephen Salinas Date: Thu, 9 Aug 2018 13:21:21 -0400 Subject: [PATCH 2/2] move requests in the nav --- SingularityUI/app/components/common/Navigation.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SingularityUI/app/components/common/Navigation.jsx b/SingularityUI/app/components/common/Navigation.jsx index a16a93fdf8..c85742e010 100644 --- a/SingularityUI/app/components/common/Navigation.jsx +++ b/SingularityUI/app/components/common/Navigation.jsx @@ -84,12 +84,12 @@ const Navigation = (props) => {