Merge pull request #174 from kjannette/clean

Clean
This commit is contained in:
S Jannette
2024-03-16 17:54:18 -05:00
committed by GitHub
6 changed files with 64 additions and 19 deletions

View File

@@ -29,7 +29,6 @@ const CaseDetailsPage = () => {
const [isLoading, setIsLoading] = useState(false); const [isLoading, setIsLoading] = useState(false);
const [docsAllowed, setDocsAllowed] = useState(null); const [docsAllowed, setDocsAllowed] = useState(null);
const [docsGenerated, setDocsGenerated] = useState(null); const [docsGenerated, setDocsGenerated] = useState(null);
const [docTypeUploaded, setDocTypeUploaded] = useState();
const [document, setDocument] = useState(null); const [document, setDocument] = useState(null);
const { appState } = useContext(AppContext); const { appState } = useContext(AppContext);
const { group } = appState; const { group } = appState;
@@ -72,7 +71,7 @@ const CaseDetailsPage = () => {
} }
function handleIncomingDiscoveryRequest(docId, isComplaint, clientPosition) { function handleIncomingDiscoveryRequest(docId, isComplaint, clientPosition) {
//ONLY TRIGGER FROM THIS SIDE (next page) IF IT IS COMBINED NUMBERED //ONLY TRIGGER FROM THIS SIDE IF IT IS COMBINED NUMBERED
setTimeout(generateRespIncomingDiscReq, 10000, docId, clientPosition); setTimeout(generateRespIncomingDiscReq, 10000, docId, clientPosition);
setTimeout(getDocument, 50000, docId); setTimeout(getDocument, 50000, docId);
} }

View File

@@ -436,7 +436,7 @@ const RequestEditPage = () => {
{outgoingComesNow(state, fetchedCase)} {outgoingComesNow(state, fetchedCase)}
</div> </div>
{/*displayCopy.prelimaryStatement*/} {/*displayCopy.prelimaryStatement*/}
<div className="doc-editing-sub-wrapper row"> <div className="request-editing-sub-wrapper row">
<div className="pleading-header">INSTRUCTIONS</div> <div className="pleading-header">INSTRUCTIONS</div>
{rogInstructions?.map((req, i) => ( {rogInstructions?.map((req, i) => (
<div className="request-text-up-row"> <div className="request-text-up-row">
@@ -445,7 +445,7 @@ const RequestEditPage = () => {
</div> </div>
))} ))}
</div> </div>
<div className="doc-editing-sub-wrapper row"> <div className="request-editing-sub-wrapper row">
<div className="pleading-header">DEFINITIONS</div> <div className="pleading-header">DEFINITIONS</div>
{rogDefinitions?.map((req, i) => ( {rogDefinitions?.map((req, i) => (
<div className="request-text-up-row"> <div className="request-text-up-row">
@@ -454,11 +454,11 @@ const RequestEditPage = () => {
</div> </div>
))} ))}
</div> </div>
<div className="doc-editing-sub-wrapper row"> <div className="request-editing-sub-wrapper row">
<div className="pleading-header">INTERROGATORIES</div> <div className="pleading-header">INTERROGATORIES</div>
{requests?.map((req, i) => ( {requests?.map((req, i) => (
<div className="request-text-up-row"> <div className="request-text-up-row">
<div className="request-text-number-col">{`${i + 1}.`}</div> <div className="request-text-number-col-low">{`${i + 1}.`}</div>
<div className="req-edit-wrapper"> <div className="req-edit-wrapper">
<div className="req-item-inner-div"> <div className="req-item-inner-div">
<EditElement <EditElement
@@ -484,7 +484,7 @@ const RequestEditPage = () => {
</div> </div>
))} ))}
</div> </div>
<div className="doc-editing-sub-wrapper row"> <div className="request-editing-sub-wrapper row">
<div className="pleading-header">REQUESTS FOR PRODUCTION</div> <div className="pleading-header">REQUESTS FOR PRODUCTION</div>
{prodReq?.map((preq, i) => ( {prodReq?.map((preq, i) => (
<div className="request-text-up-row"> <div className="request-text-up-row">

View File

@@ -259,7 +259,7 @@ const UploadModal = (props) => {
marginRight: "8px", marginRight: "8px",
}} }}
/> />
YOU ARE UPLOADING A {currentType.toUpperCase()} YOU ARE UPLOADING A {currentType.toUpperCase()}.
<p className="upload-modal-header-text indent"> <p className="upload-modal-header-text indent">
If you intended to upload a {otherType} - click "cancel", then If you intended to upload a {otherType} - click "cancel", then
select {otherType} select {otherType}

View File

@@ -45,12 +45,10 @@ export const Steps = () => (
<span className="bold-span">GENERATE THE RESPONSE: </span>From the <span className="bold-span">GENERATE THE RESPONSE: </span>From the
Document List View, click the Generate Responses'' button. Novdrafts Document List View, click the Generate Responses'' button. Novdrafts
Intellidraft AI will generate the response and automatically navigate to Intellidraft AI will generate the response and automatically navigate to
the interactive Document Editor. Note the Response Novos toggle button - the interactive Document Editor. Novos: This feature controls the depth
this controls the amount of logical branching used in forumilting hte of factual inferences AI will make in articulating arguments; modulated
response language. You can edit the responses and save progress any time through a CRAC-based CoT prompt sequence. It is distinct from the
by clicking the Save Changes button. Novos: A proprietary feature so-called LLM 'temperature' parameter.
distinct from the so-called LLM 'temperature' parameter. Controls the
amount of AI inference within a CRAC-type model used for argument logic.
</div> </div>
<div className="steps-text-wrapper"> <div className="steps-text-wrapper">
<span className="bold-span">DOWNLOAD YOUR RESPONSE DOCUMENT: </span> <span className="bold-span">DOWNLOAD YOUR RESPONSE DOCUMENT: </span>

View File

@@ -31,6 +31,7 @@ const EditElement = (props) => {
style={{ width: "100%" }} style={{ width: "100%" }}
onBlur={(e) => handleBlur(e, i)} onBlur={(e) => handleBlur(e, i)}
tabIndex="0" tabIndex="0"
className="unshow-ele"
></div> ></div>
) : ( ) : (
<div <div

View File

@@ -34,6 +34,14 @@
margin-bottom: 25px; margin-bottom: 25px;
} }
.request-editing-sub-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
margin-bottom: 25px;
}
.req-editing-sub-wrapper { .req-editing-sub-wrapper {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -63,7 +71,8 @@
} }
.req-item-inner-div { .req-item-inner-div {
min-width: 720px; min-width: 680px;
margin: 6px 0px;
} }
.doc-editing-button-container { .doc-editing-button-container {
@@ -363,8 +372,15 @@
} }
.request-text-number-col { .request-text-number-col {
min-width: 24px; min-width: 22px;
margin-right: 6px; margin-right: 0px;
margin-top: 3px;
}
.request-text-number-col-low {
min-width: 22px;
margin-right: 2px;
margin-top: 6px;
} }
.outer-div { .outer-div {
@@ -391,10 +407,16 @@
.req-edit-comesnow { .req-edit-comesnow {
line-height: 2; line-height: 2;
text-align: justify; text-align: justify;
max-width: 700px;
} }
.req-edit-comesnow-box { .req-edit-comesnow-box {
min-width: 740px; min-width: 600px;
margin-bottom: 18px; margin-bottom: 18px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
} }
.scroll-button { .scroll-button {
@@ -433,7 +455,8 @@
} }
.reqedit-report-container { .reqedit-report-container {
width: 90%; width: 95%;
margin-top: -16px;
margin-left: 16px; margin-left: 16px;
} }
@@ -466,6 +489,30 @@
} }
} }
@media only screen and (max-width: 1080px) and (min-width: 900px) {
.request-editing-sub-wrapper {
max-width: 650px;
}
.request-text-up-row {
max-width: 650px;
}
.req-edit-wrapper {
max-width: 650px;
}
.req-item-inner-div {
min-width: 620px;
max-width: 650px;
}
.reqedit-report-container {
margin-left: 0px;
margin-top: -16px;
}
}
.prelim-statement-container { .prelim-statement-container {
margin-bottom: 8px; margin-bottom: 8px;
padding-left: 6px; padding-left: 6px;