Misleading message in Dashboard Viewer, at the uploader views level
Description
The process of uploading a file may take too much time, as previous processing tasks can still be executing (namely the refresh of materialized views). The users, after uploading a file, are expecting that the results become available after a certain period of time. However, in the endpoint "uploader/db_hash/dashboard/", after an upload has started for the database but has not yet finished, in the case of no prior successful uploads, the message "No data available: This database was not yet mapped into the CDM" is presented to the user.
This message should be changed to a more descriptive message, to account for the fact that the file is still being processed.
Expected Behavior
For the cases previously described, where an upload has started but not yet completed, the user should be presented with a message such as "File uploaded is still being processed" or similar, to provide a more accurate context to the user.
Current Behavior
The system shows the message "No data available: This database was not yet mapped into the CDM".
Possible Implementation/Solution
The system could, if there are no prior uploads to the database, verify its associated pending uploads and fetch
the most recent one, checking if it is in a started state. In this case, the system should show a more informative message, such as "File uploaded is still being processed" or similar.
Steps to Reproduce
To reproduce the current message:
- Upload of a new file to a new database (with no upload history)
- While the upload is in the started state, access 'uploader/db_hash/dashboard', a message shows that "No data available: This database was not yet mapped into the CDM"
Misleading message in Dashboard Viewer, at the uploader views level
Description
The process of uploading a file may take too much time, as previous processing tasks can still be executing (namely the refresh of materialized views). The users, after uploading a file, are expecting that the results become available after a certain period of time. However, in the endpoint "uploader/db_hash/dashboard/", after an upload has started for the database but has not yet finished, in the case of no prior successful uploads, the message "No data available: This database was not yet mapped into the CDM" is presented to the user.
This message should be changed to a more descriptive message, to account for the fact that the file is still being processed.
Expected Behavior
For the cases previously described, where an upload has started but not yet completed, the user should be presented with a message such as "File uploaded is still being processed" or similar, to provide a more accurate context to the user.
Current Behavior
The system shows the message "No data available: This database was not yet mapped into the CDM".
Possible Implementation/Solution
The system could, if there are no prior uploads to the database, verify its associated pending uploads and fetch
the most recent one, checking if it is in a started state. In this case, the system should show a more informative message, such as "File uploaded is still being processed" or similar.
Steps to Reproduce
To reproduce the current message: