You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge develop into AI-1445; consolidate OCR text views
Reconciles the OCR-results work that diverged: develop's ExtractedTextView
(markdown rendering via react-markdown + sanitize, with a rendered/raw toggle)
and this branch's OcrResults toggle (Extracted / Text / JSON).
- OcrResults keeps the 3-way toggle shell + JSON debug view; its Text view now
delegates to ExtractedTextView so Azure layout markdown renders safely instead
of being dumped as split-by-newline <p> tags.
- OcrResult.content uses develop's OcrContent type; dropped the duplicate inline
content shape introduced here.
- Fixed conditional-hook ordering (useState now runs before the null guard) and
disabled toggles for views with no data.
- DocumentViewerModal renders <OcrResults> guarded by develop's hasOcrData,
preserving purged-document handling.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: apps/backend-services/package.json
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@
6
6
"private": true,
7
7
"license": "Apache-2.0",
8
8
"scripts": {
9
-
"build": "npm run db:generate && npm run build:graph-insertion-slots && npm run build:graph-workflow-config && npm run build:graph-workflow && nest build",
10
-
"build:prod": "NODE_ENV=production npm run db:generate && npm run build:graph-insertion-slots && npm run build:graph-workflow-config && npm run build:graph-workflow && nest build",
9
+
"build": "npm run db:generate && npm run build:graph-insertion-slots && npm run build:graph-workflow && nest build",
10
+
"build:prod": "NODE_ENV=production npm run db:generate && npm run build:graph-insertion-slots && npm run build:graph-workflow && nest build",
11
11
"build:logging": "cd ../../packages/logging && npm run build",
0 commit comments