Skip to content

Commit 0032f23

Browse files
authored
Merge branch 'master' into master
2 parents 76e948c + 1b5954f commit 0032f23

19 files changed

+499
-144
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>org.exist-db</groupId>
1616
<artifactId>stanford-nlp</artifactId>
17-
<version>0.8.0</version>
17+
<version>0.9.0</version>
1818

1919
<name>Stanford Natural Language Processing</name>
2020
<description>Integrates the Stanford CoreNLP annotation pipeline library into eXist-db.</description>

src/main/js/frontend/package-lock.json

Lines changed: 74 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/js/frontend/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
22
"name": "stanford-npl",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"private": true,
55
"homepage": ".",
66
"proxy": "http://localhost:8080/",
77
"dependencies": {
8-
"@testing-library/jest-dom": "^5.11.4",
8+
"@testing-library/jest-dom": "^5.16.1",
99
"@testing-library/react": "^12.1.2",
1010
"@testing-library/user-event": "^13.5.0",
1111
"@types/jest": "^27.0.3",
1212
"@types/node": "^17.0.0",
13-
"@types/react": "^17.0.0",
14-
"@types/react-dom": "^17.0.0",
13+
"@types/react": "^17.0.37",
14+
"@types/react-dom": "^17.0.11",
1515
"bootstrap": "^5.1.3",
1616
"react": "^17.0.2",
1717
"react-bootstrap": "^2.0.3",
1818
"react-bootstrap-icons": "^1.6.1",
1919
"react-dom": "^17.0.2",
20-
"react-router": "^6.0.2",
20+
"react-router": "^6.1.1",
2121
"react-router-dom": "^6.2.1",
2222
"react-scripts": "5.0.0",
23-
"typescript": "^4.1.2",
23+
"react-simple-tree-menu": "^1.1.18",
24+
"typescript": "^4.5.4",
2425
"web-vitals": "^2.1.2"
2526
},
2627
"scripts": {

src/main/js/frontend/src/App.css

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ body {
2424

2525
.SideBarList .toprow {
2626
width: 100%;
27-
height: 80px;
27+
height: 60px;
2828
list-style-type: none;
2929
margin: 0;
3030
display: flex;
3131
flex-direction: row;
3232
color:blacke;
3333
justify-content: center;
3434
align-items: center;
35-
border-bottom: thin solid gray;
3635
font-family: "Trebuchet MS", "Lucida Grande", "Lucia Sans", Arial, sans-serif;
3736
}
3837
.toprow #icon {
@@ -46,37 +45,14 @@ body {
4645
text-align: center;
4746
}
4847

49-
.SideBarList .row {
48+
.NLPContent {
49+
height: 100%;
5050
width: 100%;
51-
height: 60px;
52-
list-style-type: none;
53-
margin: 0;
54-
display: flex;
55-
flex-direction: row;
56-
color: black;
57-
justify-content: center;
58-
align-items: center;
59-
font-family: "Trebuchet MS", "Lucida Grande", "Lucia Sans", Arial, sans-serif;
60-
}
61-
62-
.SideBarList .row:hover {
63-
cursor: pointer;
6451
background-color: lightgray;
6552
}
66-
67-
.row #icon {
68-
flex: 30%;
69-
display: grid;
70-
place-items: center;
71-
}
72-
73-
.row #title {
74-
flex: 70%;
75-
}
76-
77-
.MagellanContent {
53+
.LoadingContent {
7854
height: 100%;
7955
width: 100%;
80-
background-color: lightgray;
56+
background-color: lightgoldenrodyellow;
8157
}
8258

src/main/js/frontend/src/App.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
import React from 'react';
22
import { HashRouter as Router, Route, Routes } from "react-router-dom";
33
import Layout from "./Layout";
4+
import LoadingContent from "./LoadingContent";
45

56
function App() {
67
return (
7-
<Router>
8-
<Routes>
9-
<Route path="/" element={<Layout />}>
8+
<Router>
9+
<Routes>
10+
<Route path="/" element={<Layout />}>
11+
<Route path="/loading" element={<LoadingContent/>}>
1012

11-
</Route>
12-
</Routes>
13-
</Router>
13+
</Route>
14+
15+
</Route>
16+
</Routes>
17+
</Router>
1418
);
1519
}
1620

src/main/js/frontend/src/Layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import 'bootstrap/dist/css/bootstrap.min.css';
22
import './App.css';
33
import React from "react";
44
import SideBar from "./SideBar";
5-
import MagellanContent from "./MagellanContent";
5+
import NLPContent from "./NLPContent";
66

77
export default class Layout extends React.Component<any, any> {
88

99
render() {
1010
return (
1111
<div className={'App'}>
1212
<SideBar />
13-
<MagellanContent />
13+
<NLPContent />
1414
</div>
1515
);
1616
}
17-
}
17+
}

0 commit comments

Comments
 (0)