Merge pull request #30 from kjannette/green

more
This commit is contained in:
S Jannette
2024-01-18 15:39:42 -06:00
committed by GitHub
5 changed files with 11 additions and 10 deletions

View File

@@ -118,7 +118,7 @@ const DocEditPage = () => {
];
/*
* GET docuement (info) from Firebase
* GET docuement data from Firebase
* */
useEffect(() => {
@@ -142,7 +142,7 @@ const DocEditPage = () => {
if (!documentId || !documentType) {
return;
}
// TODO: *BUG* still sometimes gens repsonses after first one, maybe state is not updating
// TODO: possible *BUG* sometimes sends network req to gen repsonses after first (maybe state is not updating?)
getParsedRequests(documentId, documentType);
if (responsesCreated > 0) {
getCompletions(documentId)
@@ -247,7 +247,7 @@ const DocEditPage = () => {
}
const docType = String(documentType);
let mode;
//TODO: remove isRequests var
//TODO: remove isRequests var if not goign to use
const isRequests = false;
console.log(
"generateResponsesCombined docmentId docType",

View File

@@ -114,10 +114,7 @@ const DocumentListPage = ({ perPage }) => {
const selectedDoc = allDocs.filter((doc) => {
return doc.documentId == selectedDocumentId;
});
console.log(
"selectedDoc[0].responseGenerations",
selectedDoc[0].responseGenerations
);
const respGens = selectedDoc[0].responseGenerations;
try {

View File

@@ -9,7 +9,7 @@ export const useCases = (userId) => {
const queryParams = {
userId: userId,
};
const response = await someEndpoint;
const response = "someEndpoint";
//return response
});
};

View File

@@ -278,6 +278,7 @@ export const DocCard = (props) => {
const report = (documentId, docType) => {
console.log("report documentId, docType", documentId, docType);
};
const tooltipText =
"Parsing is taking a bit longer than usual. This usually resolves within 10 - 15 minutes. If it does not, click “report” and support will address the issue within 24 hours.";
const disabled = docType ? false : true;

View File

@@ -49,11 +49,14 @@
.features-top-right {
display: flex;
flex-direction: column;
padding: 18px 8px;
justify-content: center;
align-items: center;
margin: auto;
padding: 6px 8px;
width: 55%;
height: 100%;
background-color: var(--haq-blue);
border-radius: 15px;
height: 100%;
}
.features-bottom-left {