From 3e5c7abfab2454313f68c2a16efc5378f5c27bac Mon Sep 17 00:00:00 2001
From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
Date: Sat, 1 Nov 2025 12:44:24 +0000
Subject: [PATCH] warnings
---
.../tools/pdfJsonEditor/PdfJsonEditorView.tsx | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/frontend/src/proprietary/components/tools/pdfJsonEditor/PdfJsonEditorView.tsx b/frontend/src/proprietary/components/tools/pdfJsonEditor/PdfJsonEditorView.tsx
index aea7decd1..6cac64a0c 100644
--- a/frontend/src/proprietary/components/tools/pdfJsonEditor/PdfJsonEditorView.tsx
+++ b/frontend/src/proprietary/components/tools/pdfJsonEditor/PdfJsonEditorView.tsx
@@ -22,6 +22,7 @@ import FileDownloadIcon from '@mui/icons-material/FileDownloadOutlined';
import PictureAsPdfIcon from '@mui/icons-material/PictureAsPdfOutlined';
import AutorenewIcon from '@mui/icons-material/Autorenew';
import WarningAmberIcon from '@mui/icons-material/WarningAmber';
+import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
import UploadIcon from '@mui/icons-material/Upload';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import ExpandLessIcon from '@mui/icons-material/ExpandLess';
@@ -728,6 +729,37 @@ const PdfJsonEditorView = ({ data }: PdfJsonEditorViewProps) => {
+ }
+ color="yellow"
+ radius="md"
+ variant="light"
+ >
+
+
+ {t('pdfJsonEditor.disclaimer.heading', 'Preview limitations')}
+
+
+ {t(
+ 'pdfJsonEditor.disclaimer.textFocus',
+ 'This workspace focuses on editing text and repositioning embedded images. Complex page artwork, form widgets, and layered graphics are preserved for export but are not fully editable here.'
+ )}
+
+
+ {t(
+ 'pdfJsonEditor.disclaimer.previewVariance',
+ 'Some visuals (such as table borders, shapes, or annotation appearances) may not display exactly in the preview. The exported PDF keeps the original drawing commands whenever possible.'
+ )}
+
+
+ {t(
+ 'pdfJsonEditor.disclaimer.alpha',
+ 'This alpha viewer is still evolving—certain fonts, colours, transparency effects, and layout details may shift slightly. Please double-check the generated PDF before sharing.'
+ )}
+
+
+
+
{errorMessage && (
} color="red" radius="md">
{errorMessage}