From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 26 Aug 2025 08:30:50 +0000 (-0700) Subject: Basic show processing status in UI X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ffeature-in-process;p=thirdparty%2Fpaperless-ngx.git Basic show processing status in UI [ci skip] --- diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index c926c82d9..7b179086b 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -1,4 +1,9 @@ + @if (document?.in_process) { + +
Processing... +
+ } @if (archiveContentRenderType === ContentRenderType.PDF && !useNativePdfViewer) { @if (previewNumPages) {
@@ -50,7 +55,7 @@
 Actions
- @@ -58,7 +63,7 @@  More like this -
@@ -90,7 +95,6 @@ }
-
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index ab9436f09..1d6f97e21 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -15,8 +15,13 @@ }
-
+
+ @if (document?.in_process) { + +
Processing... +
+ }
@if (document) { diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index b154324c7..09ab48d46 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -37,6 +37,11 @@ }
+ @if (document?.in_process) { + +
Processing... +
+ }

@if (document) { @if (displayFields.includes(DisplayField.CORRESPONDENT) && document.correspondent) { diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html index c58d1ede1..4f380bee6 100644 --- a/src-ui/src/app/components/document-list/document-list.component.html +++ b/src-ui/src/app/components/document-list/document-list.component.html @@ -301,6 +301,11 @@ } @if (activeDisplayFields.includes(DisplayField.TITLE) || activeDisplayFields.includes(DisplayField.TAGS)) { + @if (d.in_process) { + +

Processing... + + } @if (activeDisplayFields.includes(DisplayField.TITLE)) {
{{d.title | documentTitle}} diff --git a/src-ui/src/app/data/document.ts b/src-ui/src/app/data/document.ts index 8aae31945..b7c7a9678 100644 --- a/src-ui/src/app/data/document.ts +++ b/src-ui/src/app/data/document.ts @@ -159,6 +159,8 @@ export interface Document extends ObjectWithPermissions { page_count?: number + in_process?: boolean + // Frontend only __changedFields?: string[] }