NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 26 forks source link

Better display page for data quality runs with a status other than success #2264

Open jeanetteclark opened 6 months ago

jeanetteclark commented 6 months ago

Describe the feature you'd like

Not sure if this is a feature request or a bug report but currently, if a dataset has a status of "processing" in metadig, the quality page says there was an error retrieving the report. I think we should be able to display some information in XML returned by the API which shows the status of the run instead.

Here is the current display:

Screen Shot 2024-02-07 at 2 48 39 PM

The API (example query here) is returning this:

<ns0:run>
<timestamp>2024-02-06T22:57:27.237Z</timestamp>
<objectIdentifier>urn:uuid:7d354557-0618-47a6-9ea6-02fe496f35da</objectIdentifier>
<suiteId>arctic.data.center.suite-1.2.0</suiteId>
<nodeId>urn:node:mnTestARCTIC</nodeId>
<runStatus>processing</runStatus>
<errorDescription/>
<sequenceId>urn:uuid:261e1784-169d-4b13-bc5a-042361e4f02b</sequenceId>
<runCount>1</runCount>
</ns0:run>

So if we could grab the run status and display that, the timestamp, and maybe the error description if there is one, that would give a lot more info to the user.

mbjones commented 6 months ago

+1

robyngit commented 2 months ago

There are actually more appropriate status messages already coded in this view, so it appears to be a bug with when or how they are displaying.