Skip to content

Commit 57b6498

Browse files
author
Bob Strahan
committed
Fix UI formatting and ESLint issues in SectionsPanel component
1 parent 5601a0a commit 57b6498

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

src/ui/src/components/sections-panel/SectionsPanel.jsx

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,9 @@ const SectionsPanel = ({ sections, pages, documentItem, mergedConfig, onSaveChan
770770
<li>Reprocess only the changed sections (skipping OCR and classification steps)</li>
771771
</ul>
772772
<Box>
773-
<strong>Are you sure you want to continue?</strong>
773+
{/* eslint-disable-next-line max-len */}
774+
For fine-grained section control, consider using <strong>Pattern-2</strong> or <strong>Pattern-3</strong>{' '}
775+
for future documents.
774776
</Box>
775777
</SpaceBetween>
776778
</Modal>
@@ -791,33 +793,43 @@ const SectionsPanel = ({ sections, pages, documentItem, mergedConfig, onSaveChan
791793
<SpaceBetween size="m">
792794
<Alert type="info" header="Feature Not Available for Pattern-1">
793795
<Box>
794-
The Edit Sections feature is currently available for <strong>Pattern-2</strong> and <strong>Pattern-3</strong> only.
796+
The Edit Sections feature is currently available for <strong>Pattern-2</strong> and{' '}
797+
<strong>Pattern-3</strong> only.
795798
</Box>
796799
</Alert>
797-
800+
798801
<Box>
799802
<strong>Why is this different for Pattern-1?</strong>
800803
</Box>
801-
804+
802805
<Box>
803-
Pattern-1 uses <strong>Bedrock Data Automation (BDA)</strong> which has its own section management approach
804-
that integrates directly with Amazon Bedrock's document processing blueprints.
805-
Section boundaries are automatically determined by the BDA service based on the document structure
806-
and configured blueprints.
806+
Pattern-1 uses <strong>Bedrock Data Automation (BDA)</strong> which has its own section management approach
807+
that integrates directly with Amazon Bedrock&apos;s document processing blueprints. Section boundaries are
808+
automatically determined by the BDA service based on the document structure and configured blueprints.
807809
</Box>
808-
810+
809811
<Box>
810812
<strong>Available alternatives for Pattern-1:</strong>
811813
</Box>
812-
814+
813815
<ul>
814-
<li><strong>View/Edit Data</strong>: Use the "View/Edit Data" buttons to review and modify extracted information within each section</li>
815-
<li><strong>Configuration</strong>: Adjust document classes and extraction rules in the Configuration tab</li>
816-
<li><strong>Reprocess Document</strong>: Use the "Reprocess" button to run the document through the pipeline again with updated configuration</li>
816+
<li>
817+
<strong>View/Edit Data</strong>: Use the &quot;View/Edit Data&quot; buttons to review and modify extracted
818+
information within each section
819+
</li>
820+
<li>
821+
<strong>Configuration</strong>: Adjust document classes and extraction rules in the Configuration tab
822+
</li>
823+
<li>
824+
<strong>Reprocess Document</strong>: Use the &quot;Reprocess&quot; button to run the document through the
825+
pipeline again with updated configuration
826+
</li>
817827
</ul>
818-
828+
819829
<Box>
820-
For fine-grained section control, consider using <strong>Pattern-2</strong> or <strong>Pattern-3</strong> for future documents.
830+
{/* eslint-disable-next-line max-len */}
831+
For fine-grained section control, consider using <strong>Pattern-2</strong> or <strong>Pattern-3</strong>{' '}
832+
for future documents.
821833
</Box>
822834
</SpaceBetween>
823835
</Modal>

0 commit comments

Comments
 (0)