diff --git a/frontend/src/core/components/tools/pdfTextEditor/PdfTextEditorView.tsx b/frontend/src/core/components/tools/pdfTextEditor/PdfTextEditorView.tsx index dec9bd481..f3c2cd690 100644 --- a/frontend/src/core/components/tools/pdfTextEditor/PdfTextEditorView.tsx +++ b/frontend/src/core/components/tools/pdfTextEditor/PdfTextEditorView.tsx @@ -1532,65 +1532,208 @@ const selectionToolbarPosition = useMemo(() => { title={ - {t('pdfTextEditor.welcomeBanner.title', 'Welcome to PDF Text Editor (Early Access)')} + + {t( + 'pdfTextEditor.welcomeBanner.title', + 'Welcome to PDF Text Editor (Early Access)', + )} + } centered size="lg" + scrollAreaComponent={Box} > - - +
+ {/* Header (fixed) */} +
- {t('pdfTextEditor.welcomeBanner.experimental', 'This is an experimental feature in active development. Expect some instability and issues during use.')} + {t( + 'pdfTextEditor.welcomeBanner.experimental', + 'This is an experimental feature in active development. Expect some instability and issues during use.', + )} - {t('pdfTextEditor.welcomeBanner.howItWorks', 'This tool converts your PDF to an editable format where you can modify text content and reposition images. Changes are saved back as a new PDF.')} + {t( + 'pdfTextEditor.welcomeBanner.howItWorks', + 'This tool converts your PDF to an editable format where you can modify text content and reposition images. Changes are saved back as a new PDF.', + )} +
+ + {/* Body (scrollable) */} +
+
+ + + {t('pdfTextEditor.welcomeBanner.bestFor', 'Works Best With:')} + + +
  • + {t( + 'pdfTextEditor.welcomeBanner.bestFor1', + 'Simple PDFs containing primarily text and images', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.bestFor2', + 'Documents with standard paragraph formatting', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.bestFor3', + 'Letters, essays, reports, and basic documents', + )} +
  • +
    + + + {t('pdfTextEditor.welcomeBanner.notIdealFor', 'Not Ideal For:')} + + +
  • + {t( + 'pdfTextEditor.welcomeBanner.notIdealFor1', + 'PDFs with special formatting like bullet points, tables, or multi-column layouts', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.notIdealFor2', + 'Magazines, brochures, or heavily designed documents', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.notIdealFor3', + 'Instruction manuals with complex layouts', + )} +
  • +
    + + + {t('pdfTextEditor.welcomeBanner.limitations', 'Current Limitations:')} + + +
  • + {t( + 'pdfTextEditor.welcomeBanner.limitation1', + 'Font rendering may differ slightly from the original PDF', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.limitation2', + 'Complex graphics, form fields, and annotations are preserved but not editable', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.limitation3', + 'Large files may take time to convert and process', + )} +
  • +
    + + + {t('pdfTextEditor.welcomeBanner.knownIssues', 'Known Issues (Being Fixed):')} + + +
  • + {t( + 'pdfTextEditor.welcomeBanner.issue1', + 'Text colour is not currently preserved (will be added soon)', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.issue2', + 'Paragraph mode has more alignment and spacing issues - Single Line mode recommended', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.issue3', + 'The preview display differs from the exported PDF - exported PDFs are closer to the original', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.issue4', + 'Rotated text alignment may need manual adjustment', + )} +
  • +
  • + {t( + 'pdfTextEditor.welcomeBanner.issue5', + 'Transparency and layering effects may vary from original', + )} +
  • +
    +
    +
    + + {/* Footer (fixed) */} +
    - - {t('pdfTextEditor.welcomeBanner.bestFor', 'Works Best With:')} + + {t( + 'pdfTextEditor.welcomeBanner.feedback', + 'This is an early access feature. Please report any issues you encounter to help us improve!', + )} - -
  • {t('pdfTextEditor.welcomeBanner.bestFor1', 'Simple PDFs containing primarily text and images')}
  • -
  • {t('pdfTextEditor.welcomeBanner.bestFor2', 'Documents with standard paragraph formatting')}
  • -
  • {t('pdfTextEditor.welcomeBanner.bestFor3', 'Letters, essays, reports, and basic documents')}
  • -
    - - - {t('pdfTextEditor.welcomeBanner.notIdealFor', 'Not Ideal For:')} - - -
  • {t('pdfTextEditor.welcomeBanner.notIdealFor1', 'PDFs with special formatting like bullet points, tables, or multi-column layouts')}
  • -
  • {t('pdfTextEditor.welcomeBanner.notIdealFor2', 'Magazines, brochures, or heavily designed documents')}
  • -
  • {t('pdfTextEditor.welcomeBanner.notIdealFor3', 'Instruction manuals with complex layouts')}
  • -
    - - - {t('pdfTextEditor.welcomeBanner.limitations', 'Current Limitations:')} - - -
  • {t('pdfTextEditor.welcomeBanner.limitation1', 'Font rendering may differ slightly from the original PDF')}
  • -
  • {t('pdfTextEditor.welcomeBanner.limitation2', 'Complex graphics, form fields, and annotations are preserved but not editable')}
  • -
  • {t('pdfTextEditor.welcomeBanner.limitation3', 'Large files may take time to convert and process')}
  • -
    - - - {t('pdfTextEditor.welcomeBanner.knownIssues', 'Known Issues (Being Fixed):')} - - -
  • {t('pdfTextEditor.welcomeBanner.issue1', 'Text colour is not currently preserved (will be added soon)')}
  • -
  • {t('pdfTextEditor.welcomeBanner.issue2', 'Paragraph mode has more alignment and spacing issues - Single Line mode recommended')}
  • -
  • {t('pdfTextEditor.welcomeBanner.issue3', 'The preview display differs from the exported PDF - exported PDFs are closer to the original')}
  • -
  • {t('pdfTextEditor.welcomeBanner.issue4', 'Rotated text alignment may need manual adjustment')}
  • -
  • {t('pdfTextEditor.welcomeBanner.issue5', 'Transparency and layering effects may vary from original')}
  • -
    - - - {t('pdfTextEditor.welcomeBanner.feedback', 'This is an early access feature. Please report any issues you encounter to help us improve!')} - - + @@ -1598,8 +1741,8 @@ const selectionToolbarPosition = useMemo(() => { {t('pdfTextEditor.welcomeBanner.dontShowAgain', "Don't show again")} - - +
    +