diff --git a/package-lock.json b/package-lock.json
index 4369767..cede916 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,6 +13,7 @@
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
+ "@types/lodash": "^4.14.196",
"@types/node": "^16.18.39",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
@@ -23,9 +24,11 @@
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
+ "uuid": "^9.0.0",
"web-vitals": "^2.1.4"
},
"devDependencies": {
+ "@types/uuid": "^9.0.2",
"eslint": "^8.46.0"
}
},
@@ -4168,6 +4171,11 @@
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
"integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="
},
+ "node_modules/@types/lodash": {
+ "version": "4.14.196",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.196.tgz",
+ "integrity": "sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ=="
+ },
"node_modules/@types/mime": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz",
@@ -4310,6 +4318,12 @@
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.3.tgz",
"integrity": "sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g=="
},
+ "node_modules/@types/uuid": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.2.tgz",
+ "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==",
+ "dev": true
+ },
"node_modules/@types/warning": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@types/warning/-/warning-3.0.0.tgz",
@@ -15450,6 +15464,14 @@
"websocket-driver": "^0.7.4"
}
},
+ "node_modules/sockjs/node_modules/uuid": {
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
"node_modules/source-list-map": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
@@ -16623,9 +16645,9 @@
}
},
"node_modules/uuid": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
- "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
+ "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
"bin": {
"uuid": "dist/bin/uuid"
}
diff --git a/package.json b/package.json
index 6ae97e0..9a254a7 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
+ "@types/lodash": "^4.14.196",
"@types/node": "^16.18.39",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
@@ -18,6 +19,7 @@
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
+ "uuid": "^9.0.0",
"web-vitals": "^2.1.4"
},
"scripts": {
@@ -45,6 +47,7 @@
]
},
"devDependencies": {
+ "@types/uuid": "^9.0.2",
"eslint": "^8.46.0"
}
}
diff --git a/src/App.tsx b/src/App.tsx
index 13422c3..fc50cbf 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,21 +1,31 @@
import React from 'react';
import './App.css';
-import Navigator from "./components/Navigator";
-import RoutingTable from "./components/RoutingTable";
+import Menu from "./components/Menu";
+import Routing from "./components/Routing";
import LoginButton from "./components/auth/LoginButton";
-import Image from "./components/Image";
+import Search from "./components/Search";
function App() {
return (
-
-
-
+
diff --git a/src/components/Main.tsx b/src/Location.tsx
similarity index 56%
rename from src/components/Main.tsx
rename to src/Location.tsx
index 63ebdd3..8ebe89d 100644
--- a/src/components/Main.tsx
+++ b/src/Location.tsx
@@ -1,10 +1,16 @@
import React from "react";
import 'bootstrap/dist/css/bootstrap.min.css';
+interface Location {
+ city: string;
+ state: string;
+ country: string;
+}
+
function Main() {
return (
-
- Main
+
+ Location
);
}
diff --git a/src/components/Client.tsx b/src/components/Client.tsx
new file mode 100644
index 0000000..a537241
--- /dev/null
+++ b/src/components/Client.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+import 'bootstrap/dist/css/bootstrap.min.css';
+import PersistantCombo from "./PersistantCombo";
+
+interface Client {
+ name: string;
+}
+
+function Client() {
+ return (
+
+ );
+}
+
+export default Client;
\ No newline at end of file
diff --git a/src/components/CreateTask.tsx b/src/components/CreateTask.tsx
new file mode 100644
index 0000000..cfe20f3
--- /dev/null
+++ b/src/components/CreateTask.tsx
@@ -0,0 +1,24 @@
+import React from "react";
+import Task from "./Task";
+
+function CreateTask() {
+
+ const task: Task = {
+ id: "",
+ client: { name: ""},
+ code: "",
+ matter: { name: ""},
+ name: "",
+ narrative: "",
+ project: {name: ""},
+ activityCode: "",
+ time: 0
+ }
+ return (
+
+
+
+ );
+}
+
+export default CreateTask;
\ No newline at end of file
diff --git a/src/components/Home.tsx b/src/components/Home.tsx
new file mode 100644
index 0000000..cb2bf09
--- /dev/null
+++ b/src/components/Home.tsx
@@ -0,0 +1,12 @@
+import React from "react";
+import 'bootstrap/dist/css/bootstrap.min.css';
+
+function Home() {
+ return (
+
+ HOME PAGE NOT IMPLEMENTED YET
+
+ );
+}
+
+export default Home;
\ No newline at end of file
diff --git a/src/components/Image.tsx b/src/components/Image.tsx
index c2c1480..0b4e20e 100644
--- a/src/components/Image.tsx
+++ b/src/components/Image.tsx
@@ -5,7 +5,9 @@ import TickerLogo from '../resources/media/logo-white.svg';
const Image = ({ imagePath } : { imagePath: string }) => {
return (
-

+
);
}
diff --git a/src/components/Matter.tsx b/src/components/Matter.tsx
new file mode 100644
index 0000000..ecd16c5
--- /dev/null
+++ b/src/components/Matter.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+import 'bootstrap/dist/css/bootstrap.min.css';
+import PersistantCombo from "./PersistantCombo";
+
+interface Matter {
+ name: string;
+}
+
+function Matter() {
+ return (
+
+ Matter
+
+ );
+}
+
+export default Matter;
\ No newline at end of file
diff --git a/src/components/Navigator.tsx b/src/components/Menu.tsx
similarity index 78%
rename from src/components/Navigator.tsx
rename to src/components/Menu.tsx
index 927c85e..cce13f6 100644
--- a/src/components/Navigator.tsx
+++ b/src/components/Menu.tsx
@@ -7,8 +7,9 @@ interface NavInfo {
}
const AppRoutes: NavInfo[] = [
- {path: "/", displayName: "Main", name: "main"},
- {path: "/login", displayName: "Login", name: "login"}
+ {path: "/", displayName: "Home", name: "home"},
+ {path: "/tasks", displayName: "Tasks", name: "tasks"},
+ {path: "/createTask", displayName: "Create Task", name: "createTask"}
];
function NaviLink(navInfo: NavInfo) {
@@ -20,7 +21,7 @@ function NaviLink(navInfo: NavInfo) {
);
}
-function Navigator() {
+function Menu() {
return (