You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
click Download, select one of the two options and wait
After the file is prepared, click Download button, wait for the file to download and in the meantime the download status resets and the user can start again.
However, with large files, after the file is prepared and the user clicks the Download button, it takes a few seconds to start the download and in the meantime the screen refreshes and the user already sees the two initial options (with or without namespaces). This is confusing because it seems that immediately clicking one of the two options again cancels the download.
I guess we need to prevent the screen from being refreshed until after the download starts.
The text was updated successfully, but these errors were encountered:
When use clicks download with whichever option, the status of the file is set to Processing.
Anytime the application opens the "Download popup" it asks about the status of the dictionary, if it's processing, its waiting, if it's ready it presents a download button. If status is none of those, the popup asks you to select with/without namespaces.
@LukeItUp is it possible that the status resets before the download starts? Can we delay it somehow so that the with/without namespaces messages does not show until the download has actually started?
Dictionary's status resets when the file starts being served to the client (user). What you are suggesting is changing status after the downloaded file has been served i.e. the request has been fully processed. Flask sadly does not directly support this.
Things we could do:
delay dictionary status update for X amount of seconds when download request is being processed
send an automatic confirmation request from FE to change the status after the download file response has been received
The current workflow is as follows:
However, with large files, after the file is prepared and the user clicks the Download button, it takes a few seconds to start the download and in the meantime the screen refreshes and the user already sees the two initial options (with or without namespaces). This is confusing because it seems that immediately clicking one of the two options again cancels the download.
I guess we need to prevent the screen from being refreshed until after the download starts.
The text was updated successfully, but these errors were encountered: