Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Accurately inform user of document import progress (even on background jobs) #268

@cometman

Description

@cometman

_Objective_
As a DC user, after uploading a document to DC, I need to be fully informed of any additional processing taking place on my document that could impede my current task.

_History_
With the introduction of decoupling entity extraction from document imports, documents are first imported, and then a background job is started to begin entity extraction. Today, after a document has imported the document appears to be complete, even if the entity extraction job is still running.

_Successful test case_
After a user uploads a document and the initial import completes, if the user attempts to clicked "View Entities" on a document that is still undergoing entity extraction, the user should be informed: "We're still extracting entities from your document. Check back in a little while."

_Technical Change Overview_

  • Update API to include jobs being processed in the response of GET /document/:id
  • Add error message (also localized) to constants
  • When clicking the action "View Entities" ensure all dependent jobs have completed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions