Skip to content

Commit e2de5bf

Browse files
committed
Merge branch 'v0.10.0' into ee-v0.10.0
2 parents c311188 + 238c498 commit e2de5bf

File tree

29 files changed

+3232
-424
lines changed

29 files changed

+3232
-424
lines changed

mission-control/package-lock.json

+2,152-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mission-control/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"private": true,
55
"dependencies": {
66
"antd": "^3.19.2",
7-
"automate-redux": "^1.0.1",
7+
"automate-redux": "^1.1.0",
88
"babel-plugin-import": "^1.12.0",
99
"codemirror": "^5.47.0",
1010
"customize-cra": "^0.2.13",
11+
"firebase": "^6.3.0",
1112
"less": "^3.9.0",
1213
"less-loader": "^5.0.0",
1314
"lodash": "^4.17.11",
@@ -19,7 +20,8 @@
1920
"react-redux": "^7.0.3",
2021
"react-router-dom": "^5.0.0",
2122
"react-scripts": "3.0.1",
22-
"redux": "^4.0.1"
23+
"redux": "^4.0.1",
24+
"space-api": "^0.9.2"
2325
},
2426
"homepage": "https://spaceuptech.com/mission-control",
2527
"scripts": {

mission-control/public/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<meta name="theme-color" content="#000000" />
99
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
1010
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
11+
<script id="bolt" src="https://sboxcheckout-static.citruspay.com/bolt/run/bolt.min.js" bolt-color="0063FF" bolt-logo="https://spaceuptech.com/images/kit/logo-white.svg"></script>
1112
<!--
1213
manifest.json provides metadata used when your web app is installed on a
1314
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

mission-control/src/Routes.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ import DBRules from './pages/database/rules/Rules'
88
import FunctionRules from './pages/functions/rules/Rules'
99
import FileStorageRules from './pages/file-storage/rules/Rules'
1010
import Configure from './pages/configure/configure'
11-
import Overview from './pages/overview/Overview'
11+
import Overview from './pages/overview/Overview'
1212
import Welcome from "./pages/welcome/Welcome"
1313
import CreateProject from "./pages/create-project/CreateProject"
1414
import Billing from "./pages/billing/Billing"
15+
import Deploy from "./pages/deploy/Deploy"
16+
import Plans from "./pages/plans/Plans"
17+
import SigninModal from "./components/signin-modal/SigninModal"
1518

1619
export default () => {
1720
return (
1821
<Router history={history}>
1922
<Route exact path="/mission-control" component={Login} />
2023
<Route exact path="/mission-control/welcome" component={Welcome} />
2124
<Route exact path="/mission-control/create-project" component={CreateProject} />
22-
<Route exact path="/mission-control/projects/:projectId" component={(props) => <Redirect to={`/mission-control/projects/${props.match.params.projectId}/overview`}/>} />
25+
<Route exact path="/mission-control/projects/:projectId" component={(props) => <Redirect to={`/mission-control/projects/${props.match.params.projectId}/overview`} />} />
2326
<Route exact path="/mission-control/projects/:projectId/overview" component={Overview} />
2427
<Route exact path="/mission-control/projects/:projectId/user-management" component={UserManagement} />
2528
<Route exact path="/mission-control/projects/:projectId/database" component={Database} />
@@ -29,7 +32,10 @@ export default () => {
2932
<Route exact path="/mission-control/projects/:projectId/file-storage" component={(props) => <Redirect to={`/mission-control/projects/${props.match.params.projectId}/file-storage/rules`} />} />
3033
<Route exact path="/mission-control/projects/:projectId/file-storage/rules" component={FileStorageRules} />
3134
<Route exact path="/mission-control/projects/:projectId/configure" component={Configure} />
35+
<Route exact path="/mission-control/projects/:projectId/deploy" component={Deploy} />
36+
<Route exact path="/mission-control/projects/:projectId/plans" component={Plans} />
3237
<Route exact path="/mission-control/projects/:projectId/billing" component={Billing} />
38+
<SigninModal />
3339
</Router>
3440
)
3541
}

mission-control/src/actions/helpers.js

-82
This file was deleted.

mission-control/src/actions/index.js

-179
This file was deleted.

mission-control/src/components/billing/billing-table/BillingTable.jsx

+5-8
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,21 @@ function BillingTable(props) {
1414
{props.data.map((value) => {
1515
return (
1616
<Row>
17-
<Col xs={{ span: 4, offset: 2 }}>
18-
<div className="table-col">{value.project}</div>
19-
</Col>
20-
<Col xs={{ span: 6, offset: 0 }}>
17+
<Col xs={{ span: 12 }}>
2118
<div className="table-col">{value.item}</div>
2219
</Col>
23-
<Col xs={{ span: 4, offset: 2 }}>
20+
<Col xs={{ span: 8 }}>
2421
<div className="table-col">{value.usage}</div>
2522
</Col>
26-
<Col xs={{ span: 4, offset: 2 }}>
23+
<Col xs={{ span: 4 }}>
2724
<div className="table-col">$ {value.amount}</div>
2825
</Col>
2926
</Row>
3027
);
3128
})}
3229
<Row>
33-
<Col span={18} />
34-
<Col xs={{ span: 4, offset: 2 }}>
30+
<Col span={20} />
31+
<Col xs={{ span: 4 }}>
3532
<div className="total">
3633
Total: $
3734
<div className="total-amount">&nbsp;{total}</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react"
2+
3+
function RechargeCard({ amount, extraCredits, handleClick, active }) {
4+
return (
5+
<div onClick={handleClick}>
6+
<p>{active && "active"}{amount}$</p>
7+
{extraCredits && <p>Free {extraCredits}$</p>}
8+
</div>
9+
)
10+
}
11+
12+
export default RechargeCard

0 commit comments

Comments
 (0)