diff --git a/src/Components/Case/CaseDetailsPage.js b/src/Components/Case/CaseDetailsPage.js index 2919093..c101807 100644 --- a/src/Components/Case/CaseDetailsPage.js +++ b/src/Components/Case/CaseDetailsPage.js @@ -122,9 +122,6 @@ const CaseDetailsPage = () => { radioValue, clientPosition ) { - console.log( - "hit generateOutgoingDiscoveryRequests-----------------------------" - ); const response = await fetch( `${apiUrl}/v1/make-outgoing-requests/${docId}/${radioValue}/${clientPosition}`, { @@ -146,7 +143,7 @@ const CaseDetailsPage = () => { if (docType === "complaint") { const clientPosition = subCase.clientPosition; generateOutgoingDiscoveryRequests(docId, radioValue, clientPosition); - setTimeout(handleNavEdit, 20000, docId, caseId); + setTimeout(handleNavEdit, 80000, docId, caseId); } else { // try to kick off parsing here setTimeout(handleNavigate, 40000, docId, caseId); diff --git a/src/Components/Document/ReqEditPage.js b/src/Components/Document/ReqEditPage.js index d981bbb..544e40a 100644 --- a/src/Components/Document/ReqEditPage.js +++ b/src/Components/Document/ReqEditPage.js @@ -69,20 +69,24 @@ const RequestEditPage = () => { }, [appUserId, documentId, caseId]); useEffect(() => { - if (!documentId || !documentType) { + if (!documentId) { return; } getOutgoingRequests(documentId) .then((data) => { - const resp = [...foundationRogs, ...data[0].requests].map( - (item, index) => { - // NEVER CHANGE THIS: - return { showInputEle: false, text: item.text, index: index }; - } + console.log( + "-------------------------data[0].requests", + data[0].requests ); - const calld = [...resp]; - setRequests(calld); - setProdReq(standardProd); + const merged = [...foundationRogs, ...data[0].requests]; + const resp = merged?.map((item, index) => { + // NEVER CHANGE THIS: + return { showInputEle: false, text: item.text, index: index }; + }); + if (resp.length > 10) { + setRequests(resp); + setProdReq(standardProd); + } }) .catch((err) => console.log(err)); }, [documentId]); @@ -104,6 +108,7 @@ const RequestEditPage = () => { } async function getOutgoingRequests(documentId) { + console.log("getOutgoingRequests fired--------------------"); if (!documentId) { return; } diff --git a/src/Components/Modals/UploadModal.js b/src/Components/Modals/UploadModal.js index b4ebafe..a190036 100644 --- a/src/Components/Modals/UploadModal.js +++ b/src/Components/Modals/UploadModal.js @@ -189,7 +189,7 @@ const UploadModal = (props) => { const response = await processFile(); saveToDb(response.uuidName); const docId = response.uuidName; - setTimeout(handleSuccess, 25000, docId, radioValue); + setTimeout(handleSuccess, 1000, docId, radioValue); return; } catch (err) { console.log("err", err); diff --git a/src/styles/dashboard.scss b/src/styles/dashboard.scss index b07b53d..a58440b 100644 --- a/src/styles/dashboard.scss +++ b/src/styles/dashboard.scss @@ -47,13 +47,19 @@ margin-top: 8px; } +.stats-container { + margin: 12px 0px; +} + .stats-row-box { display: flex; flex-direction: row; align-items: center; + border: 1px solid orange; + border-radius: 10px; + background-color: #f5f5f5; margin: 12px 0px; padding: 0px 6px; - background-color: #f5f5f5; height: 42px; border-radius: 6px; } diff --git a/src/styles/doclist-page.scss b/src/styles/doclist-page.scss index cdc763f..d73ff10 100644 --- a/src/styles/doclist-page.scss +++ b/src/styles/doclist-page.scss @@ -7,6 +7,7 @@ border-radius: 10px; height: 85px; padding: 0px 0px 0px 15px; + border: 1px solid orange; } .doc-header-text { diff --git a/src/styles/homepage.scss b/src/styles/homepage.scss index 19424a2..512a055 100644 --- a/src/styles/homepage.scss +++ b/src/styles/homepage.scss @@ -126,7 +126,7 @@ section.section-1 { font-family: Roboto; color: #fff; padding: 20px 0px 10px 0px; - font-size: 24px; + font-size: 20px; font-weight: 100; max-width: 370px; line-height: 29px; @@ -137,7 +137,7 @@ section.section-1 { h1.heading-1 { color: #fff; font-family: Roboto; - font-size: 54px; + font-size: 56px; font-style: normal; font-weight: 500; line-height: 52px; /* 140.625% */ @@ -147,19 +147,20 @@ h1.heading-1 { h1.heading-2 { color: #fff; font-family: Roboto; - font-size: 32px; + font-size: 33px; font-style: normal; font-weight: 400; line-height: 52px; /* 140.625% */ margin-bottom: 0px !important; + margin-top: 8px; } p.text-block-1 { color: #fff; font-family: Roboto; - font-size: 26px; + font-size: 25px; font-style: normal; - font-weight: 400; + font-weight: 300; line-height: 29.756px; /* 123.983% */ width: 525px; margin-top: 28px;