feature/IO-3499-React-19: Bug Fixes / Checkpoint

This commit is contained in:
Dave
2026-01-13 22:28:43 -05:00
parent 7bdfbfabe9
commit 53d556a621
171 changed files with 1128 additions and 954 deletions

View File

@@ -69,7 +69,7 @@ export function DocumentsUploadImgproxyComponent({
if (shouldStopUpload) {
notification.error({
key: "cannotuploaddocuments",
message: t("documents.labels.upload_limitexceeded_title"),
title: t("documents.labels.upload_limitexceeded_title"),
description: t("documents.labels.upload_limitexceeded")
});
return Upload.LIST_IGNORE;

View File

@@ -27,7 +27,7 @@ export const handleUpload = (ev, context, notification) => {
(error) => {
console.error("Error uploading file to S3", error);
notification.error({
message: i18n.t("documents.errors.insert", {
title: i18n.t("documents.errors.insert", {
message: error.message
})
});
@@ -59,7 +59,7 @@ export const uploadToS3 = async (
if (signedURLResponse.status !== 200) {
if (onError) onError(signedURLResponse.statusText);
notification.error({
message: i18n.t("documents.errors.getpresignurl", {
title: i18n.t("documents.errors.getpresignurl", {
message: signedURLResponse.statusText
})
});
@@ -74,7 +74,7 @@ export const uploadToS3 = async (
if (onProgress) onProgress({ percent: (e.loaded / e.total) * 100 });
},
headers: {
...contentType ? { "Content-Type": fileType } : {}
...(contentType ? { "Content-Type": fileType } : {})
}
};
@@ -120,7 +120,7 @@ export const uploadToS3 = async (
});
notification.success({
key: "docuploadsuccess",
message: i18n.t("documents.successes.insert")
title: i18n.t("documents.successes.insert")
});
if (callback) {
callback();
@@ -128,7 +128,7 @@ export const uploadToS3 = async (
} else {
if (onError) onError(JSON.stringify(documentInsert.errors));
notification.error({
message: i18n.t("documents.errors.insert", {
title: i18n.t("documents.errors.insert", {
message: JSON.stringify(documentInsert.errors)
})
});
@@ -137,7 +137,7 @@ export const uploadToS3 = async (
} catch (error) {
console.log("Error uploading file to S3", error.message, error.stack);
notification.error({
message: i18n.t("documents.errors.insert", {
title: i18n.t("documents.errors.insert", {
message: error.message
})
});