diff --git a/src/App.js b/src/App.js index 3f3eff7..b75a5af 100644 --- a/src/App.js +++ b/src/App.js @@ -34,7 +34,7 @@ function App() { const { currentUserEmail } = useContext(AuthContext); const { group } = appState; const navigate = useNavigate(); - + console.log("group in App", group); // wait for user information if (typeof currentUserEmail === "undefined") { return null; diff --git a/src/Components/Dashboard/Dashboard.js b/src/Components/Dashboard/Dashboard.js index 97571ae..30499e3 100644 --- a/src/Components/Dashboard/Dashboard.js +++ b/src/Components/Dashboard/Dashboard.js @@ -30,6 +30,7 @@ const Dashboard = () => { const { group } = appState; const appUserId = group ? group.appUserId : null; const isDashboard = true; + useEffect(() => { if (count.current == null) { setIsMobile(window.innerWidth < 440); diff --git a/src/Components/Login/Login.js b/src/Components/Login/Login.js index 7a061e1..070a1e0 100644 --- a/src/Components/Login/Login.js +++ b/src/Components/Login/Login.js @@ -20,12 +20,16 @@ const Login = () => { } setIsBusy(true); setNotice(""); + console.log("auth", auth); + console.log("email", email); + console.log("password", password); try { const userCredential = await signInWithEmailAndPassword( auth, email, password ); + console.log("userCredential", userCredential); // Signed in userCredential?.user && navigate("/dashboard"); } catch (error) { diff --git a/src/Components/Modals/UploadModal.js b/src/Components/Modals/UploadModal.js index 9a45e21..6d7a668 100644 --- a/src/Components/Modals/UploadModal.js +++ b/src/Components/Modals/UploadModal.js @@ -173,17 +173,26 @@ const UploadModal = (props) => {

- Select a document in pdf format for upload. Enter the document title - below. Document description is optional. + Select a .pdf file for upload. Enter title and choose document type. + (the other fields are optional.)

- This document will be associated with {caption} v. {captionTwo} + Select the document type.{" "} + + Selecting "complaint" will automatically begin creation of + discovery requests. + +

+

+ The document will be associated with{" "} + + {caption} v. {captionTwo} + {caseNumber ? `, ${caseNumber}` : ""}.

- If that is not the case you want to associate with this document, - click "cancel", go back and select the intended case from your - active case list. + If that is not the correct case: click cancel to go back and select + the intended case from your active cases.

diff --git a/src/styles/modals.scss b/src/styles/modals.scss index 133bf3f..4ca0116 100644 --- a/src/styles/modals.scss +++ b/src/styles/modals.scss @@ -12,21 +12,25 @@ } .modal-header-text-wrapper { - margin-bottom: 12px; + margin-bottom: 18px; padding: 0px 8px; } .upload-modal-header-text { font-family: Roboto; + font-size: 0.89rem; font-weight: 400; - line-height: 1.25rem; + line-height: 1.1rem; margin: 0px 0px 10px 0px; } +.upload-header-bold { + font-weight: 500; +} .modal-document-error { margin: -10px 2px 0px 5px; color: red; - font-size: 0.85rem; + font-size: 0.89rem; } .create-modal-header {