From e525d0ec1e8f3fc920d49fe78f29ab68ca409980 Mon Sep 17 00:00:00 2001
From: Caitlin Kunchur <67437371+ckunchur@users.noreply.github.com>
Date: Tue, 22 Aug 2023 20:48:28 -0700
Subject: [PATCH] Caitlin fixes (#93)
---
package-lock.json | 54 +--------
package.json | 6 +-
src/App.js | 4 +
src/components/AllRecordsList/index.jsx | 142 ++++++++++++++++++++++++
src/components/ECGList/sortableList.js | 20 ++--
src/components/Header/index.js | 14 ++-
src/components/PatientList/index.js | 12 +-
7 files changed, 184 insertions(+), 68 deletions(-)
create mode 100644 src/components/AllRecordsList/index.jsx
diff --git a/package-lock.json b/package-lock.json
index 8b98c40..2824f02 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,9 +9,9 @@
"version": "0.1.0",
"dependencies": {
"@emotion/react": "^11.10.6",
- "@emotion/styled": "^11.11.0",
- "@firebase/firestore": "^4.0.0",
- "@mui/material": "^5.14.0",
+ "@emotion/styled": "^11.10.6",
+ "@firebase/firestore": "^3.8.4",
+ "@mui/material": "^5.13.6",
"@mui/x-data-grid": "^6.10.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
@@ -2567,9 +2567,9 @@
}
},
"node_modules/@firebase/firestore": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-4.0.0.tgz",
- "integrity": "sha512-ds4sjGefmJaxkxTT39BoRgmrjfHWBgrnSku69lTwVEPtBF+KqY01iheAEXuLFLQeb1Wu3eKxgZnWIrUYjbh6NA==",
+ "version": "3.13.0",
+ "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-3.13.0.tgz",
+ "integrity": "sha512-NwcnU+madJXQ4fbLkGx1bWvL612IJN/qO6bZ6dlPmyf7QRyu5azUosijdAN675r+bOOJxMtP1Bv981bHBXAbUg==",
"dependencies": {
"@firebase/component": "0.6.4",
"@firebase/logger": "0.4.0",
@@ -2602,27 +2602,6 @@
"@firebase/app-compat": "0.x"
}
},
- "node_modules/@firebase/firestore-compat/node_modules/@firebase/firestore": {
- "version": "3.13.0",
- "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-3.13.0.tgz",
- "integrity": "sha512-NwcnU+madJXQ4fbLkGx1bWvL612IJN/qO6bZ6dlPmyf7QRyu5azUosijdAN675r+bOOJxMtP1Bv981bHBXAbUg==",
- "dependencies": {
- "@firebase/component": "0.6.4",
- "@firebase/logger": "0.4.0",
- "@firebase/util": "1.9.3",
- "@firebase/webchannel-wrapper": "0.10.1",
- "@grpc/grpc-js": "~1.7.0",
- "@grpc/proto-loader": "^0.6.13",
- "node-fetch": "2.6.7",
- "tslib": "^2.1.0"
- },
- "engines": {
- "node": ">=10.10.0"
- },
- "peerDependencies": {
- "@firebase/app": "0.x"
- }
- },
"node_modules/@firebase/firestore-types": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-2.5.1.tgz",
@@ -9563,27 +9542,6 @@
"@firebase/util": "1.9.3"
}
},
- "node_modules/firebase/node_modules/@firebase/firestore": {
- "version": "3.13.0",
- "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-3.13.0.tgz",
- "integrity": "sha512-NwcnU+madJXQ4fbLkGx1bWvL612IJN/qO6bZ6dlPmyf7QRyu5azUosijdAN675r+bOOJxMtP1Bv981bHBXAbUg==",
- "dependencies": {
- "@firebase/component": "0.6.4",
- "@firebase/logger": "0.4.0",
- "@firebase/util": "1.9.3",
- "@firebase/webchannel-wrapper": "0.10.1",
- "@grpc/grpc-js": "~1.7.0",
- "@grpc/proto-loader": "^0.6.13",
- "node-fetch": "2.6.7",
- "tslib": "^2.1.0"
- },
- "engines": {
- "node": ">=10.10.0"
- },
- "peerDependencies": {
- "@firebase/app": "0.x"
- }
- },
"node_modules/flat-cache": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
diff --git a/package.json b/package.json
index 40fc5d2..dfe53ce 100644
--- a/package.json
+++ b/package.json
@@ -4,9 +4,9 @@
"private": true,
"dependencies": {
"@emotion/react": "^11.10.6",
- "@emotion/styled": "^11.11.0",
- "@firebase/firestore": "^4.0.0",
- "@mui/material": "^5.14.0",
+ "@emotion/styled": "^11.10.6",
+ "@firebase/firestore": "^3.8.4",
+ "@mui/material": "^5.13.6",
"@mui/x-data-grid": "^6.10.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
diff --git a/src/App.js b/src/App.js
index 240eebe..1a8f26a 100644
--- a/src/App.js
+++ b/src/App.js
@@ -2,6 +2,7 @@ import './App.css';
import Container from 'react-bootstrap/Container';
import PatientList from './components/PatientList';
import ECGList from './components/ECGList';
+import AllRecordsList from './components/AllRecordsList';
import Login from './components/Login';
import Header from './components/Header';
import ForgotPassword from './components/ForgotPassword'
@@ -20,6 +21,9 @@ function App() {