Skip to content

Commit a662904

Browse files
author
Osman
committed
Merge branch 'master' of github.com:CodeForPhilly/paws-data-pipeline into 494-logging
2 parents 17c13d6 + 56a087d commit a662904

39 files changed

+1883
-672
lines changed

src/client/package-lock.json

Lines changed: 109 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6+
"@hookform/resolvers": "^3.1.0",
67
"@material-ui/core": "^4.9.14",
78
"@material-ui/icons": "^4.9.1",
89
"@material-ui/lab": "^4.0.0-alpha.53",
@@ -15,8 +16,10 @@
1516
"moment": "^2.29.1",
1617
"react": "^16.13.1",
1718
"react-dom": "^16.13.1",
19+
"react-hook-form": "^7.43.9",
1820
"react-router-dom": "^5.2.0",
19-
"react-scripts": "3.4.1"
21+
"react-scripts": "3.4.1",
22+
"yup": "^1.1.1"
2023
},
2124
"scripts": {
2225
"start": "IS_LOCAL=false react-scripts start",

src/client/src/App.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import Refresh from './components/Refresh';
1818
import useToken from './pages/Login/useToken';
1919
import Box from "@material-ui/core/Box";
2020
import {RFM} from "./pages/RFM/RFM";
21+
import UserManagement from './pages/UserManagement/UserManagement';
2122

2223
let jwt = require('jsonwebtoken');
2324

@@ -157,6 +158,11 @@ function AuthenticatedApp() {
157158
<Refresh/>
158159
</Route>
159160

161+
<Route path="/users">
162+
<UserManagement access_token={access_token}/>
163+
</Route>
164+
165+
160166
</Switch>
161167
}
162168

src/client/src/components/Header.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ class Header extends Component {
2626
{this.props.headerType === 'Admin' &&
2727
<Button size="large" component={RouterLink} to="/admin">Admin</Button>}
2828

29+
{this.props.headerType === 'Admin' &&
30+
<Button size="large" component={RouterLink} to="/users">Users</Button>}
31+
2932
{this.props.headerType !== 'Login' && <Button size="large" component={RouterLink} to="/360view/search">360
3033
DataView</Button>
3134
}

src/client/src/pages/About.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ const DEVELOPERS = [
1818
"Andrew Bishop",
1919
"Akshat Vas",
2020
"Dan Kelley",
21+
"Osman Sabahat",
22+
"Stephen Carroll",
23+
"Diego Delgado",
24+
"Carlos Dominguez",
25+
"Benjamin Deck",
26+
"Sam Lufi",
27+
"Ruthie Fields",
2128
]
2229

2330
const PROJECT_MANAGERS = [
@@ -37,7 +44,8 @@ const EXTERNAL_COLLABORATORS = [
3744
"Tan Tan Chen",
3845
"Faith Benamy",
3946
"Jesse",
40-
"Chris Alfano"
47+
"Chris Alfano",
48+
"Josephine Dru",
4149
]
4250

4351
const SUPPORTERS = [
@@ -89,7 +97,7 @@ export default function About() {
8997
</Grid>
9098
<Grid item>
9199
<Typography>{_.size(DEVELOPERS) + _.size(PROJECT_MANAGERS) + _.size(PROJECT_LEADS) + _.size(EXTERNAL_COLLABORATORS)} individuals and {_.size(SUPPORTERS)} organisations supported and contributed to the PDP between
92-
2019/11/24 and 2021/05/01:</Typography>
100+
2019/11/24 and 2023/06/13:</Typography>
93101
</Grid>
94102
<Grid item>
95103
<Typography variant={"h3"}>Developers</Typography>

0 commit comments

Comments
 (0)