Use browser download "display" once the download started
As Jens
I want that when downloading bigger files (many MB) in the Data Explorer as well as in the DLM, the actual content download phase becomes visible in the web browser through the native browser download display (in the browser's file download section) in addition/in parallel to the DE download icon "turning wheel"
So that it doesn't look like that the download feature doesn't work because it's taken too long.
Details
Today, when a lengthy content download already physically starts, this doesn't become (anymore?) visible in the browser and it looks like the feature doesn't work:
It would be great if, once the content download starts, this becomes also visible in the browser using the native browser download display:
A notification message can be shown when the user selected a download with the following message: If there is a popup title:
- EN: "Download launched"
- FR: "Téléchargement lancé"
- DE: "Download veranlasst"
For the message text:
- EN: "Your download will start shortly. In the meantime, you can continue browsing."
- FR: "Votre téléchargement débutera sous peu. En attendant, vous pouvez continuer à naviguer."
- DE: "Das Download wird in Kürze starten. In der Zwischenzeit können Sie weiter surfen."
This message would only be shown for downloads from the NSI, but not for Excel, overview or related files.
Design:
As the design is not binding, please use
- the .Stat DE standard colours
- the "Download" icon (small size) instead of "Ok" icon displayed in the image.
This worked earlier as far as I can remember.
from ABS)
Technical description (CSV downloads via Data Explorer are limited to the browser's maximum supported blob size
As a Data Explorer user I want to download the response from the NSI server irrespective of it size, generated by clicking either of the download CSV options.
Currently it appears CSV downloads from Data Explorer are limited to the maximum blob size supported by the users browser. This has been identified in Data Explorer 12.0.0 but the code for CSV downloads in the latest release appears to be identical. If the CSV file returned from the server exceeds the maximum blob size for the users browser an empty / corrupted CSV is downloaded.
Can the response from the server be served directly to the browser to handle the download, rather than utilising current Data Explorer code to force the download via the file-saver
package (which involves holding the entire API response in memory). The NSI service response already has a Content-Disposition: attachment;
response header